From d37e606b1255009e2ef500b3694e1072578dc8e6 Mon Sep 17 00:00:00 2001 From: Jelle Vergeer Date: Sat, 8 Aug 2020 13:42:13 -0400 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 79c0bc9..bee70fc 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Pre-compiled binaries for StreamDivert can be downloaded [here](url). How do you use StreamDivert? Run the the tool: ```console -streamdivert.exe [config file] +streamdivert.exe config_file [-f] ``` The config file contains entries for streams you want to have diverted. En example config file: @@ -42,6 +42,8 @@ tcp > 10.0.1.50 80 -> 10.0.1.49 8080 udp > 0.0.0.0 53 -> 10.0.1.49 53 ``` +The [-f] flag, when present, will modify the Windows Firewall to add an exception for the application to properly redirect incoming traffic to another port. + ## Some Use Cases * Diverting outbound C&C traffic to a local socket for dynamic malware analysis. * Diverting inbound SMB connections of a compromised host to Responder/ ntlmrelayx (usefull in penetration tests).