=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== proot-5.1.0/doc/proot/changelog.txt-740- proot-5.1.0/doc/proot/changelog.txt:741:+ The option ``-w .`` is now really equivalent to ``-w $PWD``. proot-5.1.0/doc/proot/changelog.txt-742- ############################################## proot-5.1.0/doc/proot/rpm-spec-801- proot-5.1.0/doc/proot/rpm-spec:802:+ The option ``-w .`` is now really equivalent to ``-w $PWD``. proot-5.1.0/doc/proot/rpm-spec-803- ############################################## proot-5.1.0/doc/care/manual.txt-53-To ensure that no sensitive file can possibly leak into the archive, proot-5.1.0/doc/care/manual.txt:54:CARE *conceals* recursively the content of ``$HOME`` and ``/tmp``, proot-5.1.0/doc/care/manual.txt-55-that is, they appear empty during the original execution. Although, proot-5.1.0/doc/care/manual.txt:56:for consistency reasons, the content of ``$PWD`` is *revealed* even if proot-5.1.0/doc/care/manual.txt-57-it is nested into the two previous paths. ############################################## proot-5.1.0/doc/care/manual.txt-122- is to *reveal* recursively any required paths that would be nested proot-5.1.0/doc/care/manual.txt:123: into a *concealed* path. Note that ``$PWD`` is *revealed*, unless proot-5.1.0/doc/care/manual.txt-124- the ``-d`` option is specified. ############################################## proot-5.1.0/src/extension/care/final.c-457- else proot-5.1.0/src/extension/care/final.c:458: extractor = talloc_asprintf(care, "`%2$s%1$s` or `care -x %1$s`", proot-5.1.0/src/extension/care/final.c-459- care->output, care->output[0] == '/' ? "" : "./"); ############################################## proot-5.1.0/src/syscall/enter.c-234- proot-5.1.0/src/syscall/enter.c:235:#define SYSARG_ADDR(n) (args_addr + ((n) - 1) * sizeof_word(tracee)) proot-5.1.0/src/syscall/enter.c-236- ############################################## proot-5.1.0/src/syscall/enter.c-297- /* Nothing special to do if no sockaddr was specified. */ proot-5.1.0/src/syscall/enter.c:298: sock_addr = PEEK_WORD(SYSARG_ADDR(2), 0); proot-5.1.0/src/syscall/enter.c-299- if (sock_addr == 0) { ############################################## proot-5.1.0/src/syscall/enter.c-308- * if an error occured. */ proot-5.1.0/src/syscall/enter.c:309: size_addr = PEEK_WORD(SYSARG_ADDR(3), 0); proot-5.1.0/src/syscall/enter.c-310- size = (int) PEEK_WORD(size_addr, special ? -EINVAL : 0); ############################################## proot-5.1.0/src/syscall/enter.c-327- * error occured. */ proot-5.1.0/src/syscall/enter.c:328: sock_addr = PEEK_WORD(SYSARG_ADDR(2), 0); proot-5.1.0/src/syscall/enter.c:329: size = PEEK_WORD(SYSARG_ADDR(3), 0); proot-5.1.0/src/syscall/enter.c-330- ############################################## proot-5.1.0/src/syscall/enter.c-341- * error occured. */ proot-5.1.0/src/syscall/enter.c:342: POKE_WORD(SYSARG_ADDR(2), sock_addr); proot-5.1.0/src/syscall/enter.c:343: POKE_WORD(SYSARG_ADDR(3), sizeof(struct sockaddr_un)); proot-5.1.0/src/syscall/enter.c-344- ############################################## proot-5.1.0/src/syscall/exit.c-144- proot-5.1.0/src/syscall/exit.c:145:#define SYSARG_ADDR(n) (args_addr + ((n) - 1) * sizeof_word(tracee)) proot-5.1.0/src/syscall/exit.c-146- ############################################## proot-5.1.0/src/syscall/exit.c-172- /* Nothing special to do if no sockaddr was specified. */ proot-5.1.0/src/syscall/exit.c:173: sock_addr = PEEK_WORD(SYSARG_ADDR(2)); proot-5.1.0/src/syscall/exit.c-174- if (sock_addr == 0) ############################################## proot-5.1.0/src/syscall/exit.c-188- * occured. */ proot-5.1.0/src/syscall/exit.c:189: POKE_WORD(SYSARG_ADDR(2), peek_reg(tracee, MODIFIED, SYSARG_5)); proot-5.1.0/src/syscall/exit.c:190: POKE_WORD(SYSARG_ADDR(3), peek_reg(tracee, MODIFIED, SYSARG_6)); proot-5.1.0/src/syscall/exit.c-191- ############################################## proot-5.1.0/src/syscall/exit.c-209- * error occured. */ proot-5.1.0/src/syscall/exit.c:210: sock_addr = PEEK_WORD(SYSARG_ADDR(2)); proot-5.1.0/src/syscall/exit.c:211: size_addr = PEEK_WORD(SYSARG_ADDR(3)); proot-5.1.0/src/syscall/exit.c-212- max_size = peek_reg(tracee, MODIFIED, SYSARG_6); ############################################## proot-5.1.0/src/cli/proot.c-41- proot-5.1.0/src/cli/proot.c:42: /* ``chroot $PATH`` is semantically equivalent to ``mount proot-5.1.0/src/cli/proot.c-43- * --bind $PATH /``. */ ############################################## proot-5.1.0/src/execve/ldso.c-127- proot-5.1.0/src/execve/ldso.c:128:#define PASSTHRU(check, name) \ proot-5.1.0/src/execve/ldso.c-129- if (is_env_name(env, name)) { \ ############################################## proot-5.1.0/src/execve/ldso.c-141- proot-5.1.0/src/execve/ldso.c:142: PASSTHRU(has_seen_library_path, "LD_LIBRARY_PATH"); proot-5.1.0/src/execve/ldso.c:143: PASSTHRU(is_known, "LD_PRELOAD"); proot-5.1.0/src/execve/ldso.c:144: PASSTHRU(is_known, "LD_BIND_NOW"); proot-5.1.0/src/execve/ldso.c:145: PASSTHRU(is_known, "LD_TRACE_LOADED_OBJECTS"); proot-5.1.0/src/execve/ldso.c:146: PASSTHRU(is_known, "LD_AOUT_LIBRARY_PATH"); proot-5.1.0/src/execve/ldso.c:147: PASSTHRU(is_known, "LD_AOUT_PRELOAD"); proot-5.1.0/src/execve/ldso.c:148: PASSTHRU(is_known, "LD_AUDIT"); proot-5.1.0/src/execve/ldso.c:149: PASSTHRU(is_known, "LD_BIND_NOT"); proot-5.1.0/src/execve/ldso.c:150: PASSTHRU(is_known, "LD_DEBUG"); proot-5.1.0/src/execve/ldso.c:151: PASSTHRU(is_known, "LD_DEBUG_OUTPUT"); proot-5.1.0/src/execve/ldso.c:152: PASSTHRU(is_known, "LD_DYNAMIC_WEAK"); proot-5.1.0/src/execve/ldso.c:153: PASSTHRU(is_known, "LD_HWCAP_MASK"); proot-5.1.0/src/execve/ldso.c:154: PASSTHRU(is_known, "LD_KEEPDIR"); proot-5.1.0/src/execve/ldso.c:155: PASSTHRU(is_known, "LD_NOWARN"); proot-5.1.0/src/execve/ldso.c:156: PASSTHRU(is_known, "LD_ORIGIN_PATH"); proot-5.1.0/src/execve/ldso.c:157: PASSTHRU(is_known, "LD_POINTER_GUARD"); proot-5.1.0/src/execve/ldso.c:158: PASSTHRU(is_known, "LD_PROFILE"); proot-5.1.0/src/execve/ldso.c:159: PASSTHRU(is_known, "LD_PROFILE_OUTPUT"); proot-5.1.0/src/execve/ldso.c:160: PASSTHRU(is_known, "LD_SHOW_AUXV"); proot-5.1.0/src/execve/ldso.c:161: PASSTHRU(is_known, "LD_USE_LOAD_BIAS"); proot-5.1.0/src/execve/ldso.c:162: PASSTHRU(is_known, "LD_VERBOSE"); proot-5.1.0/src/execve/ldso.c:163: PASSTHRU(is_known, "LD_WARN"); proot-5.1.0/src/execve/ldso.c-164- } ############################################## proot-5.1.0/src/execve/enter.c-422- * iteself. */ proot-5.1.0/src/execve/enter.c:423: status = ldso_env_passthru(tracee, envp, argv, "-E", "-U", i); proot-5.1.0/src/execve/enter.c-424- if (status < 0) ############################################## proot-5.1.0/src/loader/assembly-x86.h-31-#define BRANCH(stack_pointer, destination) do { \ proot-5.1.0/src/loader/assembly-x86.h:32: asm volatile ( \ proot-5.1.0/src/loader/assembly-x86.h-33- "// Restore initial stack pointer. \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-arm.h-30-#define BRANCH(stack_pointer, destination) do { \ proot-5.1.0/src/loader/assembly-arm.h:31: asm volatile ( \ proot-5.1.0/src/loader/assembly-arm.h-32- "// Restore initial stack pointer. \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-arm.h-75- PREPARE_ARGS_##nb_args(args) \ proot-5.1.0/src/loader/assembly-arm.h:76: asm volatile ( \ proot-5.1.0/src/loader/assembly-arm.h-77- "svc #0x00000000 \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-x86_64.h-31-#define BRANCH(stack_pointer, destination) do { \ proot-5.1.0/src/loader/assembly-x86_64.h:32: asm volatile ( \ proot-5.1.0/src/loader/assembly-x86_64.h-33- "// Restore initial stack pointer. \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-x86_64.h-80- PREPARE_ARGS_##nb_args(args) \ proot-5.1.0/src/loader/assembly-x86_64.h:81: asm volatile ( \ proot-5.1.0/src/loader/assembly-x86_64.h-82- "syscall \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-arm64.h-23-#define BRANCH(stack_pointer, destination) do { \ proot-5.1.0/src/loader/assembly-arm64.h:24: asm volatile ( \ proot-5.1.0/src/loader/assembly-arm64.h-25- "// Restore initial stack pointer. \n\t" \ ############################################## proot-5.1.0/src/loader/assembly-arm64.h-76- PREPARE_ARGS_##nb_args(args) \ proot-5.1.0/src/loader/assembly-arm64.h:77: asm volatile ( \ proot-5.1.0/src/loader/assembly-arm64.h-78- "svc #0x00000000 \n\t" \ ############################################## proot-5.1.0/debian/patches/arm64.patch-40-+#define BRANCH(stack_pointer, destination) do { \ proot-5.1.0/debian/patches/arm64.patch:41:+ asm volatile ( \ proot-5.1.0/debian/patches/arm64.patch-42-+ "// Restore initial stack pointer. \n\t" \ ############################################## proot-5.1.0/debian/patches/arm64.patch-93-+ PREPARE_ARGS_##nb_args(args) \ proot-5.1.0/debian/patches/arm64.patch:94:+ asm volatile ( \ proot-5.1.0/debian/patches/arm64.patch-95-+ "svc #0x00000000 \n\t" \ ############################################## proot-5.1.0/.pc/fix-use-of-size/src/execve/enter.c-422- * iteself. */ proot-5.1.0/.pc/fix-use-of-size/src/execve/enter.c:423: status = ldso_env_passthru(tracee, envp, argv, "-E", "-U", i); proot-5.1.0/.pc/fix-use-of-size/src/execve/enter.c-424- if (status < 0) ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-234- proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:235:#define SYSARG_ADDR(n) (args_addr + ((n) - 1) * sizeof_word(tracee)) proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-236- ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-297- /* Nothing special to do if no sockaddr was specified. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:298: sock_addr = PEEK_WORD(SYSARG_ADDR(2), 0); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-299- if (sock_addr == 0) { ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-308- * if an error occured. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:309: size_addr = PEEK_WORD(SYSARG_ADDR(3), 0); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-310- size = (int) PEEK_WORD(size_addr, special ? -EINVAL : 0); ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-327- * error occured. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:328: sock_addr = PEEK_WORD(SYSARG_ADDR(2), 0); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:329: size = PEEK_WORD(SYSARG_ADDR(3), 0); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-330- ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-341- * error occured. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:342: POKE_WORD(SYSARG_ADDR(2), sock_addr); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c:343: POKE_WORD(SYSARG_ADDR(3), sizeof(struct sockaddr_un)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/enter.c-344- ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-144- proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:145:#define SYSARG_ADDR(n) (args_addr + ((n) - 1) * sizeof_word(tracee)) proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-146- ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-172- /* Nothing special to do if no sockaddr was specified. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:173: sock_addr = PEEK_WORD(SYSARG_ADDR(2)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-174- if (sock_addr == 0) ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-188- * occured. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:189: POKE_WORD(SYSARG_ADDR(2), peek_reg(tracee, MODIFIED, SYSARG_5)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:190: POKE_WORD(SYSARG_ADDR(3), peek_reg(tracee, MODIFIED, SYSARG_6)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-191- ############################################## proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-209- * error occured. */ proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:210: sock_addr = PEEK_WORD(SYSARG_ADDR(2)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c:211: size_addr = PEEK_WORD(SYSARG_ADDR(3)); proot-5.1.0/.pc/0001-Properly-filter-the-renameat2-syscall-introduced-in-.patch/src/syscall/exit.c-212- max_size = peek_reg(tracee, MODIFIED, SYSARG_6);