alufers / biedatransfer

A simple alternative to transfer.sh written in Golang. Share files via curl easily!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

biedatransfer

An easy to use and simple file transfer website built in Golang.

Screenshot

It allows for file upload using the web interface (drag and drop) or via curl

It also parses the uploaded files using binwalk, file, exiftool and ldd and displays the data on a separate page.

Screenshot

Usage

Place a biedatransfer-config.yaml file in the working directory or in /etc/biedatransfer. Example contents:

You will also need a IP2LOCATION file for the resolution of upload locations via ip.

http:
  addr: :8080
  mode: debug
  trustedproxies:
  - 127.0.0.0/24
  url: http://localhost:8080
upload:
  datadir: ./data
  forbiddennames:
  - index.html
  - index.htm
  - robots.txt
  - humans.txt
  - favicon.ico
  - wp-admin.php
  - xmlrpc.php
  - .env
  - .git
  - .config
  - recents.json
  - .
  - /
  - ./
  - style.css
  forbiddenprefixes:
  - .well-known
  - .git
  - .htaccess
  - .htpasswd
  - google
  locationdatabasepath: ./IP2LOCATION-LITE-DB5.BIN
  recentssize: 40

About

A simple alternative to transfer.sh written in Golang. Share files via curl easily!


Languages

Language:Go 49.1%Language:HTML 24.5%Language:JavaScript 16.4%Language:CSS 7.5%Language:Dockerfile 2.5%