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

Getting an error "[Errno 2] No such file or directory: 'payloads.json'" when run from outside of folder. #10

Open
tezarock opened this issue Jan 21, 2024 · 2 comments

Comments

@tezarock
Copy link

Hi,

When the user's current path is inside the /xss_vibes folder, the tool functions properly.

┌──(kali㉿Bhavesh)-[~/Framework/xss_vibes]
└─$ python3 main.py -u http://testphp.vulnweb.com/listproducts.php?cat=

However, when we try to execute command outside of folder then it given an error [Errno 2] No such file or directory: 'payloads.json

┌──(kali㉿Bhavesh)-[~/Framework/xss_vibes]
└─$ cd ..

┌──(kali㉿Bhavesh)-[~/Framework]
└─$ python3 xss_vibes/main.py -u http://testphp.vulnweb.com/listproducts.php?cat=

                 _     _ _______ _______  _    _ _____ ______  _______ _______
                  \___/  |______ |______   \  /    |   |_____] |______ |______
                 _/   \_ ______| ______|    \/   __|__ |_____] |______ ______|
                                 #Harmonizing Web Safety
                                  #Author: Faiyaz Ahmad

[+] TESTING http://testphp.vulnweb.com/listproducts.php?cat=
[+] 1 parameters identified
[+] Testing parameter name: cat
[+] > is reflecting in the response
[+] ' is reflecting in the response
[+] " is reflecting in the response
[+] < is reflecting in the response
[+] / is reflecting in the response
[+] ; is reflecting in the response
[+] FUZZING HAS BEEN COMPLETED
[+] LOADING PAYLOAD FILE payloads.json
[Errno 2] No such file or directory: 'payloads.json'

2024-01-21 18 10 31

Thanks!

@M3hank
Copy link

M3hank commented Feb 14, 2024

Hi,

When the user's current path is inside the /xss_vibes folder, the tool functions properly.

┌──(kali㉿Bhavesh)-[~/Framework/xss_vibes]
└─$ python3 main.py -u http://testphp.vulnweb.com/listproducts.php?cat=

However, when we try to execute command outside of folder then it given an error [Errno 2] No such file or directory: 'payloads.json

┌──(kali㉿Bhavesh)-[~/Framework/xss_vibes]
└─$ cd ..

┌──(kali㉿Bhavesh)-[~/Framework]
└─$ python3 xss_vibes/main.py -u http://testphp.vulnweb.com/listproducts.php?cat=

                 _     _ _______ _______  _    _ _____ ______  _______ _______
                  \___/  |______ |______   \  /    |   |_____] |______ |______
                 _/   \_ ______| ______|    \/   __|__ |_____] |______ ______|
                                 #Harmonizing Web Safety
                                  #Author: Faiyaz Ahmad

[+] TESTING http://testphp.vulnweb.com/listproducts.php?cat=
[+] 1 parameters identified
[+] Testing parameter name: cat
[+] > is reflecting in the response
[+] ' is reflecting in the response
[+] " is reflecting in the response
[+] < is reflecting in the response
[+] / is reflecting in the response
[+] ; is reflecting in the response
[+] FUZZING HAS BEEN COMPLETED
[+] LOADING PAYLOAD FILE payloads.json
[Errno 2] No such file or directory: 'payloads.json'

2024-01-21 18 10 31

Thanks!

Add this line alias xssvibes='python3 /home/User/tools/xss_vibes/main.py' in .bashrc then run from anywhere.

@gauravlinux
Copy link

not working it always got stuck in starting
Screenshot_2024-09-15_12-38-56

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

3 participants