MCPcopy Create free account

hub / github.com/androguard/goauld / functions

Functions65 in github.com/androguard/goauld

↓ 7 callersMethodwrite
(&mut self, addr: usize, buf: &Vec<u8>)
src/proc/mem.rs:38
↓ 5 callersMethodread
(&mut self, addr: usize, len: usize)
src/proc/mem.rs:25
↓ 4 callersFunctionexecute_command
(program: &str, args: &Vec<&str>)
src/utils/mod.rs:242
↓ 3 callersMethodprivileged
Is it a root process ?
src/proc/mod.rs:110
↓ 3 callersMethodset_func_sym
( &mut self, module_name: &str, sym_name: &str, )
src/lib.rs:112
↓ 2 callersMethodadd_sym
(&mut self, module_name: &str, sym_name: &str)
src/lib.rs:88
↓ 2 callersFunctioncopy_file_to_tmp
(file_path: &str)
src/utils/mod.rs:141
↓ 2 callersFunctionget_pid_by_package_with_polling
(pkg_name: &str)
src/utils/mod.rs:286
↓ 2 callersFunctionhex
(line: usize, parts: &[u8], writer: &mut Vec<u8>)
src/utils/mod.rs:50
↓ 2 callersMethodmaps_by_name
(&self, name: &str)
src/proc/maps.rs:24
↓ 2 callersFunctionrestart_app_and_get_pid
(pkg_name: &str)
src/utils/mod.rs:301
↓ 2 callersMethodset_default_syms
(&mut self)
src/lib.rs:136
↓ 2 callersMethodset_var_sym
( &mut self, module_name: &str, sym_name: &str, )
src/lib.rs:124
↓ 2 callersFunctionverify_elf_file
(file_path: &str)
src/utils/mod.rs:113
↓ 1 callersFunctionandroid
()
build.rs:9
↓ 1 callersMethodclass
Return the class type of the executable to inject
src/proc/mod.rs:90
↓ 1 callersMethoddlsym_from_fs
(&self, symbol_name: &str)
src/utils/resolv.rs:19
↓ 1 callersMethodexe
Reads `/proc/<id>/exe` of the current [`Proc`].
src/proc/mod.rs:65
↓ 1 callersFunctionfirst_shellcode
(class: &ProcClass, var_addr: usize, alloc_len: usize)
src/payloads/mod.rs:12
↓ 1 callersFunctionfix_file_context
(file_path: &str)
src/utils/mod.rs:188
↓ 1 callersFunctionfix_file_permissions
(file_path: &str)
src/utils/mod.rs:215
↓ 1 callersFunctionget_dlopen_lib_name
()
src/utils/mod.rs:21
↓ 1 callersFunctionget_pid_by_package
(pkg_name: &str)
src/utils/mod.rs:265
↓ 1 callersFunctionhexdump
(buffer: &[u8], writer: &mut Vec<u8>)
src/utils/mod.rs:77
↓ 1 callersFunctionhexdumpm
(buffer: &[u8], max_lines_opt: Option<usize>, writer: &mut Vec<u8>)
src/utils/mod.rs:30
↓ 1 callersMethodinject
(&mut self)
src/lib.rs:156
↓ 1 callersMethodmaps
Reads `/proc/<id>/maps` of the current [`Proc`].
src/proc/mod.rs:70
↓ 1 callersMethodmaps
(&self)
src/proc/maps.rs:20
↓ 1 callersMethodmem
Reads `/proc/<id>/mem` of the current [`Proc`].
src/proc/mod.rs:75
↓ 1 callersMethodmodule
(&mut self, module_name: &str)
src/proc/maps.rs:65
↓ 1 callersMethodmodule_bytes
(&mut self, module_name: &str)
src/proc/maps.rs:52
↓ 1 callersMethodowner
Gets the owner of the current [`Proc`].
src/proc/mod.rs:59
↓ 1 callersMethodprepare_file
(&self)
src/lib.rs:70
↓ 1 callersFunctionprint_file_hexdump
(file_path: &str)
src/utils/mod.rs:83
↓ 1 callersFunctionraw_dlopen_shellcode
(class: &ProcClass, dlopen_addr: usize, dlopen_path: String, jmp_addr: usize)
src/payloads/mod.rs:27
↓ 1 callersFunctionself_jmp
()
src/payloads/mod.rs:42
↓ 1 callersMethodset_file_path
(&mut self, file_path: String)
src/lib.rs:58
↓ 1 callersMethoduse_raw_dlopen
(&mut self)
src/lib.rs:142
Method_dlsym_from_mem
(&self, _symbol_name: &str)
src/utils/resolv.rs:52
Methodcurrent
Gets the content of `/proc/sys/kernel/yama/ptrace_scope`, which determines whether we can read `/proc/<pid>` or not. If the file doesn't exists, we as
src/utils/ptrace.rs:22
Methodcurrent
Creates a new [`Proc`] that references the host process.
src/proc/mod.rs:43
Functionfirst_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/x86_64.rs:5
Functionfirst_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/aarch64.rs:5
Functionfirst_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/x86.rs:8
Methodfrom
(err: IoError)
src/error.rs:39
Functionmain
()
build.rs:3
Functionmain
()
examples/victim_alloc.rs:5
Functionmain
()
examples/evil.rs:4
Functionmain
()
examples/victim.rs:4
Functionmain
()
examples/dump_mem/src/lib.rs:7
Functionmain
()
examples/victim_ptrace/src/main.rs:7
Functionmain
()
bin/cli.rs:40
Methodnew
(pid: i32)
src/lib.rs:30
Methodnew
(name: &str, vm_addr: usize, bytes: Vec<u8>)
src/utils/resolv.rs:11
Methodnew
Creates a new [`Proc`] that references the task identified by `id`. Returns [`None`] if the path `/proc/<id>` does not exist.
src/proc/mod.rs:53
Methodnew
(pid: i32, mem: Mem)
src/proc/maps.rs:16
Methodnew
(pid: i32)
src/proc/mem.rs:11
Functionraw_dlopen_shellcode
( dlopen_addr: usize, dlopen_path: String, origin_hijack_addr: usize, )
src/payloads/x86_64.rs:76
Functionraw_dlopen_shellcode
( dlopen_addr: usize, dlopen_path: String, jmp_addr: usize, )
src/payloads/aarch64.rs:97
Functionraw_dlopen_shellcode
(dlopen_addr: usize, dlopen_path: String, origin_hijack_addr: usize)
src/payloads/x86.rs:66
Methodrestart_app_and_get_pid
(package_name: &str)
src/lib.rs:147
Methodroot
()
src/proc/mod.rs:36
Functionself_jmp
()
src/payloads/aarch64.rs:176
Methodsyscall
Reads `/proc/<id>/syscall` of the current [`Proc`].
src/proc/mod.rs:80
Methodtask
Reads `/proc/<id>/task` of the current [`Proc`].
src/proc/mod.rs:85