ronin-web 1.0.1 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +3 -2
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -0
- data/ChangeLog.md +46 -1
- data/Gemfile +25 -12
- data/README.md +486 -39
- data/Rakefile +9 -0
- data/data/completions/ronin-web +203 -0
- data/gemspec.yml +18 -5
- data/lib/ronin/web/cli/browser_options.rb +92 -0
- data/lib/ronin/web/cli/browser_shell.rb +448 -0
- data/lib/ronin/web/cli/command.rb +1 -1
- data/lib/ronin/web/cli/commands/browser.rb +373 -0
- data/lib/ronin/web/cli/commands/completion.rb +63 -0
- data/lib/ronin/web/cli/commands/diff.rb +60 -8
- data/lib/ronin/web/cli/commands/html.rb +21 -33
- data/lib/ronin/web/cli/commands/irb.rb +1 -1
- data/lib/ronin/web/cli/commands/new/{webapp.rb → app.rb} +8 -8
- data/lib/ronin/web/cli/commands/new/nokogiri.rb +4 -4
- data/lib/ronin/web/cli/commands/new/server.rb +1 -1
- data/lib/ronin/web/cli/commands/new/spider.rb +1 -1
- data/lib/ronin/web/cli/commands/new.rb +5 -3
- data/lib/ronin/web/cli/commands/reverse_proxy.rb +1 -1
- data/lib/ronin/web/cli/commands/screenshot.rb +186 -0
- data/lib/ronin/web/cli/commands/server.rb +3 -3
- data/lib/ronin/web/cli/commands/session_cookie.rb +265 -0
- data/lib/ronin/web/cli/commands/spider.rb +60 -466
- data/lib/ronin/web/cli/commands/user_agent.rb +177 -0
- data/lib/ronin/web/cli/commands/vulns.rb +463 -0
- data/lib/ronin/web/cli/commands/wordlist.rb +484 -0
- data/lib/ronin/web/cli/commands/xml.rb +149 -0
- data/lib/ronin/web/cli/js_shell.rb +69 -0
- data/lib/ronin/web/cli/ruby_shell.rb +1 -1
- data/lib/ronin/web/cli/spider_options.rb +919 -0
- data/lib/ronin/web/cli.rb +3 -1
- data/lib/ronin/web/html.rb +1 -1
- data/lib/ronin/web/root.rb +1 -1
- data/lib/ronin/web/version.rb +2 -2
- data/lib/ronin/web/xml.rb +1 -1
- data/lib/ronin/web.rb +4 -364
- data/man/ronin-web-browser.1 +92 -0
- data/man/ronin-web-browser.1.md +96 -0
- data/man/ronin-web-completion.1 +76 -0
- data/man/ronin-web-completion.1.md +78 -0
- data/man/ronin-web-diff.1 +14 -21
- data/man/ronin-web-diff.1.md +13 -6
- data/man/ronin-web-html.1 +30 -46
- data/man/ronin-web-html.1.md +27 -17
- data/man/ronin-web-irb.1 +9 -16
- data/man/ronin-web-irb.1.md +6 -2
- data/man/ronin-web-new-app.1.md +39 -0
- data/man/ronin-web-new-nokogiri.1 +9 -20
- data/man/ronin-web-new-nokogiri.1.md +5 -5
- data/man/ronin-web-new-server.1 +11 -23
- data/man/ronin-web-new-server.1.md +5 -5
- data/man/ronin-web-new-spider.1 +44 -88
- data/man/ronin-web-new-spider.1.md +37 -37
- data/man/ronin-web-new.1 +18 -30
- data/man/ronin-web-new.1.md +15 -11
- data/man/ronin-web-reverse-proxy.1 +33 -38
- data/man/ronin-web-reverse-proxy.1.md +20 -14
- data/man/ronin-web-screenshot.1 +56 -0
- data/man/ronin-web-screenshot.1.md +56 -0
- data/man/ronin-web-server.1 +15 -29
- data/man/ronin-web-server.1.md +13 -9
- data/man/ronin-web-session-cookie.1 +38 -0
- data/man/ronin-web-session-cookie.1.md +41 -0
- data/man/ronin-web-spider.1 +121 -130
- data/man/ronin-web-spider.1.md +115 -66
- data/man/ronin-web-user-agent.1 +44 -0
- data/man/ronin-web-user-agent.1.md +46 -0
- data/man/ronin-web-vulns.1 +175 -0
- data/man/ronin-web-vulns.1.md +177 -0
- data/man/ronin-web-wordlist.1 +258 -0
- data/man/ronin-web-wordlist.1.md +263 -0
- data/man/ronin-web-xml.1 +43 -0
- data/man/ronin-web-xml.1.md +46 -0
- data/man/ronin-web.1 +67 -18
- data/man/ronin-web.1.md +55 -4
- data/scripts/setup +58 -0
- metadata +122 -31
- data/lib/ronin/web/mechanize.rb +0 -82
- data/man/ronin-web-new-webapp.1.md +0 -39
- /data/data/new/{webapp → app}/.gitignore +0 -0
- /data/data/new/{webapp → app}/.ruby-version.erb +0 -0
- /data/data/new/{webapp → app}/Dockerfile.erb +0 -0
- /data/data/new/{webapp → app}/Gemfile +0 -0
- /data/data/new/{webapp → app}/app.rb.erb +0 -0
- /data/data/new/{webapp → app}/config.ru +0 -0
- /data/data/new/{webapp → app}/docker-compose.yml.erb +0 -0
data/man/ronin-web-new-server.1
CHANGED
@@ -1,45 +1,33 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-web-new-server 1 "May 2022" Ronin "User Manuals"
|
4
|
-
.LP
|
5
4
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin-web new server\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP\[rB]
|
9
|
-
.LP
|
5
|
+
.PP
|
6
|
+
\fBronin\-web new server\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP\[rB]
|
10
7
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
8
|
.PP
|
13
|
-
Generates a new \fBronin
|
14
|
-
.LP
|
9
|
+
Generates a new \fBronin\-web\-server\fR script\.
|
15
10
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
11
|
.TP
|
18
12
|
\fIFILE\fP
|
19
13
|
The file to create\.
|
20
|
-
.LP
|
21
14
|
.SH OPTIONS
|
22
|
-
.LP
|
23
15
|
.TP
|
24
|
-
\fB
|
25
|
-
Optional host or IP interface to listen on\. Defaults to \fB0
|
26
|
-
.LP
|
16
|
+
\fB\-H\fR, \fB\-\-host\fR \fIHOST\fP\[or]\fIIP\fP
|
17
|
+
Optional host or IP interface to listen on\. Defaults to \fB0\.0\.0\.0\fR\.
|
27
18
|
.TP
|
28
|
-
\fB
|
19
|
+
\fB\-p\fR, \fB\-\-port\fR \fIPORT\fP
|
29
20
|
Optional port to listen on\. Defaults to \fB8000\fR\.
|
30
|
-
.LP
|
31
21
|
.TP
|
32
|
-
\fB
|
22
|
+
\fB\-h\fR, \fB\-\-help\fR
|
33
23
|
Print help information
|
34
|
-
.LP
|
35
24
|
.SH AUTHOR
|
36
|
-
.LP
|
37
25
|
.PP
|
38
26
|
Postmodern
|
39
27
|
.MT postmodern\.mod3\[at]gmail\.com
|
40
28
|
.ME
|
41
|
-
.LP
|
42
29
|
.SH SEE ALSO
|
43
|
-
.LP
|
44
30
|
.PP
|
45
|
-
ronin\-web\-new\-nokogiri
|
31
|
+
.BR ronin\-web\-new\-nokogiri (1)
|
32
|
+
.BR ronin\-web\-new\-spider (1)
|
33
|
+
.BR ronin\-web\-new\-app (1)
|
@@ -11,18 +11,18 @@ Generates a new `ronin-web-server` script.
|
|
11
11
|
## ARGUMENTS
|
12
12
|
|
13
13
|
*FILE*
|
14
|
-
|
14
|
+
: The file to create.
|
15
15
|
|
16
16
|
## OPTIONS
|
17
17
|
|
18
18
|
`-H`, `--host` *HOST*\|*IP*
|
19
|
-
|
19
|
+
: Optional host or IP interface to listen on. Defaults to `0.0.0.0`.
|
20
20
|
|
21
21
|
`-p`, `--port` *PORT*
|
22
|
-
|
22
|
+
: Optional port to listen on. Defaults to `8000`.
|
23
23
|
|
24
24
|
`-h`, `--help`
|
25
|
-
|
25
|
+
: Print help information
|
26
26
|
|
27
27
|
## AUTHOR
|
28
28
|
|
@@ -30,4 +30,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
30
30
|
|
31
31
|
## SEE ALSO
|
32
32
|
|
33
|
-
ronin-web-new-nokogiri(1) ronin-web-new-spider(1) ronin-web-new-
|
33
|
+
[ronin-web-new-nokogiri](ronin-web-new-nokogiri.1.md) [ronin-web-new-spider](ronin-web-new-spider.1.md) [ronin-web-new-app](ronin-web-new-app.1.md)
|
data/man/ronin-web-new-spider.1
CHANGED
@@ -1,173 +1,129 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-web-new-spider 1 "May 2022" Ronin "User Manuals"
|
4
|
-
.LP
|
5
4
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin-web new spider\fR \[lB]\fIoptions\fP\[rB] \[lC]\fB--host\fR\[lB]\fB=\fR\fIHOST\fP\[rB] \[or] \fB--domain\fR\[lB]\fB=\fR\fIDOMAIN\fP\[rB] \[or] \fB--site\fR\[lB]\fB=\fR\fIURL\fP\[rB]\[rC] \[lB]\fIFILE\fP\[rB]
|
9
|
-
.LP
|
5
|
+
.PP
|
6
|
+
\fBronin\-web new spider\fR \[lB]\fIoptions\fP\[rB] \[lC]\fB\-\-host\fR\[lB]\fB\[eq]\fR\fIHOST\fP\[rB] \[or] \fB\-\-domain\fR\[lB]\fB\[eq]\fR\fIDOMAIN\fP\[rB] \[or] \fB\-\-site\fR\[lB]\fB\[eq]\fR\fIURL\fP\[rB]\[rC] \[lB]\fIFILE\fP\[rB]
|
10
7
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
8
|
.PP
|
13
9
|
Generates a new spider Ruby script\.
|
14
|
-
.LP
|
15
10
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
11
|
.TP
|
18
12
|
\fIFILE\fP
|
19
13
|
The file to create\.
|
20
|
-
.LP
|
21
14
|
.SH OPTIONS
|
22
|
-
.
|
23
|
-
|
24
|
-
\fB--host\fR\[lB]\fB=\fR\fIHOST\fP\[rB]
|
15
|
+
.TP
|
16
|
+
\fB\-\-host\fR\[lB]\fB\[eq]\fR\fIHOST\fP\[rB]
|
25
17
|
Spiders a host\.
|
26
|
-
.
|
27
|
-
|
28
|
-
\fB--domain\fR\[lB]\fB=\fR\fIDOMAIN\fP\[rB]
|
18
|
+
.TP
|
19
|
+
\fB\-\-domain\fR\[lB]\fB\[eq]\fR\fIDOMAIN\fP\[rB]
|
29
20
|
Spiders a domain\.
|
30
|
-
.
|
31
|
-
|
32
|
-
\fB--site\fR\[lB]\fB=\fR\fIURL\fP\[rB]
|
21
|
+
.TP
|
22
|
+
\fB\-\-site\fR\[lB]\fB\[eq]\fR\fIURL\fP\[rB]
|
33
23
|
Spiders a site\.
|
34
|
-
.LP
|
35
24
|
.TP
|
36
|
-
\fB
|
25
|
+
\fB\-\-every\-link\fR
|
37
26
|
Adds a callback for every link\.
|
38
|
-
.LP
|
39
27
|
.TP
|
40
|
-
\fB
|
28
|
+
\fB\-\-every\-url\fR
|
41
29
|
Adds a callback for every URL\.
|
42
|
-
.LP
|
43
30
|
.TP
|
44
|
-
\fB
|
31
|
+
\fB\-\-every\-failed\-url\fR
|
45
32
|
Adds a callback for every failed URL\.
|
46
|
-
.LP
|
47
33
|
.TP
|
48
|
-
\fB
|
34
|
+
\fB\-\-every\-url\-like\fR \fB\[sl]\fR\fIREGEXP\fP\fB\[sl]\fR
|
49
35
|
Adds a callback for every URL that matches the regexp\.
|
50
|
-
.LP
|
51
36
|
.TP
|
52
|
-
\fB
|
37
|
+
\fB\-\-all\-headers\fR
|
53
38
|
Adds a callback for all HTTP Headers\.
|
54
|
-
.LP
|
55
39
|
.TP
|
56
|
-
\fB
|
40
|
+
\fB\-\-every\-page\fR
|
57
41
|
Adds a callback for every page\.
|
58
|
-
.LP
|
59
42
|
.TP
|
60
|
-
\fB
|
43
|
+
\fB\-\-every\-ok\-page\fR
|
61
44
|
Adds a callback for every HTTP 200 page\.
|
62
|
-
.LP
|
63
45
|
.TP
|
64
|
-
\fB
|
46
|
+
\fB\-\-every\-redirect\-page\fR
|
65
47
|
Adds a callback for every redirect page\.
|
66
|
-
.LP
|
67
48
|
.TP
|
68
|
-
\fB
|
49
|
+
\fB\-\-every\-timedout\-page\fR
|
69
50
|
Adds a callback for every timedout page\.
|
70
|
-
.LP
|
71
51
|
.TP
|
72
|
-
\fB
|
52
|
+
\fB\-\-every\-bad\-request\-page\fR
|
73
53
|
Adds a callback for every bad request page\.
|
74
|
-
.LP
|
75
54
|
.TP
|
76
|
-
\fB
|
55
|
+
\fB\-\-every\-unauthorized\-page\fR
|
77
56
|
Adds a callback for every unauthorized page\.
|
78
|
-
.LP
|
79
57
|
.TP
|
80
|
-
\fB
|
58
|
+
\fB\-\-every\-forbidden\-page\fR
|
81
59
|
Adds a callback for every forbidden page\.
|
82
|
-
.LP
|
83
60
|
.TP
|
84
|
-
\fB
|
61
|
+
\fB\-\-every\-missing\-page\fR
|
85
62
|
Adds a callback for every missing page\.
|
86
|
-
.LP
|
87
63
|
.TP
|
88
|
-
\fB
|
64
|
+
\fB\-\-every\-internal\-server\-error\-page\fR
|
89
65
|
Adds a callback for every internal server error page\.
|
90
|
-
.LP
|
91
66
|
.TP
|
92
|
-
\fB
|
67
|
+
\fB\-\-every\-txt\-page\fR
|
93
68
|
Adds a callback for every TXT page\.
|
94
|
-
.LP
|
95
69
|
.TP
|
96
|
-
\fB
|
70
|
+
\fB\-\-every\-html\-page\fR
|
97
71
|
Adds a callback for every HTML page\.
|
98
|
-
.LP
|
99
72
|
.TP
|
100
|
-
\fB
|
73
|
+
\fB\-\-every\-xml\-page\fR
|
101
74
|
Adds a callback for every XML page\.
|
102
|
-
.LP
|
103
75
|
.TP
|
104
|
-
\fB
|
76
|
+
\fB\-\-every\-xsl\-page\fR
|
105
77
|
Adds a callback for every XSL page\.
|
106
|
-
.LP
|
107
78
|
.TP
|
108
|
-
\fB
|
79
|
+
\fB\-\-every\-javascript\-page\fR
|
109
80
|
Adds a callback for every JavaScript page\.
|
110
|
-
.LP
|
111
81
|
.TP
|
112
|
-
\fB
|
82
|
+
\fB\-\-every\-css\-page\fR
|
113
83
|
Adds a callback for every CSS page\.
|
114
|
-
.LP
|
115
84
|
.TP
|
116
|
-
\fB
|
85
|
+
\fB\-\-every\-rss\-page\fR
|
117
86
|
Adds a callback for every RSS page\.
|
118
|
-
.LP
|
119
87
|
.TP
|
120
|
-
\fB
|
88
|
+
\fB\-\-every\-atom\-page\fR
|
121
89
|
Adds a callback for every Atom page\.
|
122
|
-
.LP
|
123
90
|
.TP
|
124
|
-
\fB
|
91
|
+
\fB\-\-every\-ms\-word\-page\fR
|
125
92
|
Adds a callback for every MS Wod page\.
|
126
|
-
.LP
|
127
93
|
.TP
|
128
|
-
\fB
|
94
|
+
\fB\-\-every\-pdf\-page\fR
|
129
95
|
Adds a callback for every PDF page\.
|
130
|
-
.LP
|
131
96
|
.TP
|
132
|
-
\fB
|
97
|
+
\fB\-\-every\-zip\-page\fR
|
133
98
|
Adds a callback for every ZIP page\.
|
134
|
-
.LP
|
135
99
|
.TP
|
136
|
-
\fB
|
100
|
+
\fB\-\-every\-doc\fR
|
137
101
|
Adds a callback for every HTML\[sl]XML document\.
|
138
|
-
.LP
|
139
102
|
.TP
|
140
|
-
\fB
|
103
|
+
\fB\-\-every\-html\-doc\fR
|
141
104
|
Adds a callback for every HTML document\.
|
142
|
-
.LP
|
143
105
|
.TP
|
144
|
-
\fB
|
106
|
+
\fB\-\-every\-xml\-doc\fR
|
145
107
|
Adds a callback for every XML document\.
|
146
|
-
.LP
|
147
108
|
.TP
|
148
|
-
\fB
|
109
|
+
\fB\-\-every\-xsl\-doc\fR
|
149
110
|
Adds a callback for every XSL document\.
|
150
|
-
.LP
|
151
111
|
.TP
|
152
|
-
\fB
|
112
|
+
\fB\-\-every\-rss\-doc\fR
|
153
113
|
Adds a callback for every RSS document\.
|
154
|
-
.LP
|
155
114
|
.TP
|
156
|
-
\fB
|
115
|
+
\fB\-\-every\-atom\-doc\fR
|
157
116
|
Adds a callback for every Atom document\.
|
158
|
-
.LP
|
159
117
|
.TP
|
160
|
-
\fB
|
118
|
+
\fB\-h\fR, \fB\-\-help\fR
|
161
119
|
Print help information
|
162
|
-
.LP
|
163
120
|
.SH AUTHOR
|
164
|
-
.LP
|
165
121
|
.PP
|
166
122
|
Postmodern
|
167
123
|
.MT postmodern\.mod3\[at]gmail\.com
|
168
124
|
.ME
|
169
|
-
.LP
|
170
125
|
.SH SEE ALSO
|
171
|
-
.LP
|
172
126
|
.PP
|
173
|
-
ronin\-web\-new\-nokogiri
|
127
|
+
.BR ronin\-web\-new\-nokogiri (1)
|
128
|
+
.BR ronin\-web\-new\-server (1)
|
129
|
+
.BR ronin\-web\-new\-app (1)
|
@@ -11,114 +11,114 @@ Generates a new spider Ruby script.
|
|
11
11
|
## ARGUMENTS
|
12
12
|
|
13
13
|
*FILE*
|
14
|
-
|
14
|
+
: The file to create.
|
15
15
|
|
16
16
|
## OPTIONS
|
17
17
|
|
18
18
|
`--host`[`=`*HOST*]
|
19
|
-
|
19
|
+
: Spiders a host.
|
20
20
|
|
21
21
|
`--domain`[`=`*DOMAIN*]
|
22
|
-
|
22
|
+
: Spiders a domain.
|
23
23
|
|
24
24
|
`--site`[`=`*URL*]
|
25
|
-
|
25
|
+
: Spiders a site.
|
26
26
|
|
27
27
|
`--every-link`
|
28
|
-
|
28
|
+
: Adds a callback for every link.
|
29
29
|
|
30
30
|
`--every-url`
|
31
|
-
|
31
|
+
: Adds a callback for every URL.
|
32
32
|
|
33
33
|
`--every-failed-url`
|
34
|
-
|
34
|
+
: Adds a callback for every failed URL.
|
35
35
|
|
36
36
|
`--every-url-like` `/`*REGEXP*`/`
|
37
|
-
|
37
|
+
: Adds a callback for every URL that matches the regexp.
|
38
38
|
|
39
39
|
`--all-headers`
|
40
|
-
|
40
|
+
: Adds a callback for all HTTP Headers.
|
41
41
|
|
42
42
|
`--every-page`
|
43
|
-
|
43
|
+
: Adds a callback for every page.
|
44
44
|
|
45
45
|
`--every-ok-page`
|
46
|
-
|
46
|
+
: Adds a callback for every HTTP 200 page.
|
47
47
|
|
48
48
|
`--every-redirect-page`
|
49
|
-
|
49
|
+
: Adds a callback for every redirect page.
|
50
50
|
|
51
51
|
`--every-timedout-page`
|
52
|
-
|
52
|
+
: Adds a callback for every timedout page.
|
53
53
|
|
54
54
|
`--every-bad-request-page`
|
55
|
-
|
55
|
+
: Adds a callback for every bad request page.
|
56
56
|
|
57
57
|
`--every-unauthorized-page`
|
58
|
-
|
58
|
+
: Adds a callback for every unauthorized page.
|
59
59
|
|
60
60
|
`--every-forbidden-page`
|
61
|
-
|
61
|
+
: Adds a callback for every forbidden page.
|
62
62
|
|
63
63
|
`--every-missing-page`
|
64
|
-
|
64
|
+
: Adds a callback for every missing page.
|
65
65
|
|
66
66
|
`--every-internal-server-error-page`
|
67
|
-
|
67
|
+
: Adds a callback for every internal server error page.
|
68
68
|
|
69
69
|
`--every-txt-page`
|
70
|
-
|
70
|
+
: Adds a callback for every TXT page.
|
71
71
|
|
72
72
|
`--every-html-page`
|
73
|
-
|
73
|
+
: Adds a callback for every HTML page.
|
74
74
|
|
75
75
|
`--every-xml-page`
|
76
|
-
|
76
|
+
: Adds a callback for every XML page.
|
77
77
|
|
78
78
|
`--every-xsl-page`
|
79
|
-
|
79
|
+
: Adds a callback for every XSL page.
|
80
80
|
|
81
81
|
`--every-javascript-page`
|
82
|
-
|
82
|
+
: Adds a callback for every JavaScript page.
|
83
83
|
|
84
84
|
`--every-css-page`
|
85
|
-
|
85
|
+
: Adds a callback for every CSS page.
|
86
86
|
|
87
87
|
`--every-rss-page`
|
88
|
-
|
88
|
+
: Adds a callback for every RSS page.
|
89
89
|
|
90
90
|
`--every-atom-page`
|
91
|
-
|
91
|
+
: Adds a callback for every Atom page.
|
92
92
|
|
93
93
|
`--every-ms-word-page`
|
94
|
-
|
94
|
+
: Adds a callback for every MS Wod page.
|
95
95
|
|
96
96
|
`--every-pdf-page`
|
97
|
-
|
97
|
+
: Adds a callback for every PDF page.
|
98
98
|
|
99
99
|
`--every-zip-page`
|
100
|
-
|
100
|
+
: Adds a callback for every ZIP page.
|
101
101
|
|
102
102
|
`--every-doc`
|
103
|
-
|
103
|
+
: Adds a callback for every HTML/XML document.
|
104
104
|
|
105
105
|
`--every-html-doc`
|
106
|
-
|
106
|
+
: Adds a callback for every HTML document.
|
107
107
|
|
108
108
|
`--every-xml-doc`
|
109
|
-
|
109
|
+
: Adds a callback for every XML document.
|
110
110
|
|
111
111
|
`--every-xsl-doc`
|
112
|
-
|
112
|
+
: Adds a callback for every XSL document.
|
113
113
|
|
114
114
|
`--every-rss-doc`
|
115
|
-
|
115
|
+
: Adds a callback for every RSS document.
|
116
116
|
|
117
117
|
`--every-atom-doc`
|
118
|
-
|
118
|
+
: Adds a callback for every Atom document.
|
119
119
|
|
120
120
|
`-h`, `--help`
|
121
|
-
|
121
|
+
: Print help information
|
122
122
|
|
123
123
|
## AUTHOR
|
124
124
|
|
@@ -126,4 +126,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
126
126
|
|
127
127
|
## SEE ALSO
|
128
128
|
|
129
|
-
ronin-web-new-nokogiri(1) ronin-web-new-server(1) ronin-web-new-
|
129
|
+
[ronin-web-new-nokogiri](ronin-web-new-nokogiri.1.md) [ronin-web-new-server](ronin-web-new-server.1.md) [ronin-web-new-app](ronin-web-new-app.1.md)
|
data/man/ronin-web-new.1
CHANGED
@@ -1,59 +1,47 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-web-new 1 "May 2022" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-web\-new \- Creates new projects or scripts
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin-web new\fR \[lB]\fIoptions\fP\[rB] \[lB]\fICOMMAND\fP\[rB]
|
9
|
-
.LP
|
8
|
+
.PP
|
9
|
+
\fBronin\-web new\fR \[lB]\fIoptions\fP\[rB] \[lB]\fICOMMAND\fP\[rB]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Creates a new web server, spider, or nokogiri script\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fICOMMAND\fP
|
19
16
|
The optional command to get detailed new information on\.
|
20
|
-
.LP
|
21
17
|
.SH OPTIONS
|
22
|
-
.LP
|
23
18
|
.TP
|
24
|
-
\fB
|
19
|
+
\fB\-h\fR, \fB\-\-help\fR
|
25
20
|
Print help information
|
26
|
-
.LP
|
27
21
|
.SH COMMANDS
|
28
|
-
.LP
|
29
22
|
.TP
|
30
23
|
\fInokogiri\fP
|
31
|
-
Generates a new \fBnokogiri\fR Ruby script\.
|
32
|
-
.LP
|
33
|
-
.TP
|
34
|
-
\fIserver\fP
|
35
|
-
Generates a new \fBronin-web-server\fR Ruby script\.
|
36
|
-
.LP
|
24
|
+
Generates a new \fBnokogiri\fR Ruby script for parsing HTML\[sl]XML\.
|
37
25
|
.TP
|
38
26
|
\fIspider\fP
|
39
|
-
Generates a new \fBronin
|
40
|
-
.
|
27
|
+
Generates a new \fBronin\-web\-spider\fR Ruby script\.
|
28
|
+
.TP
|
29
|
+
\fIserver\fP
|
30
|
+
Generates a new \fBronin\-web\-server\fR Ruby script\.
|
41
31
|
.TP
|
42
|
-
\
|
43
|
-
Generate a new \fBronin
|
44
|
-
.LP
|
32
|
+
\fIapp\fP
|
33
|
+
Generate a new \fBronin\-web\-server\fR based app\.
|
45
34
|
.TP
|
46
35
|
\fIhelp\fP
|
47
36
|
Lists available \fBronin new\fR commands\.
|
48
|
-
.LP
|
49
37
|
.SH AUTHOR
|
50
|
-
.LP
|
51
38
|
.PP
|
52
39
|
Postmodern
|
53
40
|
.MT postmodern\.mod3\[at]gmail\.com
|
54
41
|
.ME
|
55
|
-
.LP
|
56
42
|
.SH SEE ALSO
|
57
|
-
.LP
|
58
43
|
.PP
|
59
|
-
ronin\-web\-new\-nokogiri
|
44
|
+
.BR ronin\-web\-new\-nokogiri (1)
|
45
|
+
.BR ronin\-web\-new\-server (1)
|
46
|
+
.BR ronin\-web\-new\-spider (1)
|
47
|
+
.BR ronin\-web\-new\-app (1)
|
data/man/ronin-web-new.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-web-new 1 "May 2022" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-web-new - Creates new projects or scripts
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin-web new` [*options*] [*COMMAND*]
|
@@ -11,29 +15,29 @@ Creates a new web server, spider, or nokogiri script.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*COMMAND*
|
14
|
-
|
18
|
+
: The optional command to get detailed new information on.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-h`, `--help`
|
19
|
-
|
23
|
+
: Print help information
|
20
24
|
|
21
25
|
## COMMANDS
|
22
26
|
|
23
27
|
*nokogiri*
|
24
|
-
|
25
|
-
|
26
|
-
*server*
|
27
|
-
Generates a new `ronin-web-server` Ruby script.
|
28
|
+
: Generates a new `nokogiri` Ruby script for parsing HTML/XML.
|
28
29
|
|
29
30
|
*spider*
|
30
|
-
|
31
|
+
: Generates a new `ronin-web-spider` Ruby script.
|
32
|
+
|
33
|
+
*server*
|
34
|
+
: Generates a new `ronin-web-server` Ruby script.
|
31
35
|
|
32
|
-
*
|
33
|
-
|
36
|
+
*app*
|
37
|
+
: Generate a new `ronin-web-server` based app.
|
34
38
|
|
35
39
|
*help*
|
36
|
-
|
40
|
+
: Lists available `ronin new` commands.
|
37
41
|
|
38
42
|
## AUTHOR
|
39
43
|
|
@@ -41,4 +45,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
41
45
|
|
42
46
|
## SEE ALSO
|
43
47
|
|
44
|
-
ronin-web-new-nokogiri(1) ronin-web-new-server(1) ronin-web-new-spider(1) ronin-web-new-
|
48
|
+
[ronin-web-new-nokogiri](ronin-web-new-nokogiri.1.md) [ronin-web-new-server](ronin-web-new-server.1.md) [ronin-web-new-spider](ronin-web-new-spider.1.md) [ronin-web-new-app](ronin-web-new-app.1.md)
|
@@ -1,63 +1,58 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-web-proxy 1 "2022-01-01" Ronin "User Manuals"
|
4
|
-
.
|
3
|
+
.TH ronin-web-reverse-proxy 1 "2022-01-01" Ronin "User Manuals"
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-web\-reverse\-proxy \- Starts a HTTP proxy server
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin-web proxy\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB--host\fR \fIHOST\fP\[rB] \[lB]\fB--port\fR \fIPORT\fP\[rB]
|
9
|
-
.LP
|
8
|
+
.PP
|
9
|
+
\fBronin\-web reverse\-proxy\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB\-\-host\fR \fIHOST\fP\[rB] \[lB]\fB\-\-port\fR \fIPORT\fP\[rB]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
|
-
Starts a HTTP proxy server\.
|
14
|
-
.LP
|
12
|
+
Starts a HTTP reverse proxy server\.
|
15
13
|
.SH OPTIONS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
|
-
\fB
|
15
|
+
\fB\-H\fR, \fB\-\-host\fR \fIHOST\fP
|
19
16
|
The host that the proxy server will listen on\. Defaults to \fBlocalhost\fR\.
|
20
|
-
.LP
|
21
17
|
.TP
|
22
|
-
\fB
|
18
|
+
\fB\-p\fR, \fB\-\-port\fR \fIPORT\fP
|
23
19
|
The port that the proxy server will listen on\. Default to \fB8080\fR\.
|
24
|
-
.LP
|
25
20
|
.TP
|
26
|
-
\fB
|
21
|
+
\fB\-b\fR, \fB\-\-show\-body\fR
|
27
22
|
Controls whether to display the request\[sl]response bodies or not\.
|
28
|
-
.
|
29
|
-
|
30
|
-
\fB--rewrite-requests\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC]
|
23
|
+
.TP
|
24
|
+
\fB\-\-rewrite\-requests\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC]
|
31
25
|
Rewrites all request bodies by replacing the \fISTRING\fP or \fIREGEXP\fP with the
|
32
26
|
given \fIREPLACE\fP string\.
|
33
|
-
.
|
34
|
-
|
35
|
-
\fB--rewrite-responses\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC]
|
27
|
+
.TP
|
28
|
+
\fB\-\-rewrite\-responses\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC]
|
36
29
|
Rewrites all response bodies by replacing the \fISTRING\fP or \fIREGEXP\fP with the
|
37
30
|
given \fIREPLACE\fP string\.
|
38
|
-
.LP
|
39
31
|
.TP
|
40
|
-
\fB
|
32
|
+
\fB\-h\fR, \fB\-\-help\fR
|
41
33
|
prints help information\.
|
42
|
-
.LP
|
43
34
|
.SH EXAMPLES
|
44
|
-
.
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
.
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
.
|
35
|
+
.PP
|
36
|
+
Listen on the external interface on port 80:
|
37
|
+
.PP
|
38
|
+
.RS 4
|
39
|
+
.EX
|
40
|
+
\[Do] sudo ronin\-web reverse\-proxy \-\-host 0\.0\.0\.0 \-\-port 80
|
41
|
+
.EE
|
42
|
+
.RE
|
43
|
+
.PP
|
44
|
+
Replace every occurrence of \fBhttps\fR with \fBhttp\fR in the response bodies:
|
45
|
+
.PP
|
46
|
+
.RS 4
|
47
|
+
.EX
|
48
|
+
\[Do] ronin\-web reverse\-proxy \-\-rewrite\-responses https:http
|
49
|
+
.EE
|
50
|
+
.RE
|
53
51
|
.SH AUTHOR
|
54
|
-
.LP
|
55
52
|
.PP
|
56
53
|
Postmodern
|
57
54
|
.MT postmodern\.mod3\[at]gmail\.com
|
58
55
|
.ME
|
59
|
-
.LP
|
60
56
|
.SH SEE ALSO
|
61
|
-
.LP
|
62
57
|
.PP
|
63
|
-
ronin\-web\-server(1)
|
58
|
+
.BR ronin\-web\-server (1)
|