YIWANG3 / css_based_attack

CSS Based Attack Examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS Based Attack

How to run

cd EvilServer
npm install
npm start
EvilServer will start at localhost:3000

cd Victim
npm install
npm start
Victim Server will start at localhost:80

1. Mouse Track

Open two tabs:

localhost/table    // Victim's website
localhost:3000/table/track.html   // Track Victim's mouse position

Then you can see all you mouse path show on another window.

2. Hover, Click Track

Open two tabs:

localhost/amazon   // Victim's website
localhost:3000/amazon/track.html   // Track the hover, click action of Victim's website

Then you can see hover, click event show on another window.

3. Inject one billion laugh SVG

open

localhost/svg

Then you can see this page is loading forever, until it corrupts.

4. Media Query

open

localhost/mediaQuery

Then you can see all information in EvilServer's log.

5. KeyLogger

open

localhost/keylogger/    // Victim's website
localhost:3000/keylogger/track.html   // See user's input

6. KeyLogger with Font Face

open

localhost/keylogger_font/    // Victim's website
localhost:3000/keylogger_font/track.html   // See user's input

About

CSS Based Attack Examples


Languages

Language:HTML 98.2%Language:CSS 1.3%Language:JavaScript 0.5%