htf (Host That File) is a tool to make serving up your favorite pentest tools simpler and faster.

htf

htf (Host That File) is a tool to make serving up your favorite pentest tools simpler and faster. All you need to do is populate the htf configuration file (see example below) with the nickname and path to tools you want to host and the pass the nickname you gave to the file as an argument to htf. Medium Blog

image

Example Usage

htf -r -p 8000 linpeas chisel pspy
htf linpeas

Help

$ htf -h
Usage: htf [--random] [--port PORT] [FILES [FILES ...]]

Positional arguments:
  FILES                  files to host by nickname

Options:
  --random, -r           generate random file name for hosted file
  --port PORT, -p PORT   the port to listen on [default: 7000]
  --help, -h             display this help and exit

Example Configuration File

Must save this file as ~/.htf.json

{
  "files": [
    {
      "name": "linpeas",
      "path": "/opt/peass-ng/linPEAS/linpeas.sh"
    },
    {
      "name": "pspy",
      "path": "/opt/pspy/pspy32"
    },
    {
      "name": "chisel",
      "path": "/opt/chisel/chisel"
    }
  ]
}

Installation (Linux Example)

With go v1.16+ installed

go install -v github.com/binexisHATT/htf

From releases page

wget htf-linux-amd64.tar.gz -O ./htf.tar.gz
tar xvzf htf.tar.gz
sudo mv htf /usr/local/bin/

From source

git clone https://github.com/binexisHATT/htf
go build -o htf htf.go
sudo mv htf /usr/local/bin/
Owner
Alexis Rodriguez
Penetration Tester, Gopher/Pythonista, Aspiring Machine Learning Engineer
Alexis Rodriguez
Similar Resources

Tts - A project takes advantage of a server to run compute some audio file from text you send it

Text to Speech Hey this project takes advantage of a server to run compute some

Jan 26, 2022

Hammond is a self hosted vehicle management system to track fuel and other expenses related to all of your vehicles.

Hammond is a self hosted vehicle management system to track fuel and other expenses related to all of your vehicles.

Hammond is a self hosted vehicle management system to track fuel and other expenses related to all of your vehicles. It supports multiple users sharing multiple vehicles. It is the logical successor to Clarkson which has not been updated for quite some time now.

Jan 2, 2023

Server and bookmarklet to download files via youtube-dl directly from your browser

Server and bookmarklet to download files via youtube-dl directly from your browser

gropple A web service and bookmarklet to download videos with a single click. Pre-requisites a passing familiarity with the command line youtube-dl (p

Nov 12, 2022

66 is two player game played with playing cards and from now on you can play it from browser with your friends.

altmis-alti 66 is two player game played with playing cards and this project provides multiplayer game space from browser. How to run? Clone the proje

Feb 1, 2022

GoTTY - Share your terminal as a web application

 GoTTY - Share your terminal as a web application

GoTTY - Share your terminal as a web application GoTTY is a simple command line tool that turns your CLI tools into web applications. Installation Fro

Dec 28, 2022

📔 Journal helps you manage multiple journals with ease from the comfort of your terminal, web browser or API client.

📔 Journal helps you manage multiple journals with ease from the comfort of your terminal, web browser or API client.

Journal helps you manage multiple journals with ease from the comfort of your terminal, web browser or API client. You can import/export journals as horcruxes and set simple customizations for layout, theme, and keybindings.

Sep 14, 2022

an online REST renting book platform which you can authenticate, order, reserve a book in your account.

an online REST renting book platform which you can authenticate, order, reserve a book in your account.

BOOK MAN an online REST renting book platform which you can authenticate, order, reserve a book in your account. it's a microservices project with hig

Jul 22, 2022

A Go Application helps you save your contacts on cloud safely

Contact Saver This Application helps you save your contacts on cloud safely. The backend is built with Go programming language and the front end with

Nov 10, 2021

GoAdmin is a toolkit to help you build a data visualization admin panel for your golang app.

GoAdmin is a toolkit to help you build a data visualization admin panel for your golang app.

the missing golang data admin panel builder tool. Documentation | 中文文档 | 中文介绍 | DEMO | 中文DEMO | Twitter | Forum Inspired by laravel-admin Preface GoAd

Nov 25, 2021
Related tags
This product about make link to be short link with golang rest api

This project using golang with go fiber, firebase, and dependency injection

Oct 13, 2021
Make e-commerce API using Golang

E-Commerce API i make this api using golang with gin How to use this Please create database go-ecommerce, or if u not it will error. For table, it wil

Oct 2, 2022
Handles file uploads & organises files based on your database entities.

Handles file uploads & organises files based on your database entities.

Nov 22, 2022
Collection of tools to interact with Intigriti website
Collection of tools to interact with Intigriti website

Small tool, written in Go, that constantly monitors Activity feed on https://app.intigriti.com Dashboard page and sends Slack/Discord notifications on

Dec 23, 2022
A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working directory easy, even for fairly large files.

httpfolder A quick and easy password protected web server for your files. httpfolder makes downloading/uploading files from your current working direc

Sep 12, 2022
REST API with Echo Framework and a JSON File
 REST API with Echo Framework and a JSON File

REST API with Echo Framework and a JSON File Run it in ./src with: go run server.go The documentation, here => echo.labstack.com. Fake data => mockar

Dec 27, 2021
One-stop shop for english-translated licensed hentai manga and doujins, beat your meat in peace, without any bullshit and drama attached to it.

koushoku Source code of site [redacted] for those who are willing to run their own instance. How it serve and index the archives Archives and its file

Jan 2, 2023
A simple file-based service to stand in for the remote-service proxy on Apigee.

Apigee-Remote-Service-File A simple file-based service to stand in for the remote-service proxy on Apigee. All configuration is done locally in a YAML

Nov 3, 2021
Converts an image file into various WebP images to use with img srcset

go-websizer Converts an image file into various WebP images to use with img srcset. Install $ go get github.com/pipe01/go-websizer Usage Usage of go-

Oct 7, 2021
gin middlewares, just like nginx try-file function

Gin Middleware TryFile This project is to solve the problem that the gin framework processes the dynamic routing file in the front-end compilation fil

Aug 11, 2022