paris/i-0e456693a82527eea
by SadServersMore by SadServers
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=74, ws_col=126, ws_xpixel=0, ws_ypixel=0}) = 0 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getdents64(3, 0x56467d9f3f60 /* 14 entries */, 32768) = 416 getdents64(3, 0x56467d9f3f60 /* 0 entries */, 32768) = 0 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}) = 0 write(1, "agent data datafile kihei ne"..., 41agent data datafile kihei ) = 41 close(1) = 0 close(2) = 0 exit_group(0) = ? +++ exited with 0 +++ admin@i-013bda2fac98d365e:~$
kihei/i-013bda2fac98d365e 04:13
by SadServersman:sshd_config(5) Process: 581 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS) Main PID: 590 (sshd) Tasks: 1 (limit: 521) Memory: 3.4M CPU: 38ms CGroup: /system.slice/ssh.service └─590 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups Feb 26 15:21:30 i-0543a291e6e295bb0 systemd[1]: Starting OpenBSD Secure Shell seFeb 26 15:21:31 i-0543a291e6e295bb0 sshd[590]: Server listening on 0.0.0.0 port Feb 26 15:21:31 i-0543a291e6e295bb0 sshd[590]: Server listening on :: port 22. Feb 26 15:21:31 i-0543a291e6e295bb0 systemd[1]: Started OpenBSD Secure Shell seradmin@i-0543a291e6e295bb0:~$ lsof -i :22 admin@i-0543a291e6e295bb0:~$ ps aux
paris/i-0543a291e6e295bb0 02:24
by SadServerswrite(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-02d11cb0f8ef4de3f:~$ ln datafile data/newdatafile ln: failed to create hard link 'data/newdatafile' => 'datafile': Operation not padmin@i-02d11cb0f8ef4de3f:~$ sudo ln datafile data/newdatafile admin@i-02d11cb0f8ef4de3f:~$ ls agent data datafile kihei admin@i-02d11cb0f8ef4de3f:~$ cd da
kihei/i-02d11cb0f8ef4de3f 01:20
by SadServersagent webserver.py admin@i-0360c0d51a2cc6a1e:~$ ss -lnt4p State Recv-Q Send-Q Local Address:Port Peer AddreLISTEN 0 128 127.0.0.1:5000 0.0.0LISTEN 0 128 0.0.0.0:22 0.0.0admin@i-0360c0d51a2cc6a1e:~$ curl localhost:5000 Unauthorizedadmin@i-0360c0d51a2cc6a1e:~$ ls agent webserver.py admin@i-0360c0d51a2cc6a1e:~$ string webserver.py bash: string: command not found admin@i-0360c0d51a2cc6a1e:~$ python webserver.py bash: python: command not found admin@i-0360c0d51a2cc6a1e:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0360c0d51a2cc6a1e:~$ c