Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/androguard/goauld
/ functions
Functions
65 in github.com/androguard/goauld
⨍
Functions
65
◇
Types & classes
10
↓ 7 callers
Method
write
(&mut self, addr: usize, buf: &Vec<u8>)
src/proc/mem.rs:38
↓ 5 callers
Method
read
(&mut self, addr: usize, len: usize)
src/proc/mem.rs:25
↓ 4 callers
Function
execute_command
(program: &str, args: &Vec<&str>)
src/utils/mod.rs:242
↓ 3 callers
Method
privileged
Is it a root process ?
src/proc/mod.rs:110
↓ 3 callers
Method
set_func_sym
( &mut self, module_name: &str, sym_name: &str, )
src/lib.rs:112
↓ 2 callers
Method
add_sym
(&mut self, module_name: &str, sym_name: &str)
src/lib.rs:88
↓ 2 callers
Function
copy_file_to_tmp
(file_path: &str)
src/utils/mod.rs:141
↓ 2 callers
Function
get_pid_by_package_with_polling
(pkg_name: &str)
src/utils/mod.rs:286
↓ 2 callers
Function
hex
(line: usize, parts: &[u8], writer: &mut Vec<u8>)
src/utils/mod.rs:50
↓ 2 callers
Method
maps_by_name
(&self, name: &str)
src/proc/maps.rs:24
↓ 2 callers
Function
restart_app_and_get_pid
(pkg_name: &str)
src/utils/mod.rs:301
↓ 2 callers
Method
set_default_syms
(&mut self)
src/lib.rs:136
↓ 2 callers
Method
set_var_sym
( &mut self, module_name: &str, sym_name: &str, )
src/lib.rs:124
↓ 2 callers
Function
verify_elf_file
(file_path: &str)
src/utils/mod.rs:113
↓ 1 callers
Function
android
()
build.rs:9
↓ 1 callers
Method
class
Return the class type of the executable to inject
src/proc/mod.rs:90
↓ 1 callers
Method
dlsym_from_fs
(&self, symbol_name: &str)
src/utils/resolv.rs:19
↓ 1 callers
Method
exe
Reads `/proc/<id>/exe` of the current [`Proc`].
src/proc/mod.rs:65
↓ 1 callers
Function
first_shellcode
(class: &ProcClass, var_addr: usize, alloc_len: usize)
src/payloads/mod.rs:12
↓ 1 callers
Function
fix_file_context
(file_path: &str)
src/utils/mod.rs:188
↓ 1 callers
Function
fix_file_permissions
(file_path: &str)
src/utils/mod.rs:215
↓ 1 callers
Function
get_dlopen_lib_name
()
src/utils/mod.rs:21
↓ 1 callers
Function
get_pid_by_package
(pkg_name: &str)
src/utils/mod.rs:265
↓ 1 callers
Function
hexdump
(buffer: &[u8], writer: &mut Vec<u8>)
src/utils/mod.rs:77
↓ 1 callers
Function
hexdumpm
(buffer: &[u8], max_lines_opt: Option<usize>, writer: &mut Vec<u8>)
src/utils/mod.rs:30
↓ 1 callers
Method
inject
(&mut self)
src/lib.rs:156
↓ 1 callers
Method
maps
Reads `/proc/<id>/maps` of the current [`Proc`].
src/proc/mod.rs:70
↓ 1 callers
Method
maps
(&self)
src/proc/maps.rs:20
↓ 1 callers
Method
mem
Reads `/proc/<id>/mem` of the current [`Proc`].
src/proc/mod.rs:75
↓ 1 callers
Method
module
(&mut self, module_name: &str)
src/proc/maps.rs:65
↓ 1 callers
Method
module_bytes
(&mut self, module_name: &str)
src/proc/maps.rs:52
↓ 1 callers
Method
owner
Gets the owner of the current [`Proc`].
src/proc/mod.rs:59
↓ 1 callers
Method
prepare_file
(&self)
src/lib.rs:70
↓ 1 callers
Function
print_file_hexdump
(file_path: &str)
src/utils/mod.rs:83
↓ 1 callers
Function
raw_dlopen_shellcode
(class: &ProcClass, dlopen_addr: usize, dlopen_path: String, jmp_addr: usize)
src/payloads/mod.rs:27
↓ 1 callers
Function
self_jmp
()
src/payloads/mod.rs:42
↓ 1 callers
Method
set_file_path
(&mut self, file_path: String)
src/lib.rs:58
↓ 1 callers
Method
use_raw_dlopen
(&mut self)
src/lib.rs:142
Method
_dlsym_from_mem
(&self, _symbol_name: &str)
src/utils/resolv.rs:52
Method
current
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
Method
current
Creates a new [`Proc`] that references the host process.
src/proc/mod.rs:43
Function
first_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/x86_64.rs:5
Function
first_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/aarch64.rs:5
Function
first_shellcode
(var_addr: usize, alloc_len: usize)
src/payloads/x86.rs:8
Method
from
(err: IoError)
src/error.rs:39
Function
main
()
build.rs:3
Function
main
()
examples/victim_alloc.rs:5
Function
main
()
examples/evil.rs:4
Function
main
()
examples/victim.rs:4
Function
main
()
examples/dump_mem/src/lib.rs:7
Function
main
()
examples/victim_ptrace/src/main.rs:7
Function
main
()
bin/cli.rs:40
Method
new
(pid: i32)
src/lib.rs:30
Method
new
(name: &str, vm_addr: usize, bytes: Vec<u8>)
src/utils/resolv.rs:11
Method
new
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
Method
new
(pid: i32, mem: Mem)
src/proc/maps.rs:16
Method
new
(pid: i32)
src/proc/mem.rs:11
Function
raw_dlopen_shellcode
( dlopen_addr: usize, dlopen_path: String, origin_hijack_addr: usize, )
src/payloads/x86_64.rs:76
Function
raw_dlopen_shellcode
( dlopen_addr: usize, dlopen_path: String, jmp_addr: usize, )
src/payloads/aarch64.rs:97
Function
raw_dlopen_shellcode
(dlopen_addr: usize, dlopen_path: String, origin_hijack_addr: usize)
src/payloads/x86.rs:66
Method
restart_app_and_get_pid
(package_name: &str)
src/lib.rs:147
Method
root
()
src/proc/mod.rs:36
Function
self_jmp
()
src/payloads/aarch64.rs:176
Method
syscall
Reads `/proc/<id>/syscall` of the current [`Proc`].
src/proc/mod.rs:80
Method
task
Reads `/proc/<id>/task` of the current [`Proc`].
src/proc/mod.rs:85