SadServers Joined on September 10, 2023
1698 public recordings by SadServers
du: cannot access 'proc/939/fdinfo/3': No such file or directory 0 proc 64K root 368K run 0 sbin 4.0K srv 0 sys 40K tmp 755M usr 246M var root@i-09431062e41bb2400:/# cdc /var/ bash: cdc: command not found root@i-09431062e41bb2400:/# cd /usr/ root@i-09431062e41bb2400:/usr# du -sh * |sort -h
kihei/i-09431062e41bb2400 06:27
by SadServers'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page). GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report any translation bugs to <https://translationproject.org/team/> Full documentation <https://www.gnu.org/software/coreutils/df> or available locally via: info '(coreutils) df invocation' admin@i-01931e2a359d62d51:~$ df -l Filesystem 1K-blocks Used Available Use% Mounted on udev 221828 0 221828 0% /dev tmpfs 46636 368 46268 1% /run /dev/nvme0n1p1 8026128 6354608 1242264 84% / tmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-01931e2a359d62d51:~$ df -lh
kihei/i-01931e2a359d62d51 04:22
by SadServersadmin@i-09691d997134773d9:~$ ls -larth total 48K -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout drwxr-xr-x 3 root root 4.0K Sep 17 16:44 .. drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwx------ 3 admin admin 4.0K Sep 20 15:52 .ansible drwxr-xr-x 3 admin admin 4.0K Sep 20 15:56 .config -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rw------- 1 admin admin 684 Feb 22 16:13 .viminfo drwxr-xr-x 6 admin admin 4.0K Feb 22 16:13 . -rw------- 1 admin admin 666 Feb 22 16:14 .bash_history admin@i-09691d997134773d9:~$ sudo cat webserver.py
paris/i-09691d997134773d9 04:14
by SadServersautogroup cwd map_files/ oom_adj schedstat syscall auxv environ maps oom_score sessionid task/ cgroup exe mem oom_score_adj setgroups timens_offsets clear_refs fd/ mountinfo pagemap smaps timers cmdline fdinfo/ mounts patch_state smaps_rollup timerslack_ns comm gid_map mountstats personality stack uid_map coredump_filter io net/ projid_map stat wchan admin@i-0ef8902f3e527111d:~$ cat /proc/569/en
paris/i-0ef8902f3e527111d 01:37
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Thu, 22 Feb 2024 07:21:02 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-050cad83ab4faeb81:~$ curl -v localhost:5000
paris/i-050cad83ab4faeb81 00:17
by SadServersadmin@i-0fa82171f11fb6464:~$ whereis mc mc: /usr/bin/mc admin@i-0fa82171f11fb6464:~$ cd /usr/local/ bin/ etc/ games/ include/ lib/ man/ sbin/ share/ src/ admin@i-0fa82171f11fb6464:~$ cd /usr/local/bin/ admin@i-0fa82171f11fb6464:/usr/local/bin$ ls flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -ah . .. flask admin@i-0fa82171f11fb6464:/usr/local/bin$ ls -lah total 12K drwxr-xr-x 2 root root 4.0K Sep 24 23:20 . drwxr-xr-x 10 root root 4.0K Sep 20 15:53 .. -rwxr-xr-x 1 root root 208 Sep 24 23:20 flask admin@i-0fa82171f11fb6464:/usr/local/bin$ where ping
paris/i-0fa82171f11fb6464 06:10
by SadServers/cpu.CacheLineSizeinternal/cpu.X86internal/cpu.optionsinternal/cpu.maxExtendedFunittaskpath.ErrBadPatterngo.itab.*flag.boolValue,flag.Valuego.itab.*os.File,io.WmError,errorgo.itab.*reflect.rtype,reflect.Typego.itab.*flag.durationValue,flag.64Value,flag.Valuego.itab.*flag.intValue,flag.Valuego.itab.*flag.int64Value,flagngValue,flag.Valuego.itab.*flag.uintValue,flag.Valuego.itab.*flag.uint64Value,fl.Builder,io.Writergo.itab.*errors.errorString,errorgo.itab.*fmt.wrapError,errorggo.itab.*os.File,io.Readergo.itab.syscall.Signal,os.Signalgo.itab.*io/fs.PathErrallError,errorgo.itab.syscall.Errno,errorgo.itab.os.onlyWriter,io.Writergo.itab.nfogo.itab.*io.LimitedReader,io.Readergo.itab.*os.File,io.Closergo.itab.*os/exec*os/exec.Error,errorgo.itab.*bufio.Reader,io.Readergo.itab.os/user.UnknownUserIdrnal/reflectlite.rtype,internal/reflectlite.Typego.itab.time.fileSizeError,errort.SortedMap,sort.Interfacego.itab.runtime.errorString,error_cgo_init_cgo_thread__init_done_cgo_callers_cgo_yield_cgo_mmap_cgo_munmap_cgo_sigactionruntime.mainPCeadlineExceededError,errorgo.itab.internal/poll.errNetClosing,errorruntime.defaudVersion.strruntime.modinfo.strtype.*runtime.textsectionmapadmin@i-062042b0fb20a
kihei/i-062042b0fb20a2893 02:05
by SadServersGET / GET / GET / ^C admin@i-07e2fdd31fb619fad:~$ curl --user-agent "whatever" localhost:5000 Welcome! Password is FDZPmh5Acurl -s http://httpbin.org/user-agentrl -s http://h^[[B^[[B^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agent ls ; ^C admin@i-07e2fdd31fb619fad:~$ curl -s http://httpbin.org/user-agen
paris/i-07e2fdd31fb619fad 02:35
by SadServers-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-056d7eb6f3afcb862:~$ sudo cat webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-056d7eb6f3afcb862:~$ locate webserver.py bash: locate: command not found admin@i-056d7eb6f3afcb862:~$ find / -nwebserver.py
paris/i-056d7eb6f3afcb862 03:33
by SadServersgzip -c file1 file2 > foo.gz If you want to recompress concatenated files to get better compression, d gzip -cd old.gz | gzip > new.gz If a compressed file consists of several members, the uncompressed size a the --list option applies to the last member only. If you need the unco members, you can use: gzip -cd file.gz | wc -c If you wish to create a single archive file with multiple members so that Manual page gzip(1) line 187 (press h for help or q to quit)
kihei/i-0113674bd4f4e4b50 03:41
by SadServersNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk ├─nvme0n1p1 259:1 0 7.9G 0 part / ├─nvme0n1p14 259:2 0 3M 0 part └─nvme0n1p15 259:3 0 124M 0 part /boot/efi nvme2n1 259:4 0 1G 0 disk └─test_vg-lvol0_rimage_1 254:1 0 1020M 0 lvm └─test_vg-lvol0 254:2 0 2G 0 lvm nvme1n1 259:5 0 1G 0 disk └─test_vg-lvol0_rimage_0 254:0 0 1020M 0 lvm └─test_vg-lvol0 254:2 0 2G 0 lvm admin@i-05f20f1fd6dc9dcd5:~$ sudo mkfs.ext4 test_vg-lvol0 mke2fs 1.46.2 (28-Feb-2021) The file test_vg-lvol0 does not exist and no size was specified. admin@i-05f20f1fd6dc9dcd5:~$ sudo mkfs.ext4 test_vg-lvol0
kihei/i-05f20f1fd6dc9dcd5 05:41
by SadServersadmin@i-05d27a7439a0e6399:~$ ls agent data datafile kihei admin@i-05d27a7439a0e6399:~$ file kihei kihei: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, G7tVbey9uC58oKsR, not stripped admin@i-05d27a7439a0e6399:~$ ps aux | grep "kihei" admin 704 0.6 4.1 98188 19192 pts/0 S<l+ 10:38 0:00 /usr/bin/pythi-05d27a7439a0e6399 admin 707 0.0 3.0 24456 14448 pts/0 S<+ 10:38 0:00 /usr/bin/pythi-05d27a7439a0e6399 admin 715 0.0 0.1 5264 704 pts/1 S<+ 10:38 0:00 grep kihei admin@i-05d27a7439a0e6399:~$