Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
7c6fdb7d01 | vor 3 Jahren | |
---|---|---|
.gitignore | vor 3 Jahren | |
LICENSE | vor 3 Jahren | |
README.md | vor 3 Jahren | |
client.ps1 | vor 3 Jahren | |
client.sh | vor 3 Jahren | |
server.py | vor 3 Jahren |
README.md
DNS File-Transfer
A file server for files over DNS TXT records
Mirror at: https://naclador.de/mosers/DNS_File-Transfer
Requirements on server
- Python3
- dnslib: e.g.
pip3 install dnslib
Usage
First set up your domain to point to which ever server you're hosting this on.
Then run the python server:
./server.py --domain domainname.com --directory /dir/of/tools
It will only support a flat directory structure in /dir/of/tools
Strongly based on Uninvited Guest by Pen Test Partners
Documentation
Download
- TXT
$filename.count.$dnsserver
returns the number of parts the file is split into - TXT
$filename.$i.$dnsserver
returns the base64-encoded file part #$i
Upload
- TXT
$content.$i-$id.$dnsserver
pushes a file part to the server- the whole domain MUST NOT be longer than 63 characters, split your file accordingly
- since only alphanumerical characters are allowed, encode your file with base64
- Count up $i so you don't get problems with caching (the server only used chronological order, so you can also use random numbers if you prefer that)
- The (base64-encoded) file is saved at $directory/$id.b64