MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7yz71k/a_css_keylogger/dul27ld/?context=3
r/programming • u/Senior-Jesticle • Feb 20 '18
276 comments sorted by
View all comments
5
What's the risk here? If you can trick your victim into installing a Chrome extension, why not just program it to read the contents of password fields using JavaScript?
16 u/[deleted] Feb 21 '18 [removed] — view removed comment 2 u/flarn2006 Feb 21 '18 But how would they get the css loaded in a site they don't control otherwise? 2 u/[deleted] Feb 21 '18 [removed] — view removed comment 4 u/flarn2006 Feb 21 '18 But then why bother with CSS? Just use JavaScript. 1 u/[deleted] Feb 22 '18 edited Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
16
[removed] — view removed comment
2 u/flarn2006 Feb 21 '18 But how would they get the css loaded in a site they don't control otherwise? 2 u/[deleted] Feb 21 '18 [removed] — view removed comment 4 u/flarn2006 Feb 21 '18 But then why bother with CSS? Just use JavaScript. 1 u/[deleted] Feb 22 '18 edited Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
2
But how would they get the css loaded in a site they don't control otherwise?
2 u/[deleted] Feb 21 '18 [removed] — view removed comment 4 u/flarn2006 Feb 21 '18 But then why bother with CSS? Just use JavaScript. 1 u/[deleted] Feb 22 '18 edited Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
4 u/flarn2006 Feb 21 '18 But then why bother with CSS? Just use JavaScript. 1 u/[deleted] Feb 22 '18 edited Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
4
But then why bother with CSS? Just use JavaScript.
1 u/[deleted] Feb 22 '18 edited Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
1
1 u/flarn2006 Feb 22 '18 How can a data URI be dangerous? 1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
How can a data URI be dangerous?
1 u/[deleted] Feb 22 '18 [removed] — view removed comment 1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
1 u/flarn2006 Feb 22 '18 What can a data uri do that a regular http url can't?
What can a data uri do that a regular http url can't?
5
u/flarn2006 Feb 21 '18
What's the risk here? If you can trick your victim into installing a Chrome extension, why not just program it to read the contents of password fields using JavaScript?