Minimal HTTP File Server for pentesting written in Go

Overview

GoHFS

Golang implementation of simple HTTP server with upload feature.

This application is intended to replace python built-in module simple HTTP server.
Therefore, there won't be any significant changes to the code.
If you want to use more feature-rich application, I suggest pwndrop.
To get started with this app, simply download the binary in the releases folder.

Installation

wget -O gohfs https://github.com/finzzz/gohfs/raw/master/releases/gohfs-linux-amd64
chmod +x gohfs

Getting started

# running in current directory
./gohfs

# specifying parameters
./gohfs -host 127.0.0.1 -port 8081 -dir /tmp

# getting help
./gohfs -h
You might also like...
Opinionated boilerplate Golang HTTP server with CORS, OPA, Prometheus, rate-limiter for API and static website.
Opinionated boilerplate Golang HTTP server with CORS, OPA, Prometheus, rate-limiter for API and static website.

Teal.Finance/Server Opinionated boilerplate HTTP server with CORS, OPA, Prometheus, rate-limiter… for API and static website. Origin This library was

HTTP server receives events and publishes them to STAN
HTTP server receives events and publishes them to STAN

Publishes events to Nats Streaming(STAN) synchornously and asynchronously. Cache events's publish-state using Redis and Store events using MongoDB.

HTTP Echo is a go web server that echos back the arguments given to it.

HTTP Echo is a go web server that echos back the arguments given to it. This is especially useful for demos or a more extensive "hello world" application in Docker or Kubernetes.

✨ A lightweight HTTP server based on GO, will try to detect your OS and architecture and return as SHELL script. ✨
✨ A lightweight HTTP server based on GO, will try to detect your OS and architecture and return as SHELL script. ✨

✨ A lightweight HTTP server based on GO, will try to detect your OS and architecture and return as SHELL script. ✨

A simple Go HTTP server that proxies RPC provider requests

go-rpc-provider-proxy A simple Go HTTP server that proxies RPC provider requests.

A Language Server Protocol (LSP) server for Jsonnet

Jsonnet Language Server A Language Server Protocol (LSP) server for Jsonnet. Features Jump to definition self-support.mp4 dollar-support.mp4 Error/War

Go web server - A web server that can accept a GET request and serve a response.

go_web_server A web server that can accept a GET request and serve a response. Go is a great language for creating simple yet efficient web servers an

An XMPP server written in Go (Golang).

jackal An XMPP server written in Go. About jackal is a free, open-source, high performance XMPP server which aims to be known for its stability, simpl

High-performance PHP application server, load-balancer and process manager written in Golang
High-performance PHP application server, load-balancer and process manager written in Golang

[RR2-BETA] RoadRunner is an open-source (MIT licensed) high-performance PHP application server, load balancer, and process manager. It supports runnin

Comments
  • Feature Requests - Navigation

    Feature Requests - Navigation

    Hi, i would like to propose the feature of a navigation panel or just buttons to navigate in the webgui. Right now you have to manually change you path on the web server, but a "back" or "one folder up" button would greatly improve accessibility.

    I have 2 examples on how it could look like. This is just for reference, the only notable things in the screenshots are the navigation options.

    h5ai: image

    minixed: image

    opened by olofvndrhr 3
  • Updated Docker Support

    Updated Docker Support

    I saw your comment and updated the docker support as follows:

    • removed linuxserver.io image
    • rebased to official ubuntu image
    • changed the temp zip file location
    • added new options
    • changed docker-compose file that it works without modification
    • fixed README

    The container still has the s6 overlay, so user mapping still works. If you have any other wishes, just comment it.

    opened by olofvndrhr 1
  • Docker support

    Docker support

    I added basic docker support to the project. It uses the ubuntu baseimage from linuxserver.io with the s6 overlay. So user mapping inside the container is no problem.

    I did basic testing and everything was working fine. The only thing that i dont like right now is that the temp zip files are written to "/". So i had to set permissions inside the container to match this behaviour. If you could change the temporary zip file location to "/tmp", that would be great.

    opened by olofvndrhr 1
Releases(0.1.4)
Owner
Vincent Carlos
Learning never exhausts the mind
Vincent Carlos
a simple http server as replacement of python -m http.server

ser a simple http server as replacement of python -m http.server

Changkun Ou 5 Sep 26, 2022
Fishserver is designed to quickly add HTTP handlers to HTTP servers. It supports registration of various HTTP

Fishserver is designed to quickly add HTTP handlers to HTTP servers. It supports registration of various HTTP. Handler interface types such as Gin Engine, Go's built-in HTTP. HandlerFunc, or http.ServeMux. The HTTP server can be configured quickly with options and can be used for test cases.

coolstina 0 Nov 1, 2021
A simple http-web server logging incoming requests to stdout with simple http-interface.

http-cli-echo-logger A simple http-web server logging incoming requests to stdout with simple http-interface. Run locally go run ./cmd/main.go Default

Andrii Bosonchenko 5 Jul 18, 2022
A simple file server written in Go. Allows files to be uploaded, downloaded, or deleted.

Go File Server This is a simple file server written in Go. Have you ever wanted to transfer files between computers on the same LAN? Simply run this p

null 0 Jan 14, 2022
OpenAPI specs for your Go server, generated at server runtime. No CLI, no code generation, and no HTTP

Overview "oas" is short for "OpenAPI Spec". Go package for generating OpenAPI docs at runtime. Non-features: No code generation. No CLI. No magic comm

Nelo Mitranim 0 Dec 3, 2021
Simple HTTP server written in golang

Simple HTTP server written in golang Simple webserver in golang, to demonstrate basic functionalities like e.g. sending back some request header info,

null 1 Aug 31, 2022
Go-simplehttp - Simple HTTP server written in golang

Simple HTTP server written in golang Simple webserver in golang, to demonstrate

null 0 Jan 1, 2022
:tophat: Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support

Web server with built-in support for QUIC, HTTP/2, Lua, Markdown, Pongo2, HyperApp, Amber, Sass(SCSS), GCSS, JSX, BoltDB (built-in, stores the databas

Alexander F. Rødseth 2.1k Sep 23, 2022
A simple HTTP Server to share files over WiFi via Qr Code

go-fileserver A simple HTTP server to share files over WiFi via QRCode Installation You can download compressed version from

Pradeep Khileri 68 Sep 12, 2022