this post was submitted on 26 Mar 2026
329 points (96.9% liked)

Programmer Humor

30630 readers
411 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 712@discuss.tchncs.de 1 points 2 days ago (2 children)

I don’t get it, how does that hack/scam work?

[–] SteveTech@aussie.zone 24 points 2 days ago* (last edited 2 days ago)

Someone would say something like 'you can unlock a secret page on Facebook, just press F12 and paste this in', and the snippet would upload the victim's session token to the scammer's server. So that they can use the account to promote a crypto scam or whatever.

If you paste code into the consol the code writer can do anything you can do on any website in the context of the current website you are on. So for example download files, capture any data, or take over and use your active session remotely.