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

TypeError: 'ExtractResult' object is not subscriptable #27

Open
lol1qazxsw2 opened this issue Aug 16, 2024 · 1 comment
Open

TypeError: 'ExtractResult' object is not subscriptable #27

lol1qazxsw2 opened this issue Aug 16, 2024 · 1 comment

Comments

@lol1qazxsw2
Copy link

lol1qazxsw2 commented Aug 16, 2024

看样子oneforall是扫完了 后面出了问题 查报错是参数格式不对 没找到对应目录的代码
`rs.georgia.gov', 'www.forms.agr.georgia.gov', 'www.georgiadrivers.georgia.gov', 'betammis.georgia.gov', 'www.smeb.georgia.gov', 'ipas.otfs.georgia.gov', 'ocss.dhr.georgia.gov', 'sihome.gets.georgia.gov', 'www.open.georgia.gov', 'trauma.georgia.gov', 'www.ltgov.georgia.gov']

2024-08-16 16:07:43.150 | INFO | lib.Tools:init:56 - www.georgia.gov - Oneforall - over
Traceback (most recent call last):
File "main.py", line 28, in
AutoScanner()
File "main.py", line 24, in init
controller.assign_task()
File "/root/lib/controller.py", line 51, in assign_task
if tldextract.extract(subdomain)[0]: # 如果子域名部分为空就不扫了,因为肯定有www.形式的
TypeError: 'ExtractResult' object is not subscriptable
`

@lol1qazxsw2
Copy link
Author

看样子oneforall是扫完了 后面出了问题 查报错是参数格式不对 没找到对应目录的代码 `rs.georgia.gov', 'www.forms.agr.georgia.gov', 'www.georgiadrivers.georgia.gov', 'betammis.georgia.gov', 'www.smeb.georgia.gov', 'ipas.otfs.georgia.gov', 'ocss.dhr.georgia.gov', 'sihome.gets.georgia.gov', 'www.open.georgia.gov', 'trauma.georgia.gov', 'www.ltgov.georgia.gov']

2024-08-16 16:07:43.150 | INFO | lib.Tools:init:56 - www.georgia.gov - Oneforall - over Traceback (most recent call last): File "main.py", line 28, in AutoScanner() File "main.py", line 24, in init controller.assign_task() File "/root/lib/controller.py", line 51, in assign_task if tldextract.extract(subdomain)[0]: # 如果子域名部分为空就不扫了,因为肯定有www.形式的 TypeError: 'ExtractResult' object is not subscriptable `

Autoscanner/lib/controller.py line 51
if subdomain[0]:

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

1 participant