Closed 1derian closed 2 years ago
已经解决了, 报错的原因是 目前的自己解决办法是把init中的if判断去掉
shodan , quake 都有同样的问题
解决方案
感谢提出这个问题,已经在 master 分支 fix,可以从源码安装最新的,预计等剩下几个 issue 解决后再释放新版本。
好的 , 期待pocsuite3越来越好用
------------------ 原始邮件 ------------------ 发件人: "knownsec/pocsuite3" @.>; 发送时间: 2021年12月8日(星期三) 晚上10:55 @.>; @.**@.>; 主题: Re: [knownsec/pocsuite3] 使用fofa语句搜索报错 (Issue #241)
感谢提出这个问题,已经在 master 分支 fix,可以从源码安装最新的,预计等剩下几个 issue 解决后再释放新版本。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
└─# pocsuite -r thinphp_rce.py --dork-fofa 'body="thinkphp"' --search-type web --thread 10
,------. ,--. ,--. ,----. {1.8.7-nongit-20211207} | .--. ',---. ,---.,---.,--.,--
--,-' '-.,---.'.-. | | '--' | .-. | .--( .-'| || ,--'-. .-| .-. : .' < | | --'' '-' \
--.-'' '' | | | | \ --/'-' |
--'---'
-------'
----'--'
--'----
----' http://pocsuite.org [*] starting at 20:08:31[20:08:31] [INFO] loading PoC script 'thinphp_rce.py' Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pocsuite3/cli.py", line 53, in main init() File "/usr/local/lib/python3.9/dist-packages/pocsuite3/lib/core/option.py", line 729, in init _init_targets_plugins() File "/usr/local/lib/python3.9/dist-packages/pocsuite3/lib/core/option.py", line 651, in _init_targets_plugins plugin.init() File "/usr/local/lib/python3.9/dist-packages/pocsuite3/plugins/target_from_fofa.py", line 18, in init self.init_fofa_api() File "/usr/local/lib/python3.9/dist-packages/pocsuite3/plugins/target_from_fofa.py", line 15, in init_fofa_api self.fofa = Fofa(user=conf.fofa_user, token=conf.fofa_token) File "/usr/local/lib/python3.9/dist-packages/pocsuite3/modules/fofa/init.py", line 27, in init self.check_token() File "/usr/local/lib/python3.9/dist-packages/pocsuite3/modules/fofa/init.py", line 41, in check_token if self.token_is_available(): File "/usr/local/lib/python3.9/dist-packages/pocsuite3/modules/fofa/init.py", line 30, in token_is_available if self.token and self.user: AttributeError: 'Fofa' object has no attribute 'token'
[*] shutting down at 20:08: