4 ms·
I ended up crossposting it to the few security rooms I'm in for quick laughs But for what it's worth, this also serves as a great initial CTF-type introduction
by eganist 5y ago
I ended up crossposting it to the few security rooms I'm in for quick laughs
But for what it's worth, this also serves as a great initial CTF-type introduction to how debuggers work in web browsers.
- jerf 5y agoIf the debugger is open, Passwordle automatically breaks the execution right where the answer is determined. Now that's service.
- umvi 5y agoTIL there's a "debugger" keyword[0] in JavaScript that auto-sets a breakpoint at that line. [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- therein 5y agoint 3 of Javascript. I use it all the time because webpacked assets make it hard to find the line of code I am looking for.
- geraldwhen 5y agoIf you build source maps this isn’t a problem.
- Normal_gaussian 5y agoAnd if you're using nodejs woth source maps, but still getting horrid stacks: "--enable-source-maps" > NODE_OPTIONS="$NODE_OPTIONS --enable-source-maps"
- deleted 5y ago[deleted]
- hycaria 5y agothat is so funny, I learned that today too on a completely different page!!!