1WAPITI-GETCOOKIE(1) WAPITI-GETCOOKIE(1)
2
3
4
6 wapiti-getcookie - A Wapiti utility to fetch cookies from a webpage and
7 store them in the Wapiti JSON format.
8
10 wapiti-getcookie -u URL -c COOKIE options
11
13 wapiti-getcookie is a user-friendly interractive console utility that
14 can be used to fill a web-form or fetch an URL and extract the cookies
15 sent by the remote server.
16 Cookie informations are stored in the JSON cookie file you have to
17 specify with the -c option.
18 Those cookies can be loaded by Wapiti using the same -c option.
19
21 · -p, --proxy PROXY_URL
22 The given URL will be used as a proxy for HTTP and HTTPS requests.
23 This URL can have one of the following scheme : http, https, socks.
24 To make Wapiti use a Tor listener you can use --proxy
25 socks://127.0.0.1:9050/
26
27 · --tor
28 Make Wapiti use a Tor listener (same as --proxy
29 socks://127.0.0.1:9050/)
30
31 · -a, --auth-cred CREDENTIALS
32 Set credentials to use for HTTP authentication on the target.
33 Given value should be in the form login%password (% is used as a
34 separator)
35
36 · --auth-type TYPE
37 Set the authentication mechanism to use. Valid choices are basic,
38 digest, kerberos and ntlm.
39 Kerberos and NTLM authentication may require you to install addi‐
40 tionnal Python modules.
41
42 · -H, --header HEADER
43 Set a custom HTTM header to inject in every request sent by Wapiti.
44 This option can be used several times.
45 Value should be a standard HTTP header line (parameter and value
46 separated with a : sign).
47
48 · -A, --user-agent AGENT
49 Default behavior of Wapiti is to use the same User-Agent as the
50 TorBrowser, making it discreet when crawling standard website or
51 .onion ones.
52 But you may have to change it to bypass some restrictions so this
53 option is here.
54
55 · -d, --data DATA
56 wapiti-getcookie will parse forms and ask your input for each field
57 found.
58 But you can also pass every parameter and value as a string
59 directly through this option.
60 Example: -d ´login=admin&password=letmein&submit=Login´
61
62
63
65 Wapiti is covered by the GNU General Public License (GPL), version 2.
66 Please read the COPYING file for more information.
67
69 Copyright (c) 2006-2019 Nicolas Surribas.
70
72 Nicolas Surribas is the main author, but the whole list of contributors
73 is found in the separate AUTHORS file.
74
76 http://wapiti.sourceforge.net/
77
79 If you find a bug in Wapiti please report it to https://source‐
80 forge.net/p/wapiti/bugs/
81
82
83
84 August 2019 WAPITI-GETCOOKIE(1)