Пример #1
0
def android(inputs: str, rules: str, sniffer: bool, no_resource: bool,
            all: bool, threads: int, output, package: str) -> None:
    try:
        bootstrapper = Bootstrapper(__file__, output, all, no_resource)
        bootstrapper.init()

        BaseTask("Android", inputs, rules, sniffer, threads, package).start()
    except Exception as e:
        raise e
Пример #2
0
def web(inputs: str, rules: str, sniffer: bool, no_resource: bool, all: bool,
        threads: int, output: str) -> None:
    try:
        bootstrapper = Bootstrapper(__file__, output, all, no_resource)
        bootstrapper.init()

        BaseTask("Web", inputs, rules, sniffer, threads).start()
    except Exception as e:
        raise e
Пример #3
0
def android(inputs: str, rules: str, net_sniffer: bool, no_resource: bool,
            package: str, all_str: bool, threads: int) -> None:
    try:
        # 初始化全局对象
        bootstrapper = Bootstrapper(__file__)
        bootstrapper.init()

        BaseTask("Android", inputs, rules, net_sniffer, no_resource, package,
                 all_str, threads).start()
    except Exception as e:
        raise e
Пример #4
0
def web(inputs: str, rules: str, all_str: bool, threads: int,
        net_sniffer) -> None:
    try:
        # 初始化全局对象
        bootstrapper = Bootstrapper(__file__)
        bootstrapper.init()

        BaseTask("Web", inputs, rules, all_str, net_sniffer, threads).start()

    except Exception as e:
        raise e