command-line-murders/i-0ce91fcff25164590
by SadServersMore by SadServers
[-m minttl] [-O length] [-P proxy_username] [-p source_port] [-q seconds] [-s sourceaddr] [-T keyword] [-V rtable] [-W recvlimit] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port] admin@i-0b0edb32d26a5502b:~$ nc localhost 5000 admin@i-0b0edb32d26a5502b:~$ nc localhost 5000 GET / nc: port number invalid: GET admin@i-0b0edb32d26a5502b:~$ nc localhost 5000 admin@i-0b0edb32d26a5502b:~$ GET / bash: GET: command not found admin@i-0b0edb32d26a5502b:~$ GET / curl --user-agent "whatever"
paris/i-0b0edb32d26a5502b 02:31
by SadServersadmin@i-0eb97cd7b88e01b26:~$ ls agent webserver.py admin@i-0eb97cd7b88e01b26:~$ cd we bash: cd: we: No such file or directory admin@i-0eb97cd7b88e01b26:~$ ls agent/ check.sh sadagent sadagent.txt admin@i-0eb97cd7b88e01b26:~$ cd .. admin@i-0eb97cd7b88e01b26:/home$ ls
paris/i-0eb97cd7b88e01b26 00:43
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