📚 wuzz - Awesome Go Library for Utilities

Go Gopher mascot for wuzz

Interactive cli tool for HTTP inspection

🏷️ Utilities
📂 Utilities
0 stars
View on GitHub 🔗

Detailed Description of wuzz

wuzz

Interactive cli tool for HTTP inspection.

Wuzz command line arguments are similar to cURL's arguments, so it can be used to inspect/modify requests copied from the browser's network inspector with the "copy as cURL" feature.

wuzz screencast

Installation and usage

GO

$ go get github.com/asciimoo/wuzz
$ "$GOPATH/bin/wuzz" --help

Note: golang >= 1.10 required.

Binary releases are also available.

Apt

$ apt install wuzz

Apk

$ apk add wuzz

Scoop

$ scoop bucket add main
$ scoop install main/wuzz

X-CMD

$ x env use wuzz

Nix

$ nix-shell -p wuzz

Configuration

It is possible to override default settings in a configuration file. The default location is "$XDG_CONFIG_HOME/wuzz/config.toml"on linux and ~/.wuzz/config.toml on other platforms. -c/--config switches can be used to load config file from custom location.

See example configuration for more details.

Commands

KeybindingDescription
F1Display help
Ctrl+RSend request
RetSend request (only from URL view)
Ctrl+SSave response
Ctrl+ESave request
Ctrl+FLoad request
Ctrl+CQuit
Ctrl+K, Shift+TabPrevious view
Ctlr+J, TabNext view
Ctlr+TToggle context specific search
Ctrl+LClear all tabs to default
Alt+HToggle history
DownMove down one view line
UpMove up one view line
Page downMove down one view page
Page upMove up one view page
F2Jump to URL
F3Jump to query parameters
F4Jump to HTTP method
F5Jump to request body
F6Jump to headers
F7Jump to search
F8Jump to response headers
F9Jump to response body
F11Redirects Restriction Mode

Context specific search

Wuzz accepts regular expressions by default to filter response body. Custom query syntax can be toggled by pressing Ctrl+T. The following formats have context specific search syntax:

Response formatQuery syntax
HTMLhttps://github.com/PuerkitoBio/goquery
JSONhttps://github.com/tidwall/gjson

TODO

  • Better navigation
  • Autocompletion
  • Tests

Bugs / Suggestions

Bugs or suggestions? Visit the issue tracker or join #wuzz on freenode