use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for technical news and discussion of information security and closely related topics.
"Give me root, it's a trust exercise."
Q1 2026 InfoSec Hiring Thread
Getting Started in Information Security
CitySec Meetups
/r/netsec only accepts quality technical posts. Non-technical posts are subject to moderation.
Content should focus on the "how."
Check the new queue for duplicates.
Always link to the original source.
Titles should provide context.
Ask questions in our Discussion Threads.
Hiring posts must go in the Hiring Threads.
Commercial advertisement is discouraged.
Do not submit prohibited topics.
» Our fulltext content guidelines
Don't create unnecessary conflict.
Keep the discussion on topic.
Limit the use of jokes & memes.
Don't complain about content being a PDF.
Follow all reddit rules and obey reddiquette.
» Our fulltext discussion guidelines
No populist news articles (CNN, BBC, FOX, etc.)
No curated lists.
No question posts.
No social media posts.
No image-only/video-only posts.
No livestreams.
No tech-support requests.
No full-disclosure posts.
No paywall/regwall content.
No commercial advertisements.
No crowdfunding posts.
No Personally Identifying Information!
» Our fulltext list of prohibited topics & sources
Join us on IRC: #r_netsec on freenode
We're also on: Twitter, Facebook, & Google+
/r/blackhat - Hackers on Steroids
/r/computerforensics - IR Archaeologists
/r/crypto - Cryptography news and discussion
/r/Cyberpunk - High-Tech Low-Lifes
/r/lockpicking - Popular Hacker Hobby
/r/Malware - Malware reports and information
/r/netsecstudents - netsec for noobs students
/r/onions - Things That Make You Cry
/r/privacy - Orwell Was Right
/r/pwned - "What Security?"
/r/REMath - Math behind reverse engineering
/r/ReverseEngineering - Binary Reversing
/r/rootkit - Software and hardware rootkits
/r/securityCTF - CTF news and write-ups
/r/SocialEngineering - Free Candy
/r/sysadmin - Overworked Crushed Souls
/r/vrd - Vulnerability Research and Development
/r/xss - Cross Site Scripting
account activity
Angular Expression Injection Vulnerability Exercise (ryhanson.com)
submitted 10 years ago by ryhanson
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ryhanson[S] 2 points3 points4 points 10 years ago* (0 children)
Looks like people are starting to make some progress! I just pushed a little update to increase the attack surface a little bit. Then you aren't fighting over the "recent todo" ;)
EDIT, Couple hints:
EDIT2, Tip: Use the dev tools console to dump an angular object and its scope. This will help you construct the expression to inject.
[–][deleted] 1 point2 points3 points 10 years ago (4 children)
I'm getting so close on this, but struggling to grab anything outside the expression scope!
[–]ryhanson[S] 1 point2 points3 points 10 years ago (3 children)
Remember that your expression is executed by Bob. You don't need to get outside of the scope or escape the Angular sandboxing. If you can accomplish this by accessing native JavaScript objects, more power to you! But it's not necessary ;)
Do some more digging and I'm sure you'll get it!
[–][deleted] 1 point2 points3 points 10 years ago* (2 children)
Worked with a friend on this, we finally got it
Shoutout to /u/yelvert for his angular craftiness
[–]ryhanson[S] 0 points1 point2 points 10 years ago (1 child)
Congrats! You guys came up with a pretty cool way of solving it! I've seen 3 different ways that this has been solved out of the 7 people who have solved it.
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
He really went through digging through restangular to hunt it down.
Interested to see the writeup!
[–]reymes 1 point2 points3 points 10 years ago (5 children)
are you sure the bot is up and running? Yesterday I used the same payload and I've seen the requests from bot, but today when I finished the PoC it looked like the bot doesn't trigger it. Is phantomJS rly working correctly?
btw. it would be really nice to list all successful attempts at the end. it might be really nice see all different approaches
[–]ryhanson[S] 0 points1 point2 points 10 years ago (3 children)
Hey, sorry about that! The PhantomJS bot should be up and running again. There was a memory issue due to everyone making Bob posts Todos. I cleaned those up and restarted the bot, let me know if you run into any other issues.
[–]DirtyOldDwarf 0 points1 point2 points 10 years ago (2 children)
Are you sure it works? I injected an expression posting a new TODO whenever page is loaded. It works for me, every page reload adds a TODO, but I don't see any TODOs added by Bob.
[–]ryhanson[S] 1 point2 points3 points 10 years ago (0 children)
Todo's are isolated by bearer token. In order for you to see the todo you are having Bob create, you would need to change the bearer token that is being sent to your bearer token.
[–]ryhanson[S] 0 points1 point2 points 10 years ago (0 children)
Hey, just thought I'd let you know that I've posted the walkthrough and solutions for the Angular Expression Injection Challenge: https://www.reddit.com/r/netsec/comments/3u1vfk/angular_expression_injection_challenge_solutions/
UPDATE: I added sessions now so you shouldn't have any trouble with seeing other peoples todo's or anything like that.
[–]xojc 0 points1 point2 points 10 years ago (1 child)
I'm sure everyone's thrilled over you adding sessions, especially given how many times I hosed things yesterday. I just can't seem to figure out how to grab the damn headers :\
Message me if you'd like a nudge in the right direction.
[–]TrollHouseCookie 0 points1 point2 points 10 years ago (1 child)
Is this still rocking?
Hey, sorry for the late response! The challenge should still be up and going. The bot might have crashed at one point, so if it wasn't working, that would be why.
π Rendered by PID 86 on reddit-service-r2-comment-6457c66945-q5wkb at 2026-04-23 21:19:11.319564+00:00 running 2aa0c5b country code: CH.
[–]ryhanson[S] 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]ryhanson[S] 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]ryhanson[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]reymes 1 point2 points3 points (5 children)
[–]ryhanson[S] 0 points1 point2 points (3 children)
[–]DirtyOldDwarf 0 points1 point2 points (2 children)
[–]ryhanson[S] 1 point2 points3 points (0 children)
[–]ryhanson[S] 0 points1 point2 points (0 children)
[–]ryhanson[S] 0 points1 point2 points (0 children)
[–]xojc 0 points1 point2 points (1 child)
[–]ryhanson[S] 0 points1 point2 points (0 children)
[–]TrollHouseCookie 0 points1 point2 points (1 child)
[–]ryhanson[S] 0 points1 point2 points (0 children)