hijack-fd¤
Replace a file descriptor of a debugged process.
The new file descriptor can point to:
- a file
- a pipe
- a socket
- a device, etc.
Positional arguments¤
Positional Argument | Help |
---|---|
fdnum | File descriptor (FD) number to be replaced with the specified new socket or file. |
newfile | Specify a file or a socket. For files, the filename must start with / (e.g., /etc/passwd ). For sockets, the following formats are allowed: - 127.0.0.1:80 (default is TCP) - tcp://[::1]:80 - udp://example.com:80 - tcp+ipv6://example.com:80 |
Optional arguments¤
Short | Long | Help |
---|---|---|
-h | --help | show this help message and exit |