paris/i-06898348f67e369be
by SadServersMore by SadServers
write(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(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-0282bc52555020bf6:~$
kihei/i-0282bc52555020bf6 00:22
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)
kihei/i-01b77bb37a0d39570 00:21
by SadServersdrwx------ 3 admin admin 4.0K Sep 20 2023 .ansible -rw------- 1 admin admin 471 Apr 5 14:55 .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 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-000557d38915e9a6c:~$ chown chown: missing operand Try 'chown --help' for more information. admin@i-000557d38915e9a6c:~$ chown admin:admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-000557d38915e9a6c:~$ curl localhost:5000