paris/i-0101d6397af63d4da
by SadServersMore by SadServers
# The program is typically sudo, sudoers.so, sudoreplay or visudo. # # Subsystems vary based on the program; "all" matches all subsystems. # Priority may be crit, err, warn, notice, diag, info, trace or debug. # Multiple subsystem@priority may be specified, separated by a comma. # #Debug sudo /var/log/sudo_debug all@debug #Debug sudoers.so /var/log/sudoers_debug all@debug admin@i-020f08eb573cc1e85:~$ ls agent webserver.py admin@i-020f08eb573cc1e85:~$ cat /etc/sudo sudo.conf sudo_logsrvd.conf sudoers sudoers.d/ admin@i-020f08eb573cc1e85:~$ cat /etc/sudoers cat: /etc/sudoers: Permission denied admin@i-020f08eb573cc1e85:~$
paris/i-020f08eb573cc1e85 06:02
by SadServersMain PID: 579 (python3) Tasks: 1 (limit: 521) Memory: 21.9M CPU: 329ms CGroup: /system.slice/flaskapp.service └─579 /usr/bin/python3 /home/admin/webserver.py Nov 29 16:17:05 i-0658b8fdee95eb0b6 systemd[1]: Started Flask Application. Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Serving Flask app 'webserveNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Debug mode: off Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: WARNING: This is a developmentNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Running on http://127.0.0.1Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: Press CTRL+C to quit Nov 29 16:17:35 i-0658b8fdee95eb0b6 python3[579]: 127.0.0.1 - - [29/Nov/2023 16:admin@i-0658b8fdee95eb0b6:~$ > /home/admin/.bash_history
paris/i-0658b8fdee95eb0b6 00:51
by SadServerswrite(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-04e9a940bea99a35d:~$ ls /home/admin/data/newdatafile ls: cannot access '/home/admin/data/newdatafile': No such file or directory admin@i-04e9a940bea99a35d:~$ cd /home/admin/data/ admin@i-04e9a940bea99a35d:~/data$ ls admin@i-04e9a940bea99a35d:~/data$ vi newdatafile admin@i-04e9a940bea99a35d:~/data$ chattr -i newdatafile admin@i-04e9a940bea99a35d:~/data$