Closed bit4woo closed 8 years ago
Thanks @bit4woo, A single comprehensive wiki page is needed. Please try the following demo:
#!/usr/bin/python
# coding:utf-8
from pocsuite.api.cannon import Cannon
info = {"pocname": "dlink_command_php_exec_noauth",
"pocstring": open("./modules/dlink_command_php_exec_noauth.py").read(),
"mode": "verify"}
target = "www.justfordemo.com"
invoker = Cannon(target, info)
result = invoker.run()
print result
@bit4woo Is it OK for you ?
Thanks @bit4woo. The issue is closed.
It works! Thanks! @nixawk
我使用了以下代码调用 cannon API :
遇到的错误如下: