ronin-web 1.0.2 → 2.0.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -2
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +5 -0
  5. data/ChangeLog.md +46 -1
  6. data/Gemfile +25 -12
  7. data/README.md +257 -51
  8. data/Rakefile +9 -0
  9. data/data/completions/ronin-web +203 -0
  10. data/gemspec.yml +18 -5
  11. data/lib/ronin/web/cli/browser_options.rb +92 -0
  12. data/lib/ronin/web/cli/browser_shell.rb +448 -0
  13. data/lib/ronin/web/cli/command.rb +1 -1
  14. data/lib/ronin/web/cli/commands/browser.rb +373 -0
  15. data/lib/ronin/web/cli/commands/completion.rb +63 -0
  16. data/lib/ronin/web/cli/commands/diff.rb +60 -8
  17. data/lib/ronin/web/cli/commands/html.rb +21 -33
  18. data/lib/ronin/web/cli/commands/irb.rb +1 -1
  19. data/lib/ronin/web/cli/commands/new/{webapp.rb → app.rb} +8 -8
  20. data/lib/ronin/web/cli/commands/new/nokogiri.rb +4 -4
  21. data/lib/ronin/web/cli/commands/new/server.rb +1 -1
  22. data/lib/ronin/web/cli/commands/new/spider.rb +1 -1
  23. data/lib/ronin/web/cli/commands/new.rb +5 -3
  24. data/lib/ronin/web/cli/commands/reverse_proxy.rb +1 -1
  25. data/lib/ronin/web/cli/commands/screenshot.rb +186 -0
  26. data/lib/ronin/web/cli/commands/server.rb +1 -1
  27. data/lib/ronin/web/cli/commands/session_cookie.rb +265 -0
  28. data/lib/ronin/web/cli/commands/spider.rb +61 -467
  29. data/lib/ronin/web/cli/commands/user_agent.rb +177 -0
  30. data/lib/ronin/web/cli/commands/vulns.rb +463 -0
  31. data/lib/ronin/web/cli/commands/wordlist.rb +484 -0
  32. data/lib/ronin/web/cli/commands/xml.rb +149 -0
  33. data/lib/ronin/web/cli/js_shell.rb +69 -0
  34. data/lib/ronin/web/cli/ruby_shell.rb +1 -1
  35. data/lib/ronin/web/cli/spider_options.rb +919 -0
  36. data/lib/ronin/web/cli.rb +3 -1
  37. data/lib/ronin/web/html.rb +1 -1
  38. data/lib/ronin/web/root.rb +1 -1
  39. data/lib/ronin/web/version.rb +2 -2
  40. data/lib/ronin/web/xml.rb +1 -1
  41. data/lib/ronin/web.rb +4 -364
  42. data/man/ronin-web-browser.1 +92 -0
  43. data/man/ronin-web-browser.1.md +96 -0
  44. data/man/ronin-web-completion.1 +76 -0
  45. data/man/ronin-web-completion.1.md +78 -0
  46. data/man/ronin-web-diff.1 +14 -21
  47. data/man/ronin-web-diff.1.md +13 -6
  48. data/man/ronin-web-html.1 +30 -46
  49. data/man/ronin-web-html.1.md +27 -17
  50. data/man/ronin-web-irb.1 +9 -16
  51. data/man/ronin-web-irb.1.md +6 -2
  52. data/man/ronin-web-new-app.1.md +39 -0
  53. data/man/ronin-web-new-nokogiri.1 +9 -20
  54. data/man/ronin-web-new-nokogiri.1.md +5 -5
  55. data/man/ronin-web-new-server.1 +11 -23
  56. data/man/ronin-web-new-server.1.md +5 -5
  57. data/man/ronin-web-new-spider.1 +44 -88
  58. data/man/ronin-web-new-spider.1.md +37 -37
  59. data/man/ronin-web-new.1 +18 -30
  60. data/man/ronin-web-new.1.md +15 -11
  61. data/man/ronin-web-reverse-proxy.1 +33 -38
  62. data/man/ronin-web-reverse-proxy.1.md +20 -14
  63. data/man/ronin-web-screenshot.1 +56 -0
  64. data/man/ronin-web-screenshot.1.md +56 -0
  65. data/man/ronin-web-server.1 +15 -29
  66. data/man/ronin-web-server.1.md +13 -9
  67. data/man/ronin-web-session-cookie.1 +38 -0
  68. data/man/ronin-web-session-cookie.1.md +41 -0
  69. data/man/ronin-web-spider.1 +121 -130
  70. data/man/ronin-web-spider.1.md +115 -66
  71. data/man/ronin-web-user-agent.1 +44 -0
  72. data/man/ronin-web-user-agent.1.md +46 -0
  73. data/man/ronin-web-vulns.1 +175 -0
  74. data/man/ronin-web-vulns.1.md +177 -0
  75. data/man/ronin-web-wordlist.1 +258 -0
  76. data/man/ronin-web-wordlist.1.md +263 -0
  77. data/man/ronin-web-xml.1 +43 -0
  78. data/man/ronin-web-xml.1.md +46 -0
  79. data/man/ronin-web.1 +67 -18
  80. data/man/ronin-web.1.md +55 -4
  81. data/scripts/setup +58 -0
  82. metadata +122 -31
  83. data/lib/ronin/web/mechanize.rb +0 -84
  84. data/man/ronin-web-new-webapp.1.md +0 -39
  85. /data/data/new/{webapp → app}/.gitignore +0 -0
  86. /data/data/new/{webapp → app}/.ruby-version.erb +0 -0
  87. /data/data/new/{webapp → app}/Dockerfile.erb +0 -0
  88. /data/data/new/{webapp → app}/Gemfile +0 -0
  89. /data/data/new/{webapp → app}/app.rb.erb +0 -0
  90. /data/data/new/{webapp → app}/config.ru +0 -0
  91. /data/data/new/{webapp → app}/docker-compose.yml.erb +0 -0
