HttpLab is the interactive web server. HTTPLabs let you inspect HTTP requests and forge responses.
go get github.com/gchaincl/httplab
go install github.com/gchaincl/httplab/cmd/httplab
yaourt httplab
On systems where snap is supported:
snap install httplab
Also ReadWinspy – Windows Reverse Shell Backdoor Creator With An Automatic IP Poisener
Usage of httplab:
-a, --auto-update Auto-updates response when fields change. (default true)
-b, --body string Specifies the inital response body. (default "Hello, World")
-c, --config string Specifies custom config path.
--cors Enable CORS.
--cors-display Display CORS requests. (default true)
-d, --delay int Specifies the initial response delay in ms.
-H, --headers strings Specifies the initial response headers. (default [X-Server:HTTPLab])
-p, --port int Specifies the port where HTTPLab will bind to. (default 10080)
-s, --status string Specifies the initial response status. (default "200")
-v, --version Prints current version.
Key | Description |
---|---|
Tab | Next Input |
Shift+Tab | Previous Input |
Ctrl+a | Apply Response changes |
Ctrl+r | Resets Request history |
Ctrl+s | Save Response as |
Ctrl+f | Save Request as |
Ctrl+l | Toggle Responses list |
Ctrl+t | Toggle Response builder |
Ctrl+o | Open Body file |
Ctrl+b | Switch Body mode |
Ctrl+h | Toggle Help |
Ctrl+w | Toggle line wrapping |
q | Close popup |
PgUp | Previous Request |
PgDown | Next Request |
Ctrl+c | Quit |
HTTPLab uses file to store pre-built responses, it will look for a file called .httplab
on the current directory if not found it will fallback to $HOME
.
Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…
While file extensions in Linux are optional and often misleading, the file command helps decode what a…
The touch command is one of the quickest ways to create new empty files or update timestamps…
Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…
Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…
Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…