command-line-murders/i-048f4d643e8d0b2aa
by SadServersMore by SadServers
admin@i-0c350ccedb2b7f7bc:~$ nmap -p- --min-rate=1000 -T4 localhost Starting Nmap 7.80 ( https://nmap.org ) at 2023-10-01 15:27 UTC Nmap scan report for localhost (127.0.0.1)Host is up (0.00017s latency). Not shown: 65532 closed ports PORT STATE SERVICE 22/tcp open ssh 6767/tcp open bmc-perf-agent 8080/tcp open http-proxy Nmap done: 1 IP address (1 host up) scanned in 1.22 seconds admin@i-0c350ccedb2b7f7bc:~$
taipei/i-0c350ccedb2b7f7bc 00:13
by SadServersopenat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY|O_CLOEXEC) = -1 EACCES (Pestat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 readlink("/home/admin/webserver.py", 0x7ffcd0b15d90, 4096) = -1 EINVAL (Invalid lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 openat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY) = -1 EACCES (Permission dwrite(2, "python3: can't open file '/home/"..., 82python3: can't open file '/homrrno 13] Permission denied ) = 82 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_r{sa_handler=0x6402c0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1915bdf1exit_group(2) = ? +++ exited with 2 +++ admin@i-0c85c5a418bb83a0e:/etc/systemd/system$ strace python3 /home/admin/webser
paris/i-0c85c5a418bb83a0e 02:08
by SadServersDeleting file /home/admin/data/newdatafile... Creating file /home/admin/data/newdatafile with size 1.5GB... Done. admin@i-092e63e15b97044fc:~$ du -csh * 11M agent 1.4G data 0 datafile 2.2M kihei 1.5G total admin@i-092e63e15b97044fc:~$ du -csh data/* 1.4G data/newdatafile 1.4G total admin@i-092e63e15b97044fc:~$ ls -lh data/newdatafile -rw-r--r-- 1 admin admin 1.4G Dec 12 15:47 data/newdatafile admin@i-092e63e15b97044fc:~$