예제 #1
0
파일: main.py 프로젝트: batmanWjw/w3af
def main():
    """
    Entry point for the REST API
    :return: Zero if everything went well
    """
    try:
        args = process_cmd_args_config(app)
    except argparse.ArgumentTypeError, ate:
        print('%s' % ate)
        return 1
예제 #2
0
def main():
    """
    Entry point for the REST API
    :return: Zero if everything went well
    """
    try:
        args = process_cmd_args_config(app)
    except argparse.ArgumentTypeError, ate:
        print('%s' % ate)
        return 1
예제 #3
0
파일: main.py 프로젝트: breakthesec/w3af
def main():
    """
    Entry point for the REST API
    :return: Zero if everything went well
    """
    # Check if I have all needed dependencies
    dependency_check()

    try:
        args = process_cmd_args_config(app)
    except argparse.ArgumentTypeError, ate:
        print('%s' % ate)
        return 1
예제 #4
0
def main():
    """
    Entry point for the REST API
    :return: Zero if everything went well
    """
    # Check if I have all needed dependencies
    dependency_check()

    try:
        args = process_cmd_args_config(app)
    except argparse.ArgumentTypeError, ate:
        print('%s' % ate)
        return 1