r/hackthebox • u/Commercial_Process35 • 6d ago
DutyBound machine
i was able to do postgresSql injection with adding a ' in the raw payload, but after trying several other payloads so i can leak all the database, it won't work.
NOTE: even sqlmap won't work cause of the 500 internal server error ::
sqlmap -r request --dbms=postgresql --technique=E --batch --dump --> [22:40:24] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 1 times, 400 (Bad Request) - 7 times
[*] ending @ 22:40:24 /2026-11-21/
any hints/help guys?
and thanks :)
12
Upvotes
•
u/AutoModerator 6d ago
Thank you for posting on r/hackthebox! New to Cyber Security and looking for a place to get started? Checkout our getting started guide here. Please note that posting Solutions or Hints for Active content goes against the HTB Terms of Service, more information can be found here. If your having issues and need to reach customer support please do so via the in-platform chat, or by emailing customerops@hackthebox.com. Our Knowledge Base can also come in handy!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Grim_master911 6d ago
have u tried adding the --prefix='<payload>'' --suffix='<postgre comment>' ?