Simple CLI HTTP client focused on security research.
kurl
has features such as:
- Display status code
- Display content-type
- Check if the body is valid json
- Guess the json format
- Display the content-length
bash
cargo install kurl
For this to work you need to have Rust installed
bash
~ ❯ kurl ipinfo.io/8.8.8.8 --all
200 304 get json "anycast city country hostname ip loc org postal readme region timezone" "application/json; charset =utf-8" ipinfo.io/8.8.8.8
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"anycast": true,
"city": "Mountain View",
"region": "California",
"country": "US",
"loc": "37.4056,-122.0775",
"org": "AS15169 Google LLC",
"postal": "94043",
"timezone": "America/Los_Angeles",
"readme": "https://ipinfo.io/missingauth"
}
kurl --help
Will show the command line usage.
```console Simple CLI HTTP client focused on security research
Usage: kurl [OPTIONS]
Arguments:
Options:
-p
-d, --data
Data to be sent in the request body
--verbosity-level