Guest User

Untitled

a guest
May 5th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.64 KB | None | 0 0
  1. /usr/bin/gcc -m64 -O2 -lpthread -pthread -o bin/x86_64 source/main.c source/utils.c \
  2. source/irc.c source/requests.c source/scan.c source/attacks.c
  3. source/main.c: In function ‘main’:
  4. source/main.c:27:5: warning: implicit declaration of function ‘pidprocess’; did you mean ‘sigprocmask’? [-Wimplicit-function-declaration]
  5. pidprocess();
  6. ^~~~~~~~~~
  7. sigprocmask
  8. source/utils.c: In function ‘host2ip’:
  9. source/utils.c:226:16: warning: implicit declaration of function ‘inet_addr’; did you mean ‘ifr_addr’? [-Wimplicit-function-declaration]
  10. i.s_addr = inet_addr((const char *)hostname); // IP주소를 long 타입으로 바꾼다.
  11. ^~~~~~~~~
  12. ifr_addr
  13. source/utils.c: In function ‘pidprocess’:
  14. source/utils.c:360:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
  15. fscanf(pidfd, "%d", &pidc);
  16. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  17. source/utils.c: In function ‘decode’:
  18. source/utils.c:400:34: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations]
  19. if (str[x] == encodes[c]) {
  20. ~~~~~~~^~~
  21. source/utils.c:399:9: note: within this loop
  22. for (c = 0; c <= sizeof(encodes); c++) {
  23. ^~~
  24. source/irc.c: In function ‘connect_to_irc’:
  25. source/irc.c:112:9: warning: implicit declaration of function ‘decode’; did you mean ‘revoke’? [-Wimplicit-function-declaration]
  26. decode(enc_passwd, 1); // 뒤 인자가 1 이면 전달하는 암호화된 값이 패스워드 값
  27. ^~~~~~
  28. revoke
  29. source/irc.c: In function ‘irc_requests’:
  30. source/irc.c:159:13: warning: implicit declaration of function ‘cmd_ping’ [-Wimplicit-function-declaration]
  31. cmd_ping(sp);
  32. ^~~~~~~~
  33. source/irc.c: In function ‘connect_to_irc’:
  34. source/irc.c:108:26: warning: ‘__builtin___snprintf_chk’ output truncated before the last format character [-Wformat-truncation=]
  35. snprintf(nt, 3, "->%s" , nctype); // 뭐야이건
  36. ^
  37. In file included from /usr/include/stdio.h:862:0,
  38. from source/../include/headers.h:6,
  39. from source/irc.c:16:
  40. /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output 4 bytes into a destination of size 3
  41. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  42. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. __bos (__s), __fmt, __va_arg_pack ());
  44. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. source/requests.c: In function ‘pub_requests’:
  46. source/requests.c:67:13: warning: implicit declaration of function ‘getrstr’; did you mean ‘strstr’? [-Wimplicit-function-declaration]
  47. getrstr();
  48. ^~~~~~~
  49. strstr
  50. source/requests.c:147:25: warning: implicit declaration of function ‘cmd_packeting’; did you mean ‘packeting’? [-Wimplicit-function-declaration]
  51. cmd_packeting(sp, req);
  52. ^~~~~~~~~~~~~
  53. packeting
  54. source/requests.c: In function ‘cmd_packeting’:
  55. source/requests.c:637:13: warning: implicit declaration of function ‘synflood’ [-Wimplicit-function-declaration]
  56. synflood(sp, dsthost, uport, useconds);
  57. ^~~~~~~~
  58. source/requests.c:642:13: warning: implicit declaration of function ‘ngsynflood’ [-Wimplicit-function-declaration]
  59. ngsynflood(sp, dsthost, uport, useconds);
  60. ^~~~~~~~~~
  61. source/requests.c:647:13: warning: implicit declaration of function ‘ackflood’ [-Wimplicit-function-declaration]
  62. ackflood(sp, dsthost, uport, useconds);
  63. ^~~~~~~~
  64. source/requests.c:652:13: warning: implicit declaration of function ‘ngackflood’ [-Wimplicit-function-declaration]
  65. ngackflood(sp, dsthost, uport, useconds);
  66. ^~~~~~~~~~
  67. source/requests.c: In function ‘cmd_advscan’:
  68. 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=]
  69. mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
  70. ^~
  71. In file included from /usr/include/stdio.h:862:0,
  72. from source/../include/headers.h:6,
  73. from source/requests.c:16:
  74. /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
  75. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  76. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  77. __bos (__s), __fmt, __va_arg_pack ());
  78. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  79. source/requests.c: In function ‘cmd_advscan_recursive’:
  80. 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=]
  81. mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
  82. ^~
  83. In file included from /usr/include/stdio.h:862:0,
  84. from source/../include/headers.h:6,
  85. from source/requests.c:16:
  86. /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
  87. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  88. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89. __bos (__s), __fmt, __va_arg_pack ());
  90. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  91. source/requests.c: In function ‘cmd_advscan_random’:
  92. 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=]
  93. mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
  94. ^~
  95. In file included from /usr/include/stdio.h:862:0,
  96. from source/../include/headers.h:6,
  97. from source/requests.c:16:
  98. /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
  99. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  100. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101. __bos (__s), __fmt, __va_arg_pack ());
  102. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  103. 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=]
  104. mp, sizeof(status_temp), "advscan scanning range %s.%s.0.0/16 (user:%s pass:%s)",
  105. ^~
  106. In file included from /usr/include/stdio.h:862:0,
  107. from source/../include/headers.h:6,
  108. from source/requests.c:16:
  109. /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
  110. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  111. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112. __bos (__s), __fmt, __va_arg_pack ());
  113. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114. source/requests.c: In function ‘cmd_setchan’:
  115. source/requests.c:578:46: warning: ‘__builtin_snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  116. snprintf(channel, sizeof(channel)-1, "%s", req->rcv_sb);
  117. ^~~~
  118. In file included from /usr/include/stdio.h:862:0,
  119. from source/../include/headers.h:6,
  120. from source/requests.c:16:
  121. /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
  122. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  123. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  124. __bos (__s), __fmt, __va_arg_pack ());
  125. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126. source/scan.c: In function ‘scan_address’:
  127. source/scan.c:159:10: warning: implicit declaration of function ‘inet_aton’ [-Wimplicit-function-declaration]
  128. if (!inet_aton((const char *)scan_data->hostname, (struct in_addr *)&scan_isp->sockadr.sin_addr)) {
  129. ^~~~~~~~~
  130. source/scan.c: In function ‘cmd_scan_central’:
  131. 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=]
  132. snprintf(hosts[c], sizeof(hosts[c]), "%s.%s.%d.%d", req->rcv_sb, req->rcv_sc, a, b);
  133. ^~
  134. source/scan.c:56:50: note: using the range [-2147483648, 2147483647] for directive argument
  135. snprintf(hosts[c], sizeof(hosts[c]), "%s.%s.%d.%d", req->rcv_sb, req->rcv_sc, a, b);
  136. ^~~~~~~~~~~~~
  137. source/scan.c:56:50: note: directive argument in the range [0, 255]
  138. In file included from /usr/include/stdio.h:862:0,
  139. from source/../include/headers.h:6,
  140. from source/scan.c:16:
  141. /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
  142. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  143. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  144. __bos (__s), __fmt, __va_arg_pack ());
  145. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Comment
Please, Sign In to add comment