Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jellever committed Aug 8, 2020
1 parent fe5d580 commit d37e606
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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).
Expand Down

0 comments on commit d37e606

Please sign in to comment.