command-line-murders/i-010657d49bdec471c
by SadServersMore by SadServers
[sudo] password for admin: 3Sorry, try again. [sudo] password for admin: adminSorry, try again. [sudo] password for admin: admin sudo: 3 incorrect password attempts admin@i-0b7facb522ba65534:~$ admin bash: admin: command not found admin@i-0b7facb522ba65534:~$ docker ps bash: docker: command not found admin@i-0b7facb522ba65534:~$ ls agent webserver.py admin@i-0b7facb522ba65534:~$ ls
paris/i-0b7facb522ba65534 01:47
by SadServers#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-033b6c6ec40e2452e:~$ lsof -i :5000 admin@i-033b6c6ec40e2452e:~$ netstat -ano | findstr :5000 bash: findstr: command not found admin@i-033b6c6ec40e2452e:~$ ls agent webserver.py admin@i-033b6c6ec40e2452e:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-033b6c6ec40e2452e:~$ cat webserver.py
paris/i-033b6c6ec40e2452e 01:56
by SadServersHere, the second and the third argument of open(2) are decoded by breakin traditional or native usage differs from ANSI or POSIX, the latter forms Structure pointers are dereferenced and the members are displayed as ap mand "ls -l /dev/null" is captured as: lstat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), Notice how the 'struct stat' argument is dereferenced and how each member and numeric values. Also notice in this example that the first argument the system call fails, arguments may not always be dereferenced. For exa lstat("/foo/bar", 0xb004) = -1 ENOENT (No such file or directory) Manual page strace(1) line 17 (press h for help or q to quit)