Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/gcc -m64 -O2 -lpthread -pthread -o bin/x86_64 source/main.c source/utils.c \
- source/irc.c source/requests.c source/scan.c source/attacks.c
- source/main.c: In function ‘main’:
- source/main.c:27:5: warning: implicit declaration of function ‘pidprocess’; did you mean ‘sigprocmask’? [-Wimplicit-function-declaration]
- pidprocess();
- ^~~~~~~~~~
- sigprocmask
- source/utils.c: In function ‘host2ip’:
- source/utils.c:226:16: warning: implicit declaration of function ‘inet_addr’; did you mean ‘ifr_addr’? [-Wimplicit-function-declaration]
- i.s_addr = inet_addr((const char *)hostname); // IP주소를 long 타입으로 바꾼다.
- ^~~~~~~~~
- ifr_addr
- source/utils.c: In function ‘pidprocess’:
- source/utils.c:360:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
- fscanf(pidfd, "%d", &pidc);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- source/utils.c: In function ‘decode’:
- source/utils.c:400:34: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations]
- if (str[x] == encodes[c]) {
- ~~~~~~~^~~
- source/utils.c:399:9: note: within this loop
- for (c = 0; c <= sizeof(encodes); c++) {
- ^~~
- source/irc.c: In function ‘connect_to_irc’:
- source/irc.c:112:9: warning: implicit declaration of function ‘decode’; did you mean ‘revoke’? [-Wimplicit-function-declaration]
- decode(enc_passwd, 1); // 뒤 인자가 1 이면 전달하는 암호화된 값이 패스워드 값
- ^~~~~~
- revoke
- source/irc.c: In function ‘irc_requests’:
- source/irc.c:159:13: warning: implicit declaration of function ‘cmd_ping’ [-Wimplicit-function-declaration]
- cmd_ping(sp);
- ^~~~~~~~
- source/irc.c: In function ‘connect_to_irc’:
- source/irc.c:108:26: warning: ‘__builtin___snprintf_chk’ output truncated before the last format character [-Wformat-truncation=]
- snprintf(nt, 3, "->%s" , nctype); // 뭐야이건
- ^
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/irc.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output 4 bytes into a destination of size 3
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/requests.c: In function ‘pub_requests’:
- source/requests.c:67:13: warning: implicit declaration of function ‘getrstr’; did you mean ‘strstr’? [-Wimplicit-function-declaration]
- getrstr();
- ^~~~~~~
- strstr
- source/requests.c:147:25: warning: implicit declaration of function ‘cmd_packeting’; did you mean ‘packeting’? [-Wimplicit-function-declaration]
- cmd_packeting(sp, req);
- ^~~~~~~~~~~~~
- packeting
- source/requests.c: In function ‘cmd_packeting’:
- source/requests.c:637:13: warning: implicit declaration of function ‘synflood’ [-Wimplicit-function-declaration]
- synflood(sp, dsthost, uport, useconds);
- ^~~~~~~~
- source/requests.c:642:13: warning: implicit declaration of function ‘ngsynflood’ [-Wimplicit-function-declaration]
- ngsynflood(sp, dsthost, uport, useconds);
- ^~~~~~~~~~
- source/requests.c:647:13: warning: implicit declaration of function ‘ackflood’ [-Wimplicit-function-declaration]
- ackflood(sp, dsthost, uport, useconds);
- ^~~~~~~~
- source/requests.c:652:13: warning: implicit declaration of function ‘ngackflood’ [-Wimplicit-function-declaration]
- ngackflood(sp, dsthost, uport, useconds);
- ^~~~~~~~~~
- source/requests.c: In function ‘cmd_advscan’:
- source/requests.c:365:95: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 28 and 90 [-Wformat-truncation=]
- mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
- ^~
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/requests.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 46 and 170 bytes into a destination of size 128
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/requests.c: In function ‘cmd_advscan_recursive’:
- source/requests.c:420:99: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 28 and 90 [-Wformat-truncation=]
- mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
- ^~
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/requests.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 46 and 170 bytes into a destination of size 128
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/requests.c: In function ‘cmd_advscan_random’:
- source/requests.c:484:99: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 28 and 90 [-Wformat-truncation=]
- mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
- ^~
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/requests.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 46 and 170 bytes into a destination of size 128
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/requests.c:521:103: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 28 and 90 [-Wformat-truncation=]
- mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
- ^~
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/requests.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 46 and 170 bytes into a destination of size 128
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/requests.c: In function ‘cmd_setchan’:
- source/requests.c:578:46: warning: ‘__builtin_snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
- snprintf(channel, sizeof(channel)-1, "%s", req->rcv_sb);
- ^~~~
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/requests.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin_snprintf’ output between 1 and 32 bytes into a destination of size 31
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- source/scan.c: In function ‘scan_address’:
- source/scan.c:159:10: warning: implicit declaration of function ‘inet_aton’ [-Wimplicit-function-declaration]
- if (!inet_aton((const char *)scan_data->hostname, (struct in_addr *)&scan_isp->sockadr.sin_addr)) {
- ^~~~~~~~~
- source/scan.c: In function ‘cmd_scan_central’:
- source/scan.c:56:51: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=]
- snprintf(hosts[c], sizeof(hosts[c]), "%s.%s.%d.%d", req->rcv_sb, req->rcv_sc, a, b);
- ^~
- source/scan.c:56:50: note: using the range [-2147483648, 2147483647] for directive argument
- snprintf(hosts[c], sizeof(hosts[c]), "%s.%s.%d.%d", req->rcv_sb, req->rcv_sc, a, b);
- ^~~~~~~~~~~~~
- source/scan.c:56:50: note: directive argument in the range [0, 255]
- In file included from /usr/include/stdio.h:862:0,
- from source/../include/headers.h:6,
- from source/scan.c:16:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 6 and 80 bytes into a destination of size 16
- return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- __bos (__s), __fmt, __va_arg_pack ());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Comment
Please, Sign In to add comment