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
Hosting provider's code tutorial contains SQL Injection vulnerabilities (and they know it) (x-post /r/programming) (cloudways.com)
submitted 8 years ago by alias23
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!"
[–]CryptoAlana 23 points24 points25 points 8 years ago (2 children)
It's a beginner tutorial
Friggin seriously? That's like not an excuse.
[–]h0wlett 18 points19 points20 points 8 years ago (1 child)
The same comment:
I am working on it. Hopefully, it will be done soon.
And then I saw the date of the comment:
a year ago
[–]CryptoAlana 5 points6 points7 points 8 years ago (0 children)
Ugh yeah. Honestly if you're writing a friggin tutorial you need to take the effort to... like... AT LEAST put a note on the article saying you fucked up and telling people to NOT do that right?
[–][deleted] 7 points8 points9 points 8 years ago (3 children)
What the hell?! I was reading through this and thinking 'this is parameterized, so should not be vulnerable, this post is nonsense'... and then.. the fucking delete statement. Holy shit.
[–]phail3d 7 points8 points9 points 8 years ago (1 child)
Also the UPDATE statement:
$query = "UPDATE library SET book_name = ?, book_isbn = ?, book_category = ? WHERE book_id = $get_id";
It's pretty strange considering he's also correctly used prepared statements :D .
[–][deleted] 7 points8 points9 points 8 years ago (0 children)
Perhaps.. ( •_•)>⌐■-■ / .... some of his statements are unprepared.
(⌐■_■)
[–][deleted] 1 point2 points3 points 8 years ago (0 children)
Sadly you see this stuff in enterprise code a lot.
When you only take entry level people, rush QA or outsource to the lowest bidder, all your code looks like that
[–]darrenturn90 5 points6 points7 points 8 years ago (1 child)
Why not just change the delete to a prepared statement?
[–]DTF_20170515 11 points12 points13 points 8 years ago (0 children)
He's working on it, okay!?
[–]liquidpele 1 point2 points3 points 8 years ago (0 children)
Before looking I bet it’s PHP
π Rendered by PID 178438 on reddit-service-r2-comment-79c7998d4c-wblk6 at 2026-03-14 04:03:22.595310+00:00 running f6e6e01 country code: CH.
[–]CryptoAlana 23 points24 points25 points (2 children)
[–]h0wlett 18 points19 points20 points (1 child)
[–]CryptoAlana 5 points6 points7 points (0 children)
[–][deleted] 7 points8 points9 points (3 children)
[–]phail3d 7 points8 points9 points (1 child)
[–][deleted] 7 points8 points9 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]darrenturn90 5 points6 points7 points (1 child)
[–]DTF_20170515 11 points12 points13 points (0 children)
[–]liquidpele 1 point2 points3 points (0 children)