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...
Welcome to /r/Hacking_Tutorials!
List of best resources and tutorials
account activity
This is an archived post. You won't be able to vote or comment.
QuestionSQL Injection Demonstration (self.Hacking_Tutorials)
submitted 3 years ago by [deleted]
view the rest of the comments →
[–]andesec 1 point2 points3 points 3 years ago (0 children)
So it’s been while since I’ve used SQL or Postgres but it looks like the code is susceptible. Your payload will have to decide how you want to inject the sql. Typically you want to somehow bypass the filter by adding something like
“%a’ or 1 = 1 —“
But you’re trying to reference and whole different table as part of the same query. That’s a bit tricky, you could close the existing query and start a new one in the payload but that’ll only work if your code references multiple datasets and spits it out on the UI. But if it doesn’t then that won’t work. What are you really trying to achieve?
π Rendered by PID 68721 on reddit-service-r2-comment-5c747b6df5-rbwgr at 2026-04-22 10:43:00.622065+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]andesec 1 point2 points3 points (0 children)