Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复FOFA插件无返回结果的BUG #53

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Conversation

lalalashenle
Copy link

BUG说明:
resp中包含"error"键,值为True或False,如果执行if resp["error"] is None:进行判断的话,当error未False,即理应成功返回扫描结果时,判断会为"False",跳过执行这段if,直接终止了结果的返回。
修复方法:
改为if not resp["error"]:,进行error键的真假值判断,若error键的值为False,则if判断为真,执行扫描结果的返回操作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant