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: 'NoneType' object is not iterable #28

Open
lol1qazxsw2 opened this issue Aug 17, 2024 · 0 comments
Open

TypeError: 'NoneType' object is not iterable #28

lol1qazxsw2 opened this issue Aug 17, 2024 · 0 comments

Comments

@lol1qazxsw2
Copy link

前面跑的好好的 后面不知道为啥就这样了 好像还是参数类型问题 这是什么原因呢?
`2024-08-17 01:55:31.365 | INFO | lib.Tools:init:56 - http://hts.mmis.georgia.gov:443 - Dirsearch - over
<lib.urlParser.Parse object at 0x7f53d8b63f40>
2024-08-17 01:55:31.588 | INFO | lib.Tools:init:49 - www.oig.georgia.gov - Bugscanner - start scanning
2024-08-17 01:55:32.241 | INFO | lib.Tools:init:56 - www.oig.georgia.gov - Bugscanner - over
2024-08-17 01:55:32.242 | INFO | lib.Tools:init:49 - www.oig.georgia.gov - Nslookup - start scanning
/bin/sh: 1: Cannot fork
/bin/sh: 1: Cannot fork
/bin/sh: 1: Cannot fork
2024-08-17 01:55:32.259 | INFO | lib.Tools:init:56 - www.oig.georgia.gov - Nslookup - over
2024-08-17 01:55:32.260 | INFO | lib.Tools:init:49 - 23.23.200.90 - Masscan - start scanning
/bin/sh: 1: Cannot fork
/bin/sh: 0: Cannot fork

2024-08-17 01:55:32.270 | INFO | lib.Tools:init:56 - 23.23.200.90 - Masscan - over
2024-08-17 01:55:32.271 | INFO | lib.Tools:init:49 - /tmp/tmptzv848yx - Nmap - start scanning
/bin/sh: 1: Cannot fork
/bin/sh: 0: Cannot fork

2024-08-17 01:55:32.280 | INFO | lib.Tools:init:56 - /tmp/tmptzv848yx - Nmap - 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 56, in assign_task
http_urls = self.ports_scan(target)
File "/root/lib/controller.py", line 100, in ports_scan
urls = ['{0}:{1}'.format(target.data['http_url'], port) for port in nmap.data if port]
TypeError: 'NoneType' object is not iterable
`

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