command-line-murders/i-0fe567d9e89908bba
by SadServersMore by SadServers
tcp 0 0 127.0.0.1:33060 127.0.0.1:5000 TIME_WAIT tcp 0 0 127.0.0.1:53540 127.0.0.1:5000 TIME_WAIT admin@i-033468d33a03be844:~$ sudo netstat -natup | grep 5000 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-033468d33a03be844:~$ sudo
paris/i-033468d33a03be844 01:03
by SadServers/asn1.oidEncoder,encoding/asn1.encodergo.itab.encoding/asn1.stringEncoder,encodiitab.encoding/asn1.int64Encoder,encoding/asn1.encodergo.itab.encoding/asn1.setEnencodergo.itab.golang.org/x/text/internal/language.sortVariants,sort.Interfacego/text/internal/language.variantsSort,sort.Interfacego.itab.golang.org/x/text/intuage.Tag,golang.org/x/text/internal/language/compact.fullTaggo.itab.*encoding/gogobTypego.itab.*encoding/gob.arrayType,encoding/gob.gobTypego.itab.*encoding/gob.gobTypego.itab.*encoding/gob.CommonType,encoding/gob.gobType__errno_locationgaihabortpthread_cond_broadcastsigactionsetenvpthread_cond_waitmmapnanosleepfputcpttex_unlockmallocmunmapvfprintfunsetenvpthread_attr_destroysigismemberfwritestrerime.buildVersion.strruntime.modinfo.strtype.*runtime.textsectionmap^C admin@i-059172a6cbeaf621a:~/agent$ tail -300f sadagent.txt ^C admin@i-059172a6cbeaf621a:~/agent$ ls check.sh sadagent sadagent.txt admin@i-059172a6cbeaf621a:~/agent$
paris/i-059172a6cbeaf621a 02:48
by SadServersdrwxr-xr-x 6 admin admin 4096 Feb 14 01:24 .. -rwxr-xr-x 1 admin admin 230 Sep 24 23:20 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 15:53 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 15:53 sadagent.txt admin@i-0613915f249b84d87:~/agent$ cat check.sh #!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-0613915f249b84d87:~/agent$ ./
paris/i-0613915f249b84d87 02:18
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:~$