powershell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| powershell [2022/11/20 10:19] – [Simple TCP Portscan] baumi | powershell [2022/11/20 10:19] (current) – [Convert to PCAP] baumi | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| ===== Packet Capture ===== | ===== Packet Capture ===== | ||
| ==== Capture ==== | ==== Capture ==== | ||
| + | <code powershell> | ||
| $duration=90 | $duration=90 | ||
| $env:HostIP = ( | $env:HostIP = ( | ||
| Line 39: | Line 40: | ||
| Start-Sleep $duration | Start-Sleep $duration | ||
| netsh trace stop | netsh trace stop | ||
| + | </ | ||
| ==== Convert to PCAP ==== | ==== Convert to PCAP ==== | ||
| https:// | https:// | ||
| - | < | + | < |
| - | https:// | + | Invoke-Webrequest -O etl2pcapng.exe |
| ./ | ./ | ||
| </ | </ | ||
powershell.1668935947.txt.gz · Last modified: by baumi