@@ -0,0 +1,76 @@
1
+ .\" Generated by kramdown-man 1.0.1
2
+ .\" https://github.com/postmodern/kramdown-man#readme
3
+ .TH ronin-web-completion 1 "2024-01-01" Ronin Web "User Manuals"
4
+ .SH NAME
5
+ .PP
6
+ ronin\-web\-completion \- Manages shell completion rules for \fBronin\-web\fR
7
+ .SH SYNOPSIS
8
+ .PP
9
+ \fBronin\-web completion\fR \[lB]\fIoptions\fP\[rB]
10
+ .SH DESCRIPTION
11
+ .PP
12
+ The \fBronin\-web completion\fR command can print, install, or uninstall shell
13
+ completion rules for the \fBronin\-web\fR command\.
14
+ .PP
15
+ Supports installing completion rules for Bash or Zsh shells\.
16
+ Completion rules for the Fish shell is currently not supported\.
17
+ .SS ZSH SUPPORT
18
+ .PP
19
+ Zsh users will have to add the following lines to their \fB\[ti]\[sl]\.zshrc\fR file in
20
+ order to enable Zsh\[cq]s Bash completion compatibility layer:
21
+ .PP
22
+ .RS 4
23
+ .EX
24
+ autoload \-Uz \[pl]X compinit && compinit
25
+ autoload \-Uz \[pl]X bashcompinit && bashcompinit
26
+ .EE
27
+ .RE
28
+ .SH OPTIONS
29
+ .TP
30
+ \fB\-\-print\fR
31
+ Prints the shell completion file\.
32
+ .TP
33
+ \fB\-\-install\fR
34
+ Installs the shell completion file\.
35
+ .TP
36
+ \fB\-\-uninstall\fR
37
+ Uninstalls the shell completion file\.
38
+ .TP
39
+ \fB\-h\fR, \fB\-\-help\fR
40
+ Prints help information\.
41
+ .SH ENVIRONMENT
42
+ .TP
43
+ \fIPREFIX\fP
44
+ Specifies the root prefix for the file system\.
45
+ .TP
46
+ \fIHOME\fP
47
+ Specifies the home directory of the user\. Ronin will search for the
48
+ \fB\[ti]\[sl]\.cache\[sl]ronin\-web\fR cache directory within the home directory\.
49
+ .TP
50
+ \fIXDG\[ru]DATA\[ru]HOME\fP
51
+ Specifies the data directory to use\. Defaults to \fB\[Do]HOME\[sl]\.local\[sl]share\fR\.
52
+ .SH FILES
53
+ .TP
54
+ \fB\[ti]\[sl]\.local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
55
+ The user\-local installation directory for Bash completion files\.
56
+ .TP
57
+ \fB\[sl]usr\[sl]local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
58
+ The system\-wide installation directory for Bash completions files\.
59
+ .TP
60
+ \fB\[sl]usr\[sl]local\[sl]share\[sl]zsh\[sl]site\-functions\[sl]\fR
61
+ The installation directory for Zsh completion files\.
62
+ .SH EXAMPLES
63
+ .TP
64
+ \fBronin\-web completion \-\-print\fR
65
+ Prints the shell completion rules instead of installing them\.
66
+ .TP
67
+ \fBronin\-web completion \-\-install\fR
68
+ Installs the shell completion rules for \fBronin\-web\fR\.
69
+ .TP
70
+ \fBronin\-web completion \-\-uninstall\fR
71
+ Uninstalls the shell completion rules for \fBronin\-web\fR\.
72
+ .SH AUTHOR
73
+ .PP
74
+ Postmodern
75
+ .MT postmodern\.mod3\[at]gmail\.com
76
+ .ME
@@ -0,0 +1,78 @@
1
+ # ronin-web-completion 1 "2024-01-01" Ronin Web "User Manuals"
2
+
3
+ ## NAME
4
+
5
+ ronin-web-completion - Manages shell completion rules for `ronin-web`
6
+
7
+ ## SYNOPSIS
8
+
9
+ `ronin-web completion` [*options*]
10
+
11
+ ## DESCRIPTION
12
+
13
+ The `ronin-web completion` command can print, install, or uninstall shell
14
+ completion rules for the `ronin-web` command.
15
+
16
+ Supports installing completion rules for Bash or Zsh shells.
17
+ Completion rules for the Fish shell is currently not supported.
18
+
19
+ ### ZSH SUPPORT
20
+
21
+ Zsh users will have to add the following lines to their `~/.zshrc` file in
22
+ order to enable Zsh's Bash completion compatibility layer:
23
+
24
+ autoload -Uz +X compinit && compinit
25
+ autoload -Uz +X bashcompinit && bashcompinit
26
+
27
+ ## OPTIONS
28
+
29
+ `--print`
30
+ : Prints the shell completion file.
31
+
32
+ `--install`
33
+ : Installs the shell completion file.
34
+
35
+ `--uninstall`
36
+ : Uninstalls the shell completion file.
37
+
38
+ `-h`, `--help`
39
+ : Prints help information.
40
+
41
+ ## ENVIRONMENT
42
+
43
+ *PREFIX*
44
+ : Specifies the root prefix for the file system.
45
+
46
+ *HOME*
47
+ : Specifies the home directory of the user. Ronin will search for the
48
+ `~/.cache/ronin-web` cache directory within the home directory.
49
+
50
+ *XDG_DATA_HOME*
51
+ : Specifies the data directory to use. Defaults to `$HOME/.local/share`.
52
+
53
+ ## FILES
54
+
55
+ `~/.local/share/bash-completion/completions/`
56
+ : The user-local installation directory for Bash completion files.
57
+
58
+ `/usr/local/share/bash-completion/completions/`
59
+ : The system-wide installation directory for Bash completions files.
60
+
61
+ `/usr/local/share/zsh/site-functions/`
62
+ : The installation directory for Zsh completion files.
63
+
64
+ ## EXAMPLES
65
+
66
+ `ronin-web completion --print`
67
+ : Prints the shell completion rules instead of installing them.
68
+
69
+ `ronin-web completion --install`
70
+ : Installs the shell completion rules for `ronin-web`.
71
+
72
+ `ronin-web completion --uninstall`
73
+ : Uninstalls the shell completion rules for `ronin-web`.
74
+
75
+ ## AUTHOR
76
+
77
+ Postmodern <postmodern.mod3@gmail.com>
78
+
data/man/ronin-web-diff.1 CHANGED
@@ -1,41 +1,34 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-web-diff 1 "2022-01-01" Ronin Web "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-web\-diff \- Diffs two web pages
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
- \fBronin-web-diff\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC]
9
- .LP
8
+ .PP
9
+ \fBronin\-web diff\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC]
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
- Diffs two separate webpages and prints the HTML nodes which change changed\.
14
- .LP
12
+ Diffs two separate HTML or XML pages and prints the HTML\[sl]XML nodes which were changed\.
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIURL\fP
19
- A \fBhttps://\fR or \fBhttp://\fR URL of the web page to diff\.
20
- .LP
16
+ A \fBhttps:\[sl]\[sl]\fR or \fBhttp:\[sl]\[sl]\fR URL of the web page to diff\.
21
17
  .TP
22
18
  \fIFILE\fP
23
- A path to the local HTML file to diff\.
24
- .LP
19
+ A path to the local HTML or XML file to diff\.
25
20
  .SH OPTIONS
26
- .LP
27
21
  .TP
28
- \fB-h\fR, \fB--help\fR
22
+ \fB\-h\fR, \fB\-\-help\fR
29
23
  Print help information
30
- .LP
24
+ .TP
25
+ \fB\-f\fR, \fB\-\-format\fR \fBhtml\fR\[or]\fBxml\fR
26
+ Pass the format of the URL or files\. Supported formats are \fBhtml\fR and \fBxml\fR\. (Default: \fBhtml\fR)
31
27
  .SH AUTHOR
32
- .LP
33
28
  .PP
34
29
  Postmodern
35
30
  .MT postmodern\.mod3\[at]gmail\.com
36
31
  .ME
37
- .LP
38
32
  .SH SEE ALSO
39
- .LP
40
33
  .PP
41
- ronin\-web\-html(1)
34
+ .BR ronin\-web\-html (1)
@@ -1,25 +1,32 @@
1
1
  # ronin-web-diff 1 "2022-01-01" Ronin Web "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-web-diff - Diffs two web pages
6
+
3
7
  ## SYNOPSIS
4
8
 
