Aug 11, 2024, 12:33 PM
|
[HTB] Sea - Machine
by RedTeamer - Friday August 9, 2024 at 08:04 PM
|
|
Aug 11, 2024, 01:05 PM
anyone please tell me how to get root shell.
Aug 11, 2024, 02:18 PM
port forward to 8080 and intercept
Aug 11, 2024, 02:55 PM
Aug 11, 2024, 03:25 PM
(This post was last modified: Aug 11, 2024, 03:27 PM by mrtyry3132123.)
(Aug 11, 2024, 11:33 AM)bl4ckp4nth3r3 Wrote: i initial thought this method was not work cuz the connection close after couple of secs. turns out it is all that is need to read root.txt though Me too! So, just add user to sudoers file: echo 'amay ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers run it with command injection
Aug 11, 2024, 04:56 PM
(Aug 10, 2024, 10:21 PM)ametah Wrote: i got shell but permission denied to read user.txt at /home/amay/user.txt * $2y$ = indicates the bcrypt algorithm * 10 = is the cost factor, which determines how computationally intensive the hashing process is * The rest of the string is the salt and the hashed password. 3200 | bcrypt $2*$, Blowfish (Unix) hashcat -m 3200 -a 0 hash.txt /usr/share/wordlists/rockyou.txt
Aug 11, 2024, 05:46 PM
(Aug 11, 2024, 04:56 PM)Liy4 Wrote:(Aug 10, 2024, 10:21 PM)ametah Wrote: i got shell but permission denied to read user.txt at /home/amay/user.txt u need to remove back slash before crack ))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.
Aug 11, 2024, 06:04 PM
(Aug 11, 2024, 05:46 PM)GilbertoCosta Wrote:(Aug 11, 2024, 04:56 PM)Liy4 Wrote:(Aug 10, 2024, 10:21 PM)ametah Wrote: i got shell but permission denied to read user.txt at /home/amay/user.txt ohh yes... forgot to tell it mate... sry...
Aug 11, 2024, 06:29 PM
(Aug 11, 2024, 06:04 PM)Liy4 Wrote:(Aug 11, 2024, 05:46 PM)GilbertoCosta Wrote:(Aug 11, 2024, 04:56 PM)Liy4 Wrote:(Aug 10, 2024, 10:21 PM)ametah Wrote: i got shell but permission denied to read user.txt at /home/amay/user.txt thanks bro
Aug 11, 2024, 07:05 PM
(Aug 11, 2024, 06:29 PM)trevor69000 Wrote:(Aug 11, 2024, 06:04 PM)Liy4 Wrote:(Aug 11, 2024, 05:46 PM)GilbertoCosta Wrote:(Aug 11, 2024, 04:56 PM)Liy4 Wrote:(Aug 10, 2024, 10:21 PM)ametah Wrote: i got shell but permission denied to read user.txt at /home/amay/user.txt I've really come a long way... i was able to port forward and log into 127.0.0.1:8080 page, intercept in burp but what has now failed is that my ;nc injection parameters are not working thus not getting a root shell. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Hack the box Pro Labs, VIP, VIP+ 1 month free Method | 23 | 2,170 |
1 hour ago Last Post: kkkato |
||
| [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags | 20 | 2,491 |
Yesterday, 11:06 PM Last Post: op334 |
||
|
|
[FREE] HackTheBox All Cheatsheets | 3 | 396 |
Yesterday, 10:36 PM Last Post: op334 |
|
| [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired | 369 | 92,003 |
Yesterday, 04:10 PM Last Post: sabbyahmed |
||
| CBBH Write Ups | 22 | 6,226 |
Yesterday, 06:39 AM Last Post: Usercomplex |
||

))