wapiti-cookie1
A wapiti utility to fetch cookies from a webpage and store them in the wapiti json format.
Usage
wapiti-cookie [-p
PROXY_URL]
COOKIE_FILE
URL
[ARG1=VAL1] ...
Overview
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.
Options
-
-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/
Licence
Wapiti is covered by the GNU General Public License (GPL), version 2.
Please read the COPYING file for more information.