5
- `ronin-web-diff` [*options*] {*URL* \| *FILE*} {*URL* \| *FILE*}
9
+ `ronin-web diff` [*options*] {*URL* \| *FILE*} {*URL* \| *FILE*}
6
10
 
7
11
  ## DESCRIPTION
8
12
 
9
- Diffs two separate webpages and prints the HTML nodes which change changed.
13
+ Diffs two separate HTML or XML pages and prints the HTML/XML nodes which were changed.
10
14
 
11
15
  ## ARGUMENTS
12
16
 
13
17
  *URL*
14
- A `https://` or `http://` URL of the web page to diff.
18
+ : A `https://` or `http://` URL of the web page to diff.
15
19
 
16
20
  *FILE*
17
- A path to the local HTML file to diff.
21
+ : A path to the local HTML or XML file to diff.
18
22
 
19
23
  ## OPTIONS
20
24
 
21
25
  `-h`, `--help`
22
- Print help information
26
+ : Print help information
27
+
28
+ `-f`, `--format` `html`|`xml`
29
+ : Pass the format of the URL or files. Supported formats are `html` and `xml`. (Default: `html`)
23
30
 
24
31
  ## AUTHOR
25
32
 
@@ -27,4 +34,4 @@ Postmodern <postmodern.mod3@gmail.com>
27
34
 
28
35
  ## SEE ALSO
29
36
 
30
- ronin-web-html(1)
37
+ [ronin-web-html](ronin-web-html.1.md)
data/man/ronin-web-html.1 CHANGED
@@ -1,89 +1,73 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-web-html 1 "2022-01-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-web\-html \- Performs XPath\[sl]CSS\-path queries on a URL or HTML file
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
- \fBronin-web html\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC] \[lB]\fIXPATH\fP \[or] \fICSS\-path\fP\[rB]
9
- .LP
8
+ .PP
9
+ \fBronin\-web html\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIURL\fP \[or] \fIFILE\fP\[rC] \[lB]\fIXPATH\fP \[or] \fICSS\-path\fP\[rB]
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Performs XPath\[sl]CSS\-path queries on a URL or HTML file\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIURL\fP
19
- The \fBhttp://\fR or \fBhttps://\fR URL to fetch and parse\.
20
- .LP
16
+ The \fBhttp:\[sl]\[sl]\fR or \fBhttps:\[sl]\[sl]\fR URL to fetch and parse\.
21
17
  .TP
22
18
  \fIFILE\fP
23
19
  The local HTML file to parse\.
24
- .LP
25
20
  .TP
26
21
  \fIXPATH\fP
27
22
  The XPath query expression\.
28
- .LP
29
23
  .TP
