r/programming • • Feb 20 '18

A CSS Keylogger

https://github.com/maxchehab/CSS-Keylogging
2.0k Upvotes

276 comments sorted by

View all comments

Show parent comments

89

u/AyrA_ch Feb 20 '18

Check the network tab in the console when you type the password

108

u/McMasilmof Feb 20 '18

But the site generally has your password anyways(you are typing it in an input field so its kust the value of it). Its the site owners job not to include any shady 3rd party scripts

0

u/Fear_UnOwn Feb 21 '18

Well good practice would be to salt/encrypt/hash the password client side, and compare against the databases password (also salt/encrypt/hashed). So no one ever sees the plaintext password.

11

u/McMasilmof Feb 21 '18

As long as you use https encrypting client side wont add anything to security. As a server you cant trust anything done client side so you need to hash too.

→ More replies (6)