libloris.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:ddos-dos-tools 作者: wenfengshi 项目源码 文件源码
def DefaultOptions():
    return {
        'host' : 'localhost',           # Host to attack
        'port' : 80,                    # Port to connect to
        'ssl' : False,                  # Use SSL connections

        'attacklimit' : 500,            # Total number of times to attack (0 for unlimited)
        'connectionlimit' : 500,        # Total number of concurrent connections (0 for unlimited)
        'threadlimit' : 50,             # Total number of threads (0 for unlimited)
        'connectionspeed' : 1,          # Connection speed in bytes/second
        'timebetweenthreads' : 1,       # Time delay between starting threads
        'timebetweenconnections' : 1,   # Time delay between starting connections
        'quitimmediately' : False,      # Close connections immediately after completing request

        'socksversion' : '',            # Enable SOCKS proxy, set to SOCKS4, SOCKS5, or HTTP
        'sockshost' : '',               # SOCKS host
        'socksport' : 0,                # SOCKS port
        'socksuser' : '',               # SOCKS username
        'sockspass' : '',               # SOCKS password

        'request' : '',                 # The main body of the attack
    }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号