SadServers Joined on September 10, 2023
1667 public recordings by SadServers
admin@i-0592aa918bacc14b6:~/.config$ ls asciinema admin@i-0592aa918bacc14b6:~/.config$ cd asciinema/ admin@i-0592aa918bacc14b6:~/.config/asciinema$ ls install-id admin@i-0592aa918bacc14b6:~/.config/asciinema$ cat install-id 0e2d35c4-a944-417f-bd3a-677c2f875b37admin@i-0592aa918bacc14b6:~/.config/asciinemadmin@i-0592aa918bacc14b6:~$ echo "0e2d35c4-a944-417f-bd3a-677c2f875b37" > ~/mysadmin@i-0592aa918bacc14b6:~$ md5sum mysolution d0c695ba70b1a8ba15a11ec37af90b01 mysolution admin@i-0592aa918bacc14b6:~$ ls agent mysolution webserver.py admin@i-0592aa918bacc14b6:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0592aa918bacc14b6:~$ cat /
paris/i-0592aa918bacc14b6 04:46
by SadServersu=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;336:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: PROMPT_COMMAND=history -a;history -c;history -r; INVOCATION_ID=f9fa28799c9b4a0589d2be76c4f0c627 TERM=xterm-256color USER=admin SHLVL=2 JOURNAL_STREAM=8:11349 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin _=/usr/bin/env admin@i-058021c251bc777a6:~$ 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-058021c251bc777a6:~$ cd a
paris/i-058021c251bc777a6 01:39
by SadServerssystemd-remount-fs.service loade systemd-sysctl.service loade systemd-sysusers.service loade systemd-tmpfiles-setup-dev.service loade systemd-tmpfiles-setup.service loadeadmin@i-038138133fe07c0bf:~$ docker ps -a bash: docker: command not found admin@i-038138133fe07c0bf:~$ nmap localhost:5000 Starting Nmap 7.80 ( https://nmap.org ) at 2023-11-09 08:13 UTC Failed to resolve "localhost:5000". WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.05 seconds admin@i-038138133fe07c0bf:~$ nc localhost 5000
paris/i-038138133fe07c0bf 02:57
by SadServerssystemd-tmpfiles-setup.service loade systemd-udev-trigger.service loade systemd-udevd.service loade systemd-update-utmp.service loade systemd-user-sessions.service loade unattended-upgrades.service loade -.slice loade system-getty.slice loade system-modprobe.slice loade system-serial\x2dgetty.slice loade system-systemd\x2dgrowfs.slice loadeadmin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ admin@i-0f0e461e060a319f7:~$ lso
paris/i-0f0e461e060a319f7 02:58
by SadServersdrwxr-xr-x 2 root root 4.0K Sep 28 2021 media drwxr-xr-x 11 root root 4.0K Sep 28 2021 var drwxr-xr-x 14 root root 4.0K Sep 28 2021 usr drwxr-xr-x 3 root root 4.0K Sep 17 16:44 home drwxr-xr-x 4 root root 4.0K Sep 20 15:59 boot dr-xr-xr-x 13 root root 0 Nov 8 18:30 sys dr-xr-xr-x 135 root root 0 Nov 8 18:30 proc drwxr-xr-x 18 root root 4.0K Nov 8 18:31 .. drwxr-xr-x 18 root root 4.0K Nov 8 18:31 . drwxr-xr-x 75 root root 4.0K Nov 8 18:31 etc drwxr-xr-x 13 root root 2.8K Nov 8 18:31 dev drwx------ 5 root root 4.0K Nov 8 18:31 root drwxrwxrwt 9 root root 4.0K Nov 8 18:31 tmp drwxr-xr-x 22 root root 620 Nov 8 18:31 run admin@i-0e0219fa1f4b6c15a:~$
paris/i-0e0219fa1f4b6c15a 03:31
by SadServers4.0K /home/admin/data 8.0K /home/admin/.config/asciinema 12K /home/admin/.config 8.0K /home/admin/.ssh 5.1G /home/admin 5.1G /home/ admin@i-0d84045134fee46c3:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk nvme2n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0d84045134fee46c3:~$
kihei/i-0d84045134fee46c3 05:39
by SadServers4.0K media 4.0K mnt 4.0K opt du: cannot access 'proc/908/task/908/fd/4': No such file or directory du: cannot access 'proc/908/task/908/fdinfo/4': No such file or directory du: cannot access 'proc/908/fd/3': No such file or directory du: cannot access 'proc/908/fdinfo/3': No such file or directory 0 proc 64K root 384K run 0 sbin 4.0K srv 0 sys 40K tmp
kihei/i-0eb56613b2c63b68e 04:33
by SadServersnvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk root@i-00902e8d05acc4504:/home/admin# pvs root@i-00902e8d05acc4504:/home/admin# lvs root@i-00902e8d05acc4504:/home/admin# mount|grep nvme /dev/nvme0n1p1 on / type ext4 (rw,relatime,discard,errors=remount-ro) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaortname=mixed,utf8,errors=remount-ro) root@i-00902e8d05acc4504:/home/admin# pvcreate nvme1n1 No device found for nvme1n1. root@i-00902e8d05acc4504:/home/admin# pvcreate /dev/nvme1n1
kihei/i-00902e8d05acc4504 09:15
by SadServersMISC: -6: Enable IPv6 scanning -A: Enable OS detection, version detection, script scanning, and traceroute --datadir <dirname>: Specify custom Nmap data file location --send-eth/--send-ip: Send using raw ethernet frames or IP packets --privileged: Assume that the user is fully privileged --unprivileged: Assume the user lacks raw socket privileges -V: Print version number -h: Print this help summary page. EXAMPLES: nmap -v -A scanme.nmap.org nmap -v -sn 192.168.0.0/16 10.0.0.0/8 nmap -v -iR 10000 -Pn -p 80 SEE THE MAN PAGE (https://nmap.org/book/man.html) FOR MORE OPTIONS AND EXAMPLES admin@i-0ae0f2e45a0830612:~$ nmap
paris/i-0ae0f2e45a0830612 00:56
by SadServersadmin@i-016fc9e6460102905:~$ curl localhost 5000 curl: (7) Failed to connect to localhost port 80: Connection refused ^C admin@i-016fc9e6460102905:~$ curl localhost:5000 Unauthorizedadmin@i-016fc9e6460102905:~$ vim /usr/bin/as as asciinema admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ /usr/bin/python3 /usr/bin/asciinema rec -t paris asciinema: recording asciicast to /tmp/tmpf1dsbhc8-ascii.cast asciinema: press <ctrl-d> or type "exit" when you're done admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /tmp/tmpf1dsbhc8-ascii.cast admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /home/admin/.bash_history admin@i-016fc9e6460102905:~$
paris/i-016fc9e6460102905 03:47
by SadServers[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in produ - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /ping --> main.setupRouter.func1 (3 handl[GIN-debug] GET /checkscript/:md5sum --> main.setupRouter.func2 (3 handl[GIN-debug] GET /checkcommand --> main.setupRouter.func3 (3 handl[GIN-debug] GET /gethistory --> main.setupRouter.func4 (3 handl[GIN-debug] GET /getlog --> main.setupRouter.func5 (3 handl[GIN-debug] Listening and serving HTTP on :6767 [GIN-debug] [ERROR] listen tcp :6767: bind: address already in use admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ bash check.sh
paris/i-0a03c1c0d563d7772 04:21
by SadServers--help Show this help -H --halt Halt the machine -P --poweroff Power-off the machine -r --reboot Reboot the machine -h Equivalent to --poweroff, overridden by --halt -k Don't halt/power-off/reboot, just send warnings --no-wall Don't send wall message before halt/power-off/reboot -c Cancel a pending shutdown See the shutdown(8) man page for details. admin@i-01318c13a92295c75:/etc/systemd/system$ sudo shutdown -^C admin@i-01318c13a92295c75:/etc/systemd/system$ cd admin@i-01318c13a92295c75:~$ ls a.py agent admin@i-01318c13a92295c75:~$
paris/i-01318c13a92295c75 01:11
by SadServersapt cloud-init-output.log dpkg.log messages syslog.2.gauth.log cloud-init.log dpkg.log.1 messages.1 unattendedauth.log.1 daemon.log faillog messages.2.gz user.log auth.log.2.gz daemon.log.1 journal minio.log user.log.1btmp daemon.log.2.gz kern.log private user.log.2btmp.1 debug kern.log.1 runit wtmp admin@i-0742bf7ca8414ac5b:/var/log$ cd ^C admin@i-0742bf7ca8414ac5b:/var/log$ cd / admin@i-0742bf7ca8414ac5b:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0742bf7ca8414ac5b:/$ cd admin@i-0742bf7ca8414ac5b:~$ ls agent webserver.py admin@i-0742bf7ca8414ac5b:~$