Home

Awesome

SimpleBITSServer (Background Intelligent Transfer Service)

A simple python implementation of a BITS server. BITS protocol is used to transfer files asynchronously between a client and a server. The BITS protocol metadata communication resides mainly in BITS-defined HTTP headers, all start with prefix "BITS-". For that reason, this implemantation is based on python's built-in SimpleHTTPRequestHandler.

The implementation corresponds to the MSDN specification for client and server packets.

Background

Official protocol specification - Background Intelligent Transfer Service (BITS)

Example use at SafeBreach Labs

Usage

Server

python SimpleBITSServer.py [port]

Client

Prerequisites:

The simple PowerShell usage this server was built to service:

> Import-Module BitsTransfer
> Start-BitsTransfer -TransferType Upload -Source C:\temp\to_upload.txt -Destination http://127.0.0.1/to_upload.txt -DisplayName TEST

Authors

Dor Azouri - Initial work

See also the list of contributors who participated in this project.

License

WTFPL - do What the Fuck You Want To Public License