binaryninja/personal/scc-docs/redirect_io.txt

19 lines
502 B
Plaintext
Raw Normal View History

2019-04-03 14:46:40 +01:00
redirect_io
===========
:title: Shellcode Compiler Runtime
---------------------------------------------
void redirect_io(int fd);
---------------------------------------------
Redirects standard input, standard output, and standard error to the file handle `fd`. This is commonly used to redirect
a command to an open socket.
See also
--------
link:bash.html[bash],
link:execve.html[execve],
link:interactive_bash.html[interactive_bash],
link:interactive_sh.html[interactive_sh],
link:sh.html[sh]