Usage
Basic Command Execution
To execute a command through Tor, use the exec
command with the --command
flag:
toralizer exec --command "curl http://example.com"
Verbose Output
Enable verbose output to see more details about the execution:
toralizer exec --command "curl http://example.com" --verbose
Specify Timeout
Set a custom timeout for the command execution:
toralizer exec --command "curl http://example.com" --timeout 60s
Custom Proxy Address
Use a custom proxy address instead of the default socks5://127.0.0.1:9050
:
toralizer exec --command "curl http://example.com" --proxy "socks5://127.0.0.1:9150"
Redirect Output to a File
Redirect the command output to a file:
toralizer exec --command "curl http://example.com" --output output.txt
Example
toralizer exec --command "curl http://example.com" --verbose --timeout 45s --proxy "socks5://127.0.0.1:9150" --output result.txt
This command will execute curl http://example.com
through the Tor network with verbose output, a timeout of 45 seconds, using a custom proxy address, and redirect the output to result.txt
.