Once you have completed these steps, you should be able to run your PHP code and test it for XSS vulnerabilities.
apt install php
wget https://raw.githubusercontent.com/koun9hwan/Simple-XSS-Test/main/index.php
mkdir uploads
touch messages.txt
4. Change the permissions of the "uploads" directory and the "messages.txt" file to 777 to allow read, write, and execute permissions for everyone.
chmod 777 messages.txt
chmod 777 uploads/
![]() |