Skip to content

Exfiltrate files over dns requests using Python and/or Bash

Notifications You must be signed in to change notification settings

radman404/DNSSUB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DNSSUB

Exfiltrate files over dns requests using Python and/or Bash

A quick set of scripts I did after seeing DNSFTP (https://github.com/breenmachine/dnsftp) I used some of Breenmachine's code in the scripts, The chunks function is very handy. I also used Simple DNS server (https://gist.github.com/andreif/6069838) as a base dns server for this script. How it works: Simply it takes a file converts to base64 then sends the base64 in dns requests to a server which rebuilds it on the other side. NO encryption is used, only encoding (base64)

SETUP: You need to change or brackets in the scripts to your Domain and the IP you want to use. Server Usage: Run dnssub.py on your server which will bind to port 53 udp it will act like a dns server giving A records for the domain you enter in the script. Client Usage: python client.py ./client.sh

About

Exfiltrate files over dns requests using Python and/or Bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published