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

Unable to connect to the target (Not Solved) #398

Open
Ahmed2456 opened this issue Apr 10, 2024 · 2 comments
Open

Unable to connect to the target (Not Solved) #398

Ahmed2456 opened this issue Apr 10, 2024 · 2 comments

Comments

@Ahmed2456
Copy link

when I try this command:
python3 xsstrike.py -u "http://94.237.58.148:56322/index.php?parameter=test";

I got this error:
[!!] Unable to connect to the target.
[~] Checking for DOM vulnerabilities
[!!] Unable to connect to the target.
Traceback (most recent call last):
File "/home/user/XSStrike/xsstrike.py", line 174, in
scan(target, paramData, encoding, headers, delay, timeout, skipDOM, skip)
File "/home/user/XSStrike/modes/scan.py", line 52, in scan
WAF = wafDetector(
^^^^^^^^^^^^
File "/home/user/XSStrike/core/wafDetector.py", line 25, in wafDetector
if int(code) >= 400:
^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'None'

how to solve this issue?

@darkb0ts
Copy link

check website is working properly using httpie or httpx ,any other tool. It appears to be working well for me

@Ahmed2456
Copy link
Author

@darkb0ts it works on httpie, the link is generated with htb academy
how to make it work?

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

2 participants