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

problems with httpx #1328

Open
ngmisl opened this issue Apr 29, 2024 · 5 comments
Open

problems with httpx #1328

ngmisl opened this issue Apr 29, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ngmisl
Copy link

ngmisl commented Apr 29, 2024

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)"
}
@ngmisl ngmisl added the bug Something isn't working label Apr 29, 2024
@TheTechromancer
Copy link
Collaborator

TheTechromancer commented Apr 29, 2024

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

@TheTechromancer TheTechromancer self-assigned this Apr 29, 2024
@TheTechromancer TheTechromancer added this to the BBOT 2.01 milestone Apr 29, 2024
@ngmisl
Copy link
Author

ngmisl commented Apr 30, 2024

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
Copy link
Collaborator

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
Copy link
Author

ngmisl commented May 6, 2024

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants