wapiti-getcookie(1)

wapiti-getcookie1

A wapiti utility to fetch cookies from a webpage and store them in the wapiti json format.

Usage

wapiti-getcookie -u URL -c COOKIE options

Overview

wapiti-getcookie is a user-friendly interactive console utility that can be used to fill a web-form or fetch an URL and extract the cookies sent by the remote server.
Cookie information are stored in the JSON cookie file you have to specify with the -c option.
Those cookies can be loaded by Wapiti using the same -c option.

Options

•

-p, --proxy PROXY_URL
The given URL will be used as a proxy for HTTP and HTTPS requests.
This URL can have one of the following scheme : http, https, socks.
To make Wapiti use a Tor listener you can use --proxy socks://127.0.0.1:9050/

•

--tor
Make Wapiti use a Tor listener (same as --proxy socks://127.0.0.1:9050/)

•

-a, --auth-cred CREDENTIALS
Set credentials to use for HTTP authentication on the target.
Given value should be in the form login%password (% is used as a separator)

•

--auth-type TYPE
Set the authentication mechanism to use. Valid choices are basic, digest, kerberos and ntlm.
Kerberos and NTLM authentication may require you to install additional Python modules.

•

-H, --header HEADER
Set a custom HTTM header to inject in every request sent by Wapiti. This option can be used several times.
Value should be a standard HTTP header line (parameter and value separated with a : sign).

•

-A, --user-agent AGENT
Default behavior of Wapiti is to use the same User-Agent as the TorBrowser, making it discreet when crawling standard website or .onion ones.
But you may have to change it to bypass some restrictions so this option is here.

•

-d, --data DATA
wapiti-getcookie will parse forms and ask your input for each field found.
But you can also pass every parameter and value as a string directly through this option.
Example: -d ´login=admin&password=letmein&submit=Login´

WWW

http://wapiti.sourceforge.io/

Releases

5 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–9
  2. 10
  3. 11–12

--proxy until Debian 9 (Stretch); -p until Debian 9 (Stretch).

License

Wapiti is covered by the GNU General Public License (GPL), version 2. Please read the LICENSE file for more information.

Authors

Nicolas Surribas is the main author, but the whole list of contributors is found in the separate AUTHORS file.

Bug reports

If you find a bug in Wapiti please report it to https://github.com/wapiti-scanner/wapiti/issues

From wapiti 3.0.4+dfsg-2 in Debian 12 (Bookworm). Parsed by carta from the page's man source.