kihei/i-00f84c75e524759c9
by SadServersMore by SadServers
admin@i-0cb5a56888bc1bbbe:~$ ls -lah total 48K drwxr-xr-x 6 admin admin 4.0K Nov 27 20:43 . drwxr-xr-x 3 root root 4.0K Sep 17 16:44 .. drwx------ 3 admin admin 4.0K Sep 20 15:52 .ansible -rw------- 1 admin admin 818 Nov 27 20:44 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile -rw------- 1 admin admin 78 Nov 27 20:43 .python_history drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0cb5a56888bc1bbbe:~$ python3 -m venv
paris/i-0cb5a56888bc1bbbe 06:29
by SadServers├─rsyslog.service │ └─576 /usr/sbin/rsyslogd -n -iNONE ├─chrony.service │ ├─587 /usr/sbin/chronyd -F 1 │ └─589 /usr/sbin/chronyd -F 1 ├─flaskapp.service │ └─575 /usr/bin/python3 /home/admin/webserver.py ├─ifup@ens5.service │ ├─388 /sbin/dhclient -4 -v -i -pf /run/dhclient.ens5.pid -lf /var │ └─463 /sbin/dhclient -6 -v -pf /run/dhclient6.ens5.pid -lf /var/l ├─dbus.service │ └─572 /usr/bin/dbus-daemon --system --address=systemd: --nofork - ├─system-getty.slice │ └─getty@tty1.service lines 3-38
paris/i-0c96aa015075a6756 03:30
by SadServersif [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-03f906c9d0e560363:~/agentcat /etc/systemd/system/flaskapp.servicepy [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-03f906c9d0e560363:~/agent$ journalctl -u f