kihei/i-0701de36aa50bd9f8
by SadServersMore by SadServers
crontab [ -u user ] [ -i ] { -e | -l | -r } (default operation is replace, per 1003.2) -e (edit user's crontab) -l (list user's crontab) -r (delete user's crontab) -i (prompt before deleting user's crontab) admin@i-0707c9522c663d8b0:/etc$ crontab -e -u admin no crontab for admin - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny Choose 1-3 [1]:
paris/i-0707c9522c663d8b0 02:00
by SadServersadmin@i-0649ad53cc05cfe4d:~$ curl localhost:5000 Unauthorizedadmin@i-0649ad53cc05cfe4d:~$ cd /etc/ng bash: cd: /etc/ng: No such file or directory admin@i-0649ad53cc05cfe4d:~$ netstat -tunlp | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0649ad53cc05cfe4d:~$ ss -ntlp | grep 500
paris/i-0649ad53cc05cfe4d 01:11
by SadServersa.py agent admin@i-037f9d9fabf7ddb74:~$ ls -al total 44 drwxr-xr-x 6 admin admin 4096 Oct 20 18:18 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 1434 Oct 20 18:18 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh -rwxrwx--- 1 root root 360 Sep 24 23:20 a.py drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent admin@i-037f9d9fabf7ddb74:~$