Skip to content

Commit

Permalink
BugFix | 更新部分功能,详情见CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
panyi committed Mar 13, 2023
1 parent c3905cd commit 7db9314
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# @Github: https://github.com/Cl0udG0d

# Fofa-hack 版本号
VERSION_NUM="2.0.1"
VERSION_NUM="2.0.2"
# 登录最大重试次数
MAX_LOGIN_RETRY_NUM=3
# 页面URL获取最大重试次数
Expand Down
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG 代码变更记录

### 2.0.2
+ 修复fofa多个查询条件下出现的错误

### 2.0.1
+ 修改filename,timeSleep等为类内部变量
+ 新增logoutInitMsg方法输出初始化信息
Expand Down
5 changes: 2 additions & 3 deletions docs/QUESTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

> python fofa.py --keyword thinkphp && country="CN"
此时只会识别到 thinkphp,多个关键字的时候需要使用单引号包裹
> python fofa.py --keyword 'thinkphp && country="CN"'
此时只会识别到 thinkphp,多个关键字的时候需要使用双引号包裹,内部的关键字用单引号包裹,示例如下
> python fofa.py --keyword "thinkphp && country='CN'"
### opencv-python错误

解决方法
Expand Down
2 changes: 1 addition & 1 deletion fofa.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def init(self):
parser.add_argument('--fuzz', '-f', help='关键字fuzz参数,增加内容获取粒度',action='store_true')
args = parser.parse_args()
self.timeSleep= int(args.timesleep)
self.searchKey= args.keyword
self.searchKey= args.keyword.replace("'",'"')
if args.endcount:
self.endcount=int(args.endcount)
else:
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
certifi==2022.12.7
charset-normalizer==2.0.12
idna==3.4
lxml==4.9.2
requests==2.27.1
urllib3==1.26.13
ddddocr

0 comments on commit 7db9314

Please sign in to comment.