---
name: "wapiti-cookie"
section: "1"
platform: "linux"
package: "wapiti"
version: "2.3.0+dfsg-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/wapiti-cookie"
---

# wapiti-cookie(1)

A Wapiti utility to fetch cookies from a webpage and store them in the Wapiti JSON format.

## NAME

wapiti-cookie - A Wapiti utility to fetch cookies from a webpage and store them in the Wapiti JSON format.

## SYNOPSIS

**wapiti-cookie** \[-p PROXY\_URL\] COOKIE\_FILE URL \[ARG1=VAL1\] ...

## DESCRIPTION

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.

## COPYRIGHT

Copyright (c) 2006-2013 Nicolas Surribas.

## AUTHORS

Nicolas Surribas\
 David del Pozo\
 Alberto Pastor

## BUG REPORTS

If you find a bug in Wapiti please report it to http://sourceforge.net/tracker/?group\_id=168625

## SEE ALSO

The README file that comes with Wapiti gives more detailed information on the options.
