faiyazahmad07/xss_vibes

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

Opened this issue · 1 comments

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!

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.