30
24
  \fICSS\-path\fP
31
25
  The CSS\-path query expression\.
32
- .LP
33
26
  .SH OPTIONS
34
- .LP
35
27
  .TP
36
- \fB-X\fR, \fB--xpath\fR \fIXPATH\fP
28
+ \fB\-X\fR, \fB\-\-xpath\fR \fIXPATH\fP
37
29
  The XPath query to perform\.
38
- .LP
39
30
  .TP
40
- \fB-C\fR, \fB--css-path\fR \fICSS\-path\fP
31
+ \fB\-C\fR, \fB\-\-css\-path\fR \fICSS\-path\fP
41
32
  The CSS\-path query to perform\.
42
- .LP
43
33
  .TP
44
- \fB-M\fR, \fB--meta-tags\fR
45
- Searches for all \fB<meta ...>\fR tags\.
46
- .LP
34
+ \fB\-t\fR, \fB\-\-text\fR
35
+ Prints the inner\-text of the matching elements\.
47
36
  .TP
48
- \fB-l\fR, \fB--links\fR
49
- Searches for all \fB<a href="...">\fR URLs\.
50
- .LP
37
+ \fB\-M\fR, \fB\-\-meta\-tags\fR
38
+ Searches for all \fB<meta \.\.\.>\fR tags\.
51
39
  .TP
52
- \fB-S\fR, \fB--style\fR
40
+ \fB\-l\fR, \fB\-\-links\fR
41
+ Searches for all \fB<a href\[eq]\[dq]\.\.\.\[dq]>\fR URLs\.
42
+ .TP
43
+ \fB\-S\fR, \fB\-\-style\fR
53
44
  Dumps all \fB<style>\fR tags\.
54
- .LP
55
45
  .TP
56
- \fB-s\fR, \fB--stylesheet-urls\fR
57
- Searches for all \fB<link type="text/css" href="..."/>\fR URLs\.
58
- .LP
46
+ \fB\-s\fR, \fB\-\-stylesheet\-urls\fR
47
+ Searches for all \fB<link type\[eq]\[dq]text\[sl]css\[dq] href\[eq]\[dq]\.\.\.\[dq]\[sl]>\fR URLs\.
59
48
  .TP
60
- \fB-J\fR, \fB--javascript\fR
49
+ \fB\-J\fR, \fB\-\-javascript\fR
61
50
  Dumps all javascript source code\.
62
- .LP
63
51
  .TP
64
- \fB-j\fR, \fB--javascript-urls\fR
65
- Searches for all \fB<script src="...">\fR URLs\.
66
- .LP
52
+ \fB\-j\fR, \fB\-\-javascript\-urls\fR
53
+ Searches for all \fB<script src\[eq]\[dq]\.\.\.\[dq]>\fR URLs\.
67
54
  .TP
68
- \fB-f\fR, \fB--form-urls\fR
69
- Searches for all \fB<form action="...">\fR URLS\.
70
- .LP
55
+ \fB\-f\fR, \fB\-\-form\-urls\fR
56
+ Searches for all \fB<form action\[eq]\[dq]\.\.\.\[dq]>\fR URLS\.
71
57
  .TP
72
- \fB-u\fR, \fB--urls\fR
58
+ \fB\-u\fR, \fB\-\-urls\fR
73
59
  Dumps all URLs in the page\.
74
- .LP
75
60
  .TP
76
- \fB-F\fR, \fB--first\fR
61
+ \fB\-F\fR, \fB\-\-first\fR
77
62
  Only print the first match\.
78
- .LP
79
63
  .TP
80
- \fB-h\fR, \fB--help\fR
64
+ \fB\-h\fR, \fB\-\-help\fR
81
65
  Print help information\.
82
- .LP
83
66
  .SH AUTHOR
84
- .LP
85
67
  .PP
86
68
  Postmodern
87
69
  .MT postmodern\.mod3\[at]gmail\.com
88
70
  .ME
