blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.1k stars 375 forks source link

problems with httpx #1328

Open ngmisl opened 2 months ago

ngmisl commented 2 months ago

Describe the bug scan crashed

Expected behavior scan works

BBOT Command bbot -t evilcorp.com -f subdomain-enum web-basic

OS, BBOT Installation Method + Version Linux, latest stable bbox

    "msg": "Failure downloading https://github.com/projectdiscovery/httpx/releases/download/v1.2.5/httpx_1.2.5_linux_amd64.zip, An unknown error occurred: ~/.netrc access too permissive: access permissions must restrict access to only the owner (None, line None)"
}
TheTechromancer commented 2 months ago

Thanks for reporting. Out of curiosity have you created a .netrc file? I think the error message is suggesting you need to do this to it:

chmod 700 ~/.netrc
ngmisl commented 2 months ago

Thanks for reporting. Out of curiosity have you created a .netrc file? I think the error message is suggesting you need to do this to it:

chmod 700 ~/.netrc

Hm no, but i also don't understand why this is necessary

TheTechromancer commented 2 months ago

Having a .netrc file is uncommon and not necessary to use httpx or BBOT. If you haven't created the file, it would seem this is a bug in the httpx library.

Just to be sure, can you post the output of this command?

ls -l ~/.netrc
ngmisl commented 2 months ago

Having a .netrc file is uncommon and not necessary to use httpx or BBOT. If you haven't created the file, it would seem this is a bug in the httpx library.

Just to be sure, can you post the output of this command?

ls -l ~/.netrc

-rw-rw-r-- 1 /home/user/.netrc

TheTechromancer commented 2 months ago

Okay it looks like you do have that file. So to fix the issue all you need to do is delete it or move it somewhere else:

mv ~/.netrc ~/.netrc.bak