Windows Packet Capture


https://www.netresec.com/index.ashx?page=RawCap :

To File:

RawCap.exe localhost_capture.pcap

To Wireshark:

RawCap.exe -q - | "C:\Program Files\Wireshark\Wireshark.exe" -i - -k

Remove Obfuscation from .NET Binaries

  • de4dot

  • confuserexstringdecryptor

  • confuserexswitchkiller

Esoteric Language / Other Decodings

Update all pip installed python packages

pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U

Find what program listens on a port on linux

sudo lsof -i -P -n | grep LISTEN

Delete all docker container & images

docker rm -vf $(docker ps -a -q)
docker rmi -f $(docker images -a -q)

Json to NDJson

cat file.json | jq -c '.[]' > converted.json