A wapiti utility to fetch cookies from a webpage and store them in the wapiti json format.
wapiti-cookie [-p PROXY_URL] COOKIE_FILE URL [ARG1=VAL1] ...
wapiti-cookie can be used to fill a web-form from your terminal and obtain the cookies sent by the remote server. Cookie information is stored in JSON format in the COOKIE_FILE given as the first parameter.
Parameters sent through HTTP POST must be given in the form ARG_NAME=ARG_VALUE without whitespaces. If the parameter name or its value contains some special bash characters, escape them or put the whole ARG_NAME=ARG_VALUE between (double-)quotes.
Those cookies can be then loaded by Wapiti using the -c option.
-p, --proxy=PROXY_URL
To specify a proxy. Currently supported proxies are HTTP and HTTPS.
This option can be called twice to specify the HTTP and the HTTPS proxies.
Example:
-p http://proxy:port/
Wapiti is covered by the GNU General Public License (GPL), version 2.
Please read the COPYING file for more information.
Copyright (c) 2006-2013 Nicolas Surribas.
Nicolas Surribas
David del Pozo
Alberto Pastor
If you find a bug in Wapiti please report it to http://sourceforge.net/tracker/?group_id=168625
The README file that comes with Wapiti gives more detailed information on the options.