kihei/i-0a4d866735d737133
by SadServersMore by SadServers
drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0e45767b31594566c:~$ chmod 777 data chmod: changing permissions of 'data': Operation not permitted admin@i-0e45767b31594566c:~$ sudo chmod 777 data admin@i-0e45767b31594566c:~$ ./kihei -v Deleting file /home/admin/data/newdatafile... panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0e45767b31594566c:~$ rm /home/admin/data/newdatafile rm: remove write-protected regular empty file '/home/admin/data/newdatafile'? n
kihei/i-0e45767b31594566c 09:15
by SadServers567 ? Ssl 0:00 /usr/sbin/rsyslogd -n -iNONE 570 ? Ss 0:00 /lib/systemd/systemd-logind 572 tty1 Ss+ 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux 573 ttyS0 Ss+ 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,3 587 ? S 0:00 /usr/sbin/chronyd -F 1 588 ? Ss 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 star 589 ? S 0:00 /usr/sbin/chronyd -F 1 608 ? Ss 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/una 681 pts/0 S<s+ 0:00 bash -l 685 pts/0 S<l+ 0:00 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i- 688 pts/0 R<+ 0:00 /usr/bin/python3 /usr/bin/asciinema rec -t paris/i- 689 pts/1 S<s 0:00 sh -c /bin/bash 690 pts/1 S< 0:00 /bin/bash 741 pts/1 R<+ 0:00 ps -ax admin@i-06e8ffe7f101ff487:~$
paris/i-06e8ffe7f101ff487 01:36
by SadServers-rw-r--r-- 1 root root 235 Sep 20 15:53 gotty.service -rw-r--r-- 1 root root 196 Sep 20 15:56 mc.service -rw-r--r-- 1 root root 136 Sep 20 15:56 mc.timer drwxr-xr-x 2 root root 4.0K Sep 24 23:20 multi-user.target.wants drwxr-xr-x 2 root root 4.0K Sep 28 2021 network-online.target.wants -rw-r--r-- 1 root root 197 Sep 20 15:53 sadagent.service drwxr-xr-x 2 root root 4.0K Sep 28 2021 sockets.target.wants lrwxrwxrwx 1 root root 31 Sep 28 2021 sshd.service -> /lib/systemd/system/ss-rw-r--r-- 1 root root 195 Sep 20 15:56 syncmc.service drwxr-xr-x 2 root root 4.0K Sep 28 2021 sysinit.target.wants lrwxrwxrwx 1 root root 35 Sep 28 2021 syslog.service -> /lib/systemd/system/drwxr-xr-x 2 root root 4.0K Sep 20 15:56 timers.target.wants admin@i-00ee07a1b1a72b1d8:/etc/systemd/system$ systemctl edit --full mc Failed to create temporary file for "/etc/systemd/system/mc.service": Permissionadmin@i-00ee07a1b1a72b1d8:/etc/systemd/system$ systemctl edit --full mc.serv