Skip to content

Instantly share code, notes, and snippets.

tvorartificialnature.xyz
secondpilots.space
stoikoplot.xyz
provokordino.space
oceanwaterfree34.xyz
otreincomsal.space
holkaxlopot.space
234tvgro.space
gladdisfliop.xyz
afdeserutil32.website
@4rchib4ld
4rchib4ld / IcedIDExtractC2.py
Last active May 2, 2021 14:42
Extract IcedID C2 domain name
import binascii
import string
import pefile
import argparse
def extractPayload(file):
# Extracting the payload from the .data section
print("[+] Extracting the payload...")
pe = pefile.PE(file)
for section in pe.sections: