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 | |
| [FREE] CPTS 12 FLAGS | 72 | 2,166 |
21 minutes ago Last Post: coolguyaroundyou |
||
| [FREE] HackTheBox Academy - CAPE Path Study | 43 | 4,215 |
1 hour ago Last Post: codexUltron |
||
| [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags | 24 | 2,741 |
1 hour ago Last Post: codexUltron |
||
| [FREE] HackTheBox Dante - complete writeup written by Tamarisk | 603 | 92,362 |
8 hours ago Last Post: 0xnany |
||
| [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired | 374 | 93,325 |
8 hours ago Last Post: 0xnany |
||