Apr 29, 2024, 07:52 AM
|
HTB- Intuition
by trevor69000 - Saturday April 27, 2024 at 06:46 PM
|
|
Apr 29, 2024, 08:00 AM
(Apr 29, 2024, 07:49 AM)MakeFilez Wrote: lopez@intuition:~$ cat exploit.json try like this { "run":{ "action":"install", "role_file":"xxx.tar" }, "auth_code":"UHI75GHINKOP" }
Apr 29, 2024, 08:08 AM
(Apr 29, 2024, 08:00 AM)Th3B4h0z Wrote:(Apr 29, 2024, 07:49 AM)MakeFilez Wrote: lopez@intuition:~$ cat exploit.json I got "Invalid tar archive". Any ideas?
Apr 29, 2024, 08:16 AM
(Apr 29, 2024, 08:08 AM)KillerWhale Wrote:(Apr 29, 2024, 08:00 AM)Th3B4h0z Wrote:(Apr 29, 2024, 07:49 AM)MakeFilez Wrote: lopez@intuition:~$ cat exploit.json tar archive must have meta/main.yml example tar role file https://github.com/coopdevs/sys-admins-r...0.3.tar.gz
Apr 29, 2024, 08:46 AM
(Apr 29, 2024, 08:16 AM)Th3B4h0z Wrote:(Apr 29, 2024, 08:08 AM)KillerWhale Wrote:(Apr 29, 2024, 08:00 AM)Th3B4h0z Wrote:(Apr 29, 2024, 07:49 AM)MakeFilez Wrote: lopez@intuition:~$ cat exploit.json How to overcome this lopez@intuition:/tmp$ /opt/runner2/runner2 test.json
Apr 29, 2024, 09:11 AM
Finally got root. Thanks everyone!!!
Apr 29, 2024, 09:16 AM
(Apr 29, 2024, 08:46 AM)s0jnik Wrote:(Apr 29, 2024, 08:16 AM)Th3B4h0z Wrote:(Apr 29, 2024, 08:08 AM)KillerWhale Wrote:(Apr 29, 2024, 08:00 AM)Th3B4h0z Wrote:(Apr 29, 2024, 07:49 AM)MakeFilez Wrote: lopez@intuition:~$ cat exploit.json I got the lopez creds can you help with the root
Apr 29, 2024, 09:19 AM
(Apr 29, 2024, 09:16 AM)DrBan Wrote:(Apr 29, 2024, 08:46 AM)s0jnik Wrote:(Apr 29, 2024, 08:16 AM)Th3B4h0z Wrote:(Apr 29, 2024, 08:08 AM)KillerWhale Wrote:(Apr 29, 2024, 08:00 AM)Th3B4h0z Wrote: try like this still try to figure out how the runner binary works. I can craft tar's that the binary tries to install and i found the action list and now i try to make the playbook run. Still no idea how to leverage this to escalate to root
with lopez
lopez@intuition:~$ sudo -l [sudo] password for lopez: Matching Defaults entries for lopez on intuition: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin, use_pty User lopez may run the following commands on intuition: (ALL : ALL) /opt/runner2/runner2
Apr 29, 2024, 09:24 AM
I'm in the same spot.
You can run the playbook e.g. like this echo '{"run": { "action": "run", "num": 1 }, "auth_code": "UHI75GHINKOP"}' > cmd && sudo /opt/runner2/runner2 cmd I can install my own roles successfully but I can't manage to run their code as root. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot | 166 | 34,809 |
14 minutes ago Last Post: meomeothantai |
||
| CC,CVV,VBV,NON VBV ,DUMPS ,FULLZ,BANK LOGS (FULL INFO) BEST LINKABLES @RICKBUTLER | 0 | 66 |
4 hours ago Last Post: Ballerwailer4G |
||
| [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags | 110 | 14,306 |
9 hours ago Last Post: Kazahk |
||
|
|
[FREE] HackTheBox All Cheatsheets | 85 | 11,286 |
9 hours ago Last Post: Kazahk |
|
| Finding solutions/flags/writeups for challenges | 0 | 197 |
Yesterday, 04:13 AM Last Post: meomeothantai |
||