89
- .LP
71
+ .SH SEE ALSO
72
+ .PP
73
+ .BR ronin\-web\-xml (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-web-html 1 "2022-01-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-web-html - Performs XPath/CSS-path queries on a URL or HTML file
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin-web html` [*options*] {*URL* \| *FILE*} [*XPATH* \| *CSS-path*]
@@ -11,56 +15,62 @@ Performs XPath/CSS-path queries on a URL or HTML file.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *URL*
14
- The `http://` or `https://` URL to fetch and parse.
18
+ : The `http://` or `https://` URL to fetch and parse.
15
19
 
16
20
  *FILE*
17
- The local HTML file to parse.
21
+ : The local HTML file to parse.
18
22
 
19
23
  *XPATH*
20
- The XPath query expression.
24
+ : The XPath query expression.
21
25
 
22
26
  *CSS-path*
23
- The CSS-path query expression.
27
+ : The CSS-path query expression.
24
28
 
25
29
  ## OPTIONS
26
30
 
27
31
  `-X`, `--xpath` *XPATH*
28
- The XPath query to perform.
29
-
32
+ : The XPath query to perform.
33
+
30
34
  `-C`, `--css-path` *CSS-path*
31
- The CSS-path query to perform.
35
+ : The CSS-path query to perform.
36
+
37
+ `-t`, `--text`
38
+ : Prints the inner-text of the matching elements.
32
39
 
33
40
  `-M`, `--meta-tags`
34
- Searches for all `<meta ...>` tags.
41
+ : Searches for all `<meta ...>` tags.
35
42
 
36
43
  `-l`, `--links`
37
- Searches for all `<a href="...">` URLs.
44
+ : Searches for all `<a href="...">` URLs.
38
45
 
39
46
  `-S`, `--style`
40
- Dumps all `<style>` tags.
47
+ : Dumps all `<style>` tags.
41
48
 
42
49
  `-s`, `--stylesheet-urls`
43
- Searches for all `<link type="text/css" href="..."/>` URLs.
50
+ : Searches for all `<link type="text/css" href="..."/>` URLs.
44
51
 
45
52
  `-J`, `--javascript`
46
- Dumps all javascript source code.
53
+ : Dumps all javascript source code.
47
54
 
48
55
  `-j`, `--javascript-urls`
49
- Searches for all `<script src="...">` URLs.
56
+ : Searches for all `<script src="...">` URLs.
50
57
 
51
58
  `-f`, `--form-urls`
52
- Searches for all `<form action="...">` URLS.
59
+ : Searches for all `<form action="...">` URLS.
53
60
 
54
61
  `-u`, `--urls`
55
- Dumps all URLs in the page.
62
+ : Dumps all URLs in the page.
56
63
 
57
64
  `-F`, `--first`
58
- Only print the first match.
65
+ : Only print the first match.
59
66
 
60
67
  `-h`, `--help`
61
- Print help information.
68
+ : Print help information.
62
69
 
63
70
  ## AUTHOR
64
71
 
65
72
  Postmodern <postmodern.mod3@gmail.com>
66
73
 
74
+ ## SEE ALSO
75
+
76
+ [ronin-web-xml](ronin-web-xml.1.md)
data/man/ronin-web-irb.1 CHANGED
@@ -1,31 +1,24 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-web-irb 1 "May 2022" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-web\-irb \- Starts an interactive Ruby shell with ronin\-web loaded
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
- \fBronin-web irb\fR \[lB]\fIoptions\fP\[rB]
9
- .LP
8
+ .PP
9
+ \fBronin\-web irb\fR \[lB]\fIoptions\fP\[rB]
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
- Starts an interactive Ruby shell with \fBronin/web\fR loaded\.
14
- .LP
12
+ Starts an interactive Ruby shell with \fBronin\[sl]web\fR loaded\.
15
13
  .SH OPTIONS
16
- .LP
17
14
  .TP
18
- \fB-h\fR, \fB--help\fR
15
+ \fB\-h\fR, \fB\-\-help\fR
19
16
  Print help information
20
- .LP
21
17
  .SH AUTHOR
22
- .LP
23
18
  .PP
24
19
  Postmodern
25
20
  .MT postmodern\.mod3\[at]gmail\.com
26
21
  .ME
27
- .LP
28
22
  .SH SEE ALSO
29
- .LP
30
23
  .PP
31
- ronin\-web(1)
24
+ .BR ronin\-web (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-web-irb 1 "May 2022" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-web-irb - Starts an interactive Ruby shell with ronin-web loaded
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin-web irb` [*options*]
@@ -11,7 +15,7 @@ Starts an interactive Ruby shell with `ronin/web` loaded.
11
15
  ## OPTIONS
12
16
 
13
17
  `-h`, `--help`
14
- Print help information
18
+ : Print help information
15
19
 
16
20
  ## AUTHOR
17
21
 
@@ -19,4 +23,4 @@ Postmodern <postmodern.mod3@gmail.com>
19
23
 
20
24
  ## SEE ALSO
21
25
 
22
- ronin-web(1)
26
+ [ronin-web](ronin-web.1.md)
@@ -0,0 +1,39 @@
1
+ # ronin-web-new-app 1 "May 2022" Ronin "User Manuals"
2
+
3
+ ## SYNOPSIS
4
+
5
+ `ronin-web new app` [*options*] [*DIR*]
6
+
7
+ ## DESCRIPTION
8
+
9
+ Generates a new `ronin-web-server` based web app.
10
+
11
+ ## ARGUMENTS
12
+
13
+ *DIR*
14
+ : The project directory to create.
15
+
16
+ ## OPTIONS
17
+
18
+ `--port` *PORT*
19
+ : The port the app will listen on by default. Defaults to `3000`.
20
+
21
+ `--ruby-version` *VERSION*
22
+ : The desired ruby version for the project Defaults to the current ruby version.
23
+
24
+ `--git`
25
+ : Initializes a git repo.
26
+
27
+ `-D`, `--dockerfile`
28
+ : Adds a `Dockerfile` and a `docker-compose.yml` file to the new project.
29
+
30
+ `-h`, `--help`
31
+ : Print help information
32
+
33
+ ## AUTHOR
34
+
35
+ Postmodern <postmodern.mod3@gmail.com>
36
+
37
+ ## SEE ALSO
38
+
39
+ [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)
@@ -1,41 +1,30 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-web-new-nokogiri 1 "May 2022" Ronin "User Manuals"
4
- .LP
5
4
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
- \fBronin-web new nokogiri\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP\[rB]
9
- .LP
5
+ .PP
6
+ \fBronin\-web new nokogiri\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP\[rB]
10
7
  .SH DESCRIPTION
11
- .LP
12
8
  .PP
13
- Generates a new nokogiri Ruby script\.
14
- .LP
9
+ Generates a new nokogiri Ruby script for parsing HTML\[sl]XML\.
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-U\fR, \fB--url\fR \fIURL\fP
16
+ \fB\-U\fR, \fB\-\-url\fR \fIURL\fP
25
17
  Optional URL for the script\.
26
- .LP
27
18
  .TP
28
- \fB-h\fR, \fB--help\fR
19
+ \fB\-h\fR, \fB\-\-help\fR
29
20
  Print help information
30
- .LP
31
21
  .SH AUTHOR
32
- .LP
33
22
  .PP
34
23
  Postmodern
35
24
  .MT postmodern\.mod3\[at]gmail\.com
36
25
  .ME
37
- .LP
38
26
  .SH SEE ALSO
39
- .LP
40
27
  .PP
41
- ronin\-web\-new\-server(1) ronin\-web\-new\-spider(1) ronin\-web\-new\-webapp(1)
28
+ .BR ronin\-web\-new\-server (1)
29
+ .BR ronin\-web\-new\-spider (1)
30
+ .BR ronin\-web\-new\-app (1)
@@ -6,20 +6,20 @@
6
6
 
7
7
  ## DESCRIPTION
8
8
 
9
- Generates a new nokogiri Ruby script.
9
+ Generates a new nokogiri Ruby script for parsing HTML/XML.
10
10
 
11
11
  ## ARGUMENTS
12
12
 
13
13
  *FILE*
14
- The file to create.
14
+ : The file to create.
15
15
 
16
16
  ## OPTIONS
17
17
 
18
18
  `-U`, `--url` *URL*
19
- Optional URL for the script.
19
+ : Optional URL for the script.
20
20
 
21
21
  `-h`, `--help`
22
- Print help information
22
+ : Print help information
23
23
 
24
24
  ## AUTHOR
25
25
 
@@ -27,4 +27,4 @@ Postmodern <postmodern.mod3@gmail.com>
27
27
 
28
28
  ## SEE ALSO
29
29
 
30
- ronin-web-new-server(1) ronin-web-new-spider(1) ronin-web-new-webapp(1)
30
+ [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)