knownsec / pocsuite3

pocsuite3 is an open-sourced remote vulnerability testing framework developed by the Knownsec 404 Team.
https://pocsuite.org
Other
3.66k stars 783 forks source link

verify中使用 result['ShellInfo']['URL']报错KeyError #303

Closed ghost closed 2 years ago

ghost commented 2 years ago

verify函数中使用以下代码返回webshell地址 result['ShellInfo']['URL'] = f'/{name}.php' 报错如下 KeyError: 'ShellInfo'

请问是无法在verify中使用吗

13ph03nix commented 2 years ago
result = {}
result['ShellInfo'] = {}
result['ShellInfo']['URL'] = f'/{name}.php'
ghost commented 2 years ago

明白了,谢谢