command-line-murders/i-0fed67499b0b0b835
by SadServersMore by SadServers
Filesystem at /dev/mapper/vg_datos-lv_datos is mounted on /home/admin/data; on-lold_desc_blocks = 1, new_desc_blocks = 1 The filesystem on /dev/mapper/vg_datos-lv_datos is now 522240 (4k) blocks long. root@i-08ab7ca95e2d4128a:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 396K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi tmpfs 46M 0 46M 0% /run/user/0 /dev/mapper/vg_datos-lv_datos 2.0G 3.0M 1.9G 1% /home/admin/data root@i-08ab7ca95e2d4128a:/home/admin#
kihei/i-08ab7ca95e2d4128a 11:32
by SadServers693 pts/1 00:00:00 sh 694 pts/1 00:00:00 bash 800 pts/1 00:00:00 ps admin@i-0b98d3e9a33585961:~$ netstat -an | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ ss -lntu | grep 5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ netstat -tulnp | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0b98d3e9a33585961:~$ netstat -tulnp | grep
paris/i-0b98d3e9a33585961 03:01
by SadServersadmin@i-08be9ae6ca86822e0:~$ curl localhost:5000 Unauthorizedadmin@i-08be9ae6ca86822e0:~$ id uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),),30(dip),44(video),46(plugdev),109(netdev) admin@i-08be9ae6ca86822e0:~$ nc nc nc.openbsd admin@i-08be9ae6ca86822e0:~$ man nc admin@i-08be9ae6ca86822e0:~$ nc localhost 5000