paris/i-05640abf76c220ed1
by SadServersMore by SadServers
Volume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv
kihei/i-0f9027f0b6fdf5892 00:44
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-09ca2bfbe0a48f3ce:~$ ls -la .config/ total 12 drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 . drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 .. drwxr-xr-x 2 admin admin 4096 Sep 20 15:56 asciinema admin@i-09ca2bfbe0a48f3ce:~$ ls -la .config/asciinema/ total 12 drwxr-xr-x 2 admin admin 4096 Sep 20 15:56 . drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .. -rw-r--r-- 1 admin admin 36 Sep 20 15:56 install-id admin@i-09ca2bfbe0a48f3ce:~$ ls -la .config/asciinema/install-id -rw-r--r-- 1 admin admin 36 Sep 20 15:56 .config/asciinema/install-id admin@i-09ca2bfbe0a48f3ce:~$
paris/i-09ca2bfbe0a48f3ce 01:20
by SadServersunix 3 [ ] STREAM CONNECTED 11510 unix 3 [ ] STREAM CONNECTED 10674 /run/systemd/journal/unix 2 [ ] DGRAM 11561 admin@i-0b765541c55edca19:~$ netstat tulnp | grep LISTEN admin@i-0b765541c55edca19:~$ netstat tulpn | grep LISTEN admin@i-0b765541c55edca19:~$ netstat -tulpn | grep LISTEN (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 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN admin@i-0b765541c55edca19:~$ curl 127.0.0.1:5000 Unauthorizedadmin@i-0b765541c55edca19:~$ curl 127.0.0.1:5000
paris/i-0b765541c55edca19 01:57
by SadServersadmin@i-0c86aaede796dd0fb:~$ ды bash: ды: command not found admin@i-0c86aaede796dd0fb:~$ ls agent webserver.py admin@i-0c86aaede796dd0fb:~$ ls -l total 8 drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0c86aaede796dd0fb:~$ curl localhost:5000 Unauthorizedadmin@i-0c86aaede796dd0fb:~$ admin@i-0c86aaede796dd0fb:~$ curl localhost:5000