Skip to content

集成调用参数说明

config 配置信息可参考:pocsuite.ini 配置文件参数说明

from pocsuite3.api import init_pocsuite
from pocsuite3.api import start_pocsuite
from pocsuite3.api import get_results


def run_pocsuite():
    config = {
    'url': ['http://127.0.0.1:8080', 'http://127.0.0.1:21'],
    'poc': ['ecshop_rce', 'ftp_burst']
    }

    init_pocsuite(config)
    start_pocsuite()
    result = get_results()

Released under the GPLv2 License.