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

error:'NoneType' object has no attribute 'text' #59

Closed
trasurc opened this issue Dec 18, 2023 · 7 comments
Closed

error:'NoneType' object has no attribute 'text' #59

trasurc opened this issue Dec 18, 2023 · 7 comments

Comments

@trasurc
Copy link

trasurc commented Dec 18, 2023

now search key: body="中文" && country="CN" && region!="HK" && region!="MO" && before="2023-12-15"
string indices must be integers
[-] error:'NoneType' object has no attribute 'text'
[-] 第1次尝试获取页面URL
string indices must be integers
[-] error:'NoneType' object has no attribute 'text'
[-] 第2次尝试获取页面URL
string indices must be integers
[-] error:'NoneType' object has no attribute 'text'
[-] 第3次尝试获取页面URL
[-] FOFA资源获取重试超过最大次数,程序退出

body="中文" 中文就会出错
version 2.4.9

@Cl0udG0d
Copy link
Owner

真的会出现这个问题吗

我使用v2.4.9并没有出现这个问题

运行命令为

.\fofa-hack_win_amd64.exe -k "body='中文' && country='CN' && region!='HK' && region!='MO' && before='2023-12-15'"

image

@trasurc
Copy link
Author

trasurc commented Dec 18, 2023

keyword换成这个就不行了
fofa-hack_win_amd64.exe -k "body='亿邮邮件' && country='CN' && region!='HK' && region!='MO'" -e 1000

@Cl0udG0d
Copy link
Owner

已复现 等我检查一下再更新
image

@trasurc
Copy link
Author

trasurc commented Dec 18, 2023

感谢。

@Cl0udG0d
Copy link
Owner

使用最新版本试试 https://github.com/Cl0udG0d/Fofa-hack/releases/tag/v2.4.10

image

@Cl0udG0d
Copy link
Owner

之前报错的原因.....其实是fofa官方使用的url编码和fofa-hack使用的url编码略微有一点不一致导致的问题

@trasurc
Copy link
Author

trasurc commented Dec 19, 2023

2.4.10没问题,辛苦了。

@trasurc trasurc closed this as completed Dec 19, 2023
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

No branches or pull requests

2 participants