Beispiel #1
0
def parse_opts():
    '''Parses the command line'''
    parser = basic_options()
    parser.add_option("-s",
                      "--source-ips",
                      "--attackers",
                      dest="attackers",
                      help="IPs to inject in the 'attack'")
    return parser.parse_args()
def parse_opts():
    '''Parses the command line'''
    parser = basic_options()
    return parser.parse_args()
def parse_opts():
    '''Parses the command line'''
    parser = basic_options()
    parser.add_option("-s", "--source-ips", "--attackers",
                      dest="attackers", help="IPs to inject in the 'attack'")
    return parser.parse_args()