[HTB] Instant S6 User + Root Flag [You can Flex ]
by androidhacker1337 - Monday October 14, 2024 at 03:01 PM
#1
Initial Foothold:
Decompile the .apk file and look through its files, you will find an admin JWT token and 1 subdomain in /res/xml/network_security_config.xml. Go to that subdomain and enter the JWT you just found there and utilize the read logs api to read shirohige id_rsa and get on the box!
Root Priv Esc:
For root priv esc, you'll find hashes in ~/projects/mywallet/Instant-Api/mywallet/instance/instant.db, crack them and you'll get a hit on shirohige password (shirohige:estrella) then looking at /opt you'll find /opt/backups/Solar-PuTTY/sessions-backup.dat you need to decrypt it and retrieve passwords from it using https://github.com/VoidSec/SolarPuttyDecrypt (You'll need a windows machine). Run this command and you'll find root password .\SolarPuttyDecrypt.exe .\sessions-backup.dat estrella
Root password: 12**24nzC!r0c%q12

Hidden Content
You must register or login to view this content.
Reply
#2
This is the best solution Big Grin try it BUMP
Reply
#3
i can't find the xml folder
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 366 113,490 5 hours ago
Last Post: llsdd9
  HTB Eloquia User and Root Flags - Insane Box 69646B 14 17,670 08-21-2026, 07:27 PM
Last Post: tangol
  [Season10] ROOT Pterodactyl pulsebreaker 57 18,966 08-21-2026, 07:14 PM
Last Post: tangol
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 94 26,294 08-21-2026, 06:20 AM
Last Post: jamoski
  [Free] CDSA Path Flag -All RoanokeYehia 36 20,924 08-16-2026, 01:59 AM
Last Post: PreferencesY



 Users browsing this thread: 1 Guest(s)