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

Network connection or i dont know #47

Open
dolle123 opened this issue Nov 6, 2023 · 3 comments
Open

Network connection or i dont know #47

dolle123 opened this issue Nov 6, 2023 · 3 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@dolle123
Copy link

dolle123 commented Nov 6, 2023

hello am getting this issues when i run this tool against a target, please can you help ...???

thread 'main' panicked at src/network/request.rs:323:58:
called Result::unwrap() on an Err value: http::Error(InvalidUri(TooLong))
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@Sh1Yo Sh1Yo added the good first issue Good for newcomers label Nov 6, 2023
@Sh1Yo
Copy link
Owner

Sh1Yo commented Nov 6, 2023

i think it says that uri is too long and if you decrease the uri length it should work fine

@dolle123
Copy link
Author

dolle123 commented Nov 6, 2023

am using a wordlist ...
x8 -u "target/login" -X GET -w path/to/wordlist

i used -X POST and it seemed to be working fine.

i would like to suggest this
add this instruction to the installation

after installing using cargo or by cloning the repo,

cp the x8 binary into /usr/local/bin to be to use it directly from anywhere on the terminal

@Sh1Yo
Copy link
Owner

Sh1Yo commented Nov 6, 2023

looks like a good issue then
i think the problem is that you have a wordlist with very long parameters and it causes this error. This shoudn't happen though

I will look into it when i will feel better. For now you can manually specify -m argument like this -m 64 to manually limit the amount of parameters to send per request. You can also try to shuffle your wordlist so that big words will be mixed with smaller ones. Also maybe there's a few very long parameters that can be safely removed from the list

copying the binary to /usr/local/bin looks like a good suggestion as well. Looks like some people have encountered problems with this

@Sh1Yo Sh1Yo added bug Something isn't working enhancement New feature or request labels Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants