mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-15 01:10:01 +00:00
c5303272d9
- r_cons_user_fgets() is a configurable function pointer - Simplify build * Initial import of r_sysproxy - Directly copied from r1 (no api or anything working yet) * R_APIze r_vm and r_print * Make r_core_seek more consistent * Move r_cons_progressbar() to r_print * Rename visual 'x' -> 'w' (oops) - 'a' and 'w' are now compatible with cursor mode * Implement r_sys_usleep() on w32 and fix r_sys_sleep() |
||
---|---|---|
.. | ||
listeners | ||
README | ||
rpc.c | ||
sp.h | ||
syscall-linux.c | ||
syscall.c | ||
syscall.S | ||
test_sp.c | ||
test_srv1.c | ||
test_srv.c |
r_sysproxy ========== This module implements a multiarch/os proxy syscalling library. ATM the contents of this directory are a mess.. See radare1 for a working implementation... Here we will specify a standard API and we will have to write sysproxy agents for other architectures and operating systems. +-------------------+ +-----------------+ | sysproxy listener | <--. .-- | sysproxy client | +-------------------+ | network | +-----------------+ arch/os/dependant `-----------' radare sysproxy:// - listener agent - pwned service - ... ------------------------------------------------------ sp = r_sysproxy_new () if (fork()) { r_sysproxy_listen (sp, 9999); } else { r_sysproxy_connect (sp, "127.0.0.1", 9999); ret = r_sysproxy_call (sp, R_SYSPROXY_SC_WRITE, buf, 128); } ------------------------------------------------------ The sysproxy r_io plugin implements a basic IO abstraction using sysproxy to remotely open/read/write files, but maybe also for remote debugging using ptrace() thru r_sysproxy. --pancake