ronin-app 0.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.dockerignore +3 -0
- data/.document +6 -0
- data/.env.dev +1 -0
- data/.github/workflows/ruby.yml +44 -0
- data/.gitignore +16 -0
- data/.rspec +1 -0
- data/.rubocop.yml +26 -0
- data/.ruby-version +1 -0
- data/.yardopts +1 -0
- data/CONTRIBUTING.md +34 -0
- data/COPYING.txt +661 -0
- data/ChangeLog.md +38 -0
- data/Dockerfile +27 -0
- data/Gemfile +61 -0
- data/Procfile +2 -0
- data/Procfile.dev +2 -0
- data/README.md +215 -0
- data/Rakefile +44 -0
- data/app/db.rb +680 -0
- data/app/scanning.rb +173 -0
- data/app.rb +372 -0
- data/bin/ronin-app +34 -0
- data/config/database.rb +17 -0
- data/config/puma.rb +24 -0
- data/config/redis.rb +4 -0
- data/config/sidekiq.rb +23 -0
- data/config/sidekiq.yml +12 -0
- data/config.ru +33 -0
- data/docker-compose.yml +45 -0
- data/etc/systemd/user/ronin-app-sidekiq.1.service +17 -0
- data/etc/systemd/user/ronin-app-web.1.service +18 -0
- data/etc/systemd/user/ronin-app.target +5 -0
- data/gemspec.yml +55 -0
- data/lib/middleware/sidekiq/active_record_connection_pool.rb +47 -0
- data/lib/ronin/app/cli.rb +197 -0
- data/lib/ronin/app/helpers/html.rb +71 -0
- data/lib/ronin/app/root.rb +28 -0
- data/lib/ronin/app/schemas/params_schema.rb +66 -0
- data/lib/ronin/app/schemas/payloads/build_schema.rb +56 -0
- data/lib/ronin/app/schemas/payloads/encoders/encode_schema.rb +60 -0
- data/lib/ronin/app/types/import.rb +35 -0
- data/lib/ronin/app/types/nmap.rb +81 -0
- data/lib/ronin/app/types/spider.rb +49 -0
- data/lib/ronin/app/types/vulns.rb +69 -0
- data/lib/ronin/app/types.rb +66 -0
- data/lib/ronin/app/validations/import_params.rb +71 -0
- data/lib/ronin/app/validations/install_repo_params.rb +78 -0
- data/lib/ronin/app/validations/masscan_params.rb +122 -0
- data/lib/ronin/app/validations/nmap_params.rb +183 -0
- data/lib/ronin/app/validations/recon_params.rb +86 -0
- data/lib/ronin/app/validations/spider_params.rb +103 -0
- data/lib/ronin/app/validations/vulns_params.rb +83 -0
- data/lib/ronin/app/version.rb +26 -0
- data/log/.gitkeep +0 -0
- data/man/ronin-app.1 +63 -0
- data/man/ronin-app.1.md +61 -0
- data/public/images/favicon.png +0 -0
- data/public/images/favicon.svg +78 -0
- data/public/images/logo.svg +78 -0
- data/public/images/sidekiq.svg +24 -0
- data/public/javascript/app.js +60 -0
- data/public/javascript/notes.js +28 -0
- data/public/javascript/tabs.js +40 -0
- data/public/stylesheets/app.css +216 -0
- data/public/stylesheets/bulma.min.css +1 -0
- data/ronin-app.gemspec +63 -0
- data/scripts/console +7 -0
- data/scripts/server +134 -0
- data/scripts/setup +447 -0
- data/scripts/update +55 -0
- data/tmp/.gitkeep +0 -0
- data/views/_authors.erb +62 -0
- data/views/_delete.erb +4 -0
- data/views/_delete_all.erb +4 -0
- data/views/_encoding_tabs.erb +25 -0
- data/views/_notes.erb +33 -0
- data/views/_pagination.erb +1 -0
- data/views/_param_fields.erb +66 -0
- data/views/_params.erb +35 -0
- data/views/about.erb +30 -0
- data/views/db/advisories/index.erb +30 -0
- data/views/db/advisories/show.erb +105 -0
- data/views/db/asns/index.erb +19 -0
- data/views/db/asns/show.erb +61 -0
- data/views/db/credentials/index.erb +30 -0
- data/views/db/credentials/show.erb +51 -0
- data/views/db/email_addresses/index.erb +30 -0
- data/views/db/email_addresses/show.erb +44 -0
- data/views/db/host_names/index.erb +30 -0
- data/views/db/host_names/show.erb +52 -0
- data/views/db/ip_addresses/index.erb +19 -0
- data/views/db/ip_addresses/show.erb +98 -0
- data/views/db/mac_addresses/index.erb +19 -0
- data/views/db/mac_addresses/show.erb +62 -0
- data/views/db/open_ports/index.erb +19 -0
- data/views/db/open_ports/show.erb +87 -0
- data/views/db/organizations/departments/show.erb +82 -0
- data/views/db/organizations/index.erb +28 -0
- data/views/db/organizations/members/show.erb +87 -0
- data/views/db/organizations/show.erb +111 -0
- data/views/db/oses/index.erb +19 -0
- data/views/db/oses/show.erb +46 -0
- data/views/db/passwords/index.erb +30 -0
- data/views/db/passwords/show.erb +52 -0
- data/views/db/people/index.erb +31 -0
- data/views/db/people/show.erb +120 -0
- data/views/db/phone_numbers/index.erb +30 -0
- data/views/db/phone_numbers/show.erb +63 -0
- data/views/db/ports/index.erb +30 -0
- data/views/db/ports/show.erb +70 -0
- data/views/db/services/index.erb +30 -0
- data/views/db/services/show.erb +65 -0
- data/views/db/software/index.erb +19 -0
- data/views/db/software/show.erb +52 -0
- data/views/db/software_vendors/index.erb +19 -0
- data/views/db/software_vendors/show.erb +36 -0
- data/views/db/street_addresses/index.erb +19 -0
- data/views/db/street_addresses/show.erb +63 -0
- data/views/db/url_query_param_names/index.erb +19 -0
- data/views/db/url_query_param_names/show.erb +50 -0
- data/views/db/url_schemes/index.erb +19 -0
- data/views/db/url_schemes/show.erb +36 -0
- data/views/db/urls/index.erb +30 -0
- data/views/db/urls/show.erb +103 -0
- data/views/db/user_names/index.erb +30 -0
- data/views/db/user_names/show.erb +48 -0
- data/views/db/vulns/index.erb +19 -0
- data/views/db/vulns/show.erb +104 -0
- data/views/db.erb +152 -0
- data/views/exploits/index.erb +9 -0
- data/views/exploits/show.erb +100 -0
- data/views/import.erb +30 -0
- data/views/index.erb +7 -0
- data/views/layout.erb +98 -0
- data/views/masscan.erb +459 -0
- data/views/nmap.erb +1009 -0
- data/views/payloads/build.erb +19 -0
- data/views/payloads/encoders/encode.erb +35 -0
- data/views/payloads/encoders/index.erb +9 -0
- data/views/payloads/encoders/show.erb +47 -0
- data/views/payloads/index.erb +9 -0
- data/views/payloads/show.erb +47 -0
- data/views/queue.erb +28 -0
- data/views/recon.erb +55 -0
- data/views/repos/index.erb +30 -0
- data/views/repos/install.erb +45 -0
- data/views/repos/show.erb +39 -0
- data/views/spider.erb +372 -0
- data/views/vulns.erb +214 -0
- data/workers/import.rb +96 -0
- data/workers/install_repo.rb +40 -0
- data/workers/masscan.rb +135 -0
- data/workers/nmap.rb +216 -0
- data/workers/purge_repos.rb +40 -0
- data/workers/recon.rb +95 -0
- data/workers/remove_repo.rb +40 -0
- data/workers/spider.rb +148 -0
- data/workers/update_repo.rb +42 -0
- data/workers/update_repos.rb +40 -0
- data/workers/vulns.rb +111 -0
- data/workers.rb +37 -0
- metadata +538 -0
data/views/db.erb
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
<h1>Database</h1>
|
2
|
+
|
3
|
+
<div class="columns">
|
4
|
+
<div class="box column is-one-quarter">
|
5
|
+
<p>
|
6
|
+
<a href="/db/host_names">Host Names (<%=h @host_name_count %>)</a>
|
7
|
+
</p>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="box column is-one-quarter">
|
11
|
+
<p>
|
12
|
+
<a href="/db/asns">ASNs (<%=h @asn_count %>)</a>
|
13
|
+
</p>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="box column is-one-quarter">
|
17
|
+
<p>
|
18
|
+
<a href="/db/ip_addresses">IP Addresses (<%=h @ip_address_count %>)</a>
|
19
|
+
</p>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="box column is-one-quarter">
|
23
|
+
<p>
|
24
|
+
<a href="/db/mac_addresses">MAC Addresses (<%=h @mac_address_count %>)</a>
|
25
|
+
</p>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="columns">
|
30
|
+
<div class="box column is-one-quarter">
|
31
|
+
<p>
|
32
|
+
<a href="/db/open_ports">Open Ports (<%=h @open_port_count %>)</a>
|
33
|
+
</p>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div class="box column is-one-quarter">
|
37
|
+
<p>
|
38
|
+
<a href="/db/ports">Ports (<%=h @port_count %>)</a>
|
39
|
+
</p>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div class="box column is-one-quarter">
|
43
|
+
<p>
|
44
|
+
<a href="/db/services">Services (<%=h @service_count %>)</a>
|
45
|
+
</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div class="box column is-one-quarter">
|
49
|
+
<p>
|
50
|
+
<a href="/db/vulns">Vulnerabilities (<%=h @vulns_count %>)</a>
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div class="columns">
|
56
|
+
<div class="box column is-one-quarter">
|
57
|
+
<p>
|
58
|
+
<a href="/db/urls">URLs (<%=h @url_count %>)</a>
|
59
|
+
</p>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div class="box column is-one-quarter">
|
63
|
+
<p>
|
64
|
+
<a href="/db/url_schemes">URL Schemes (<%=h @url_scheme_count %>)</a>
|
65
|
+
</p>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div class="box column is-one-quarter">
|
69
|
+
<p>
|
70
|
+
<a href="/db/url_query_param_names">URL Query Param Names (<%=h @url_query_param_name_count %>)</a>
|
71
|
+
</p>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div class="columns">
|
76
|
+
<div class="box column is-one-quarter">
|
77
|
+
<p>
|
78
|
+
<a href="/db/email_addresses">Email Addresses (<%=h @email_address_count %>)</a>
|
79
|
+
</p>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div class="box column is-one-quarter">
|
83
|
+
<p>
|
84
|
+
<a href="/db/user_names">User Names (<%=h @user_name_count %>)</a>
|
85
|
+
</p>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<div class="box column is-one-quarter">
|
89
|
+
<p>
|
90
|
+
<a href="/db/passwords">Passwords (<%=h @password_count %>)</a>
|
91
|
+
</p>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
<div class="box column is-one-quarter">
|
95
|
+
<p>
|
96
|
+
<a href="/db/credentials">Credentials (<%=h @credential_count %>)</a>
|
97
|
+
</p>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div class="columns">
|
102
|
+
<div class="box column is-one-quarter">
|
103
|
+
<p>
|
104
|
+
<a href="/db/advisories">Advisories (<%=h @advisory_count %>)</a>
|
105
|
+
</p>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div class="box column is-one-quarter">
|
109
|
+
<p>
|
110
|
+
<a href="/db/software">Software (<%=h @software_count %>)</a>
|
111
|
+
</p>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
<div class="box column is-one-quarter">
|
115
|
+
<p>
|
116
|
+
<a href="/db/software_vendors">Software Vendors (<%=h @software_vendor_count %>)</a>
|
117
|
+
</p>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="box column is-one-quarter">
|
121
|
+
<p>
|
122
|
+
<a href="/db/oses">OSes (<%=h @oses_count %>)</a>
|
123
|
+
</p>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
|
128
|
+
<div class="columns">
|
129
|
+
<div class="box column is-one-quarter">
|
130
|
+
<p>
|
131
|
+
<a href="/db/phone_numbers">Phone Numbers (<%=h @phone_number_count %>)</a>
|
132
|
+
</p>
|
133
|
+
</div>
|
134
|
+
|
135
|
+
<div class="box column is-one-quarter">
|
136
|
+
<p>
|
137
|
+
<a href="/db/street_addresses">Street Addresses (<%=h @street_address_count %>)</a>
|
138
|
+
</p>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div class="box column is-one-quarter">
|
142
|
+
<p>
|
143
|
+
<a href="/db/organizations">Organizations (<%=h @organization_count %>)</a>
|
144
|
+
</p>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<div class="box column is-one-quarter">
|
148
|
+
<p>
|
149
|
+
<a href="/db/people">People (<%=h @people_count %>)</a>
|
150
|
+
</p>
|
151
|
+
</div>
|
152
|
+
</div>
|
@@ -0,0 +1,100 @@
|
|
1
|
+
<h1>Exploit: <%=h @exploit.id %></h1>
|
2
|
+
|
3
|
+
<table class="table">
|
4
|
+
<tbody>
|
5
|
+
<tr>
|
6
|
+
<td><strong>Name:</strong></td>
|
7
|
+
<td>
|
8
|
+
<kbd><%=h @exploit.id %></kbd>
|
9
|
+
</td>
|
10
|
+
</tr>
|
11
|
+
|
12
|
+
<tr>
|
13
|
+
<td><strong>Quality:</strong></td>
|
14
|
+
<td>
|
15
|
+
<%=h case @exploit.quality
|
16
|
+
when :untested then 'Untested'
|
17
|
+
when :testing then 'Testing'
|
18
|
+
when :poc then 'POC'
|
19
|
+
when :weaponized then 'Weaponized'
|
20
|
+
end %>
|
21
|
+
</td>
|
22
|
+
</tr>
|
23
|
+
|
24
|
+
<tr>
|
25
|
+
<td><strong>Release Date:</strong></td>
|
26
|
+
<td><%=h @exploit.release_date %></td>
|
27
|
+
</tr>
|
28
|
+
|
29
|
+
<tr>
|
30
|
+
<td><strong>Disclosure Date:</strong></td>
|
31
|
+
<td><%=h @exploit.disclosure_date %></td>
|
32
|
+
</tr>
|
33
|
+
|
34
|
+
<tr>
|
35
|
+
<td><strong>Advisories:</strong></td>
|
36
|
+
<td>
|
37
|
+
<ul>
|
38
|
+
<% @exploit.advisories.each do |advisory| %>
|
39
|
+
<li>
|
40
|
+
<a href="<%=h advisory.url %>">
|
41
|
+
<%=h advisory.id %>
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
<% end %>
|
45
|
+
</ul>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
|
49
|
+
<tr>
|
50
|
+
<td><strong>Software:</strong></td>
|
51
|
+
<td><%=h @exploit.software %></td>
|
52
|
+
</tr>
|
53
|
+
|
54
|
+
<tr>
|
55
|
+
<td><strong>Software Versions:</strong></td>
|
56
|
+
<td>
|
57
|
+
<% if @exploit.software_versions %>
|
58
|
+
<% @exploit.software_versions.each do |version| %>
|
59
|
+
<p><%=h @exploit.software_version %></p>
|
60
|
+
<% end %>
|
61
|
+
<% end %>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr>
|
66
|
+
<td><strong>Authors:</strong></td>
|
67
|
+
<td>
|
68
|
+
<%= partial(:authors, authors: @exploit.authors) %>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
|
72
|
+
<tr>
|
73
|
+
<td><strong>Summary:</strong></td>
|
74
|
+
<td><%=h @exploit.summary %></td>
|
75
|
+
</tr>
|
76
|
+
|
77
|
+
<tr>
|
78
|
+
<td><strong>Description:</strong></td>
|
79
|
+
<td>
|
80
|
+
<pre><%=h @exploit.description %></pre>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
|
84
|
+
<tr>
|
85
|
+
<td><strong>References:</strong></td>
|
86
|
+
<td>
|
87
|
+
<% @exploit.references.each do |reference| %>
|
88
|
+
<p><a href="<%=h reference %>"><%=h reference %></a></p>
|
89
|
+
<% end %>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
|
93
|
+
<tr>
|
94
|
+
<td><strong>Params:</strong></td>
|
95
|
+
<td>
|
96
|
+
<%= partial(:params, params: @exploit.params) %>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
</tbody>
|
100
|
+
</table>
|
data/views/import.erb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<h1>Import File</h1>
|
2
|
+
|
3
|
+
<form action="/import" method="post">
|
4
|
+
<div class="field has-addons">
|
5
|
+
<div class="control">
|
6
|
+
<div class="select">
|
7
|
+
<select name="type">
|
8
|
+
<option value="nmap" <%= "selected" if params[:type] == 'nmap' %>>Nmap</option>
|
9
|
+
<option value="masscan" <%= "selected" if params[:type] == 'masscan' %>>Masscan</option>
|
10
|
+
</select>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="control is-required">
|
15
|
+
<% if @errors && @errors[:path] %>
|
16
|
+
<input class="input is-danger" type="text" name="path" value="<%=hattr params[:path] %>">
|
17
|
+
|
18
|
+
<% @errors[:path].each do |error| %>
|
19
|
+
<p class="help is-danger"><%=h error %></p>
|
20
|
+
<% end %>
|
21
|
+
<% else %>
|
22
|
+
<input class="input" type="text" name="path" placeholder="/path/to/file" value="<%=hattr params[:path] %>">
|
23
|
+
<% end %>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="field">
|
28
|
+
<button type="submit" class="button is-primary">Import</button>
|
29
|
+
</div>
|
30
|
+
</form>
|
data/views/index.erb
ADDED
data/views/layout.erb
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
3
|
+
<head>
|
4
|
+
<meta name="charset" value="utf-8" />
|
5
|
+
|
6
|
+
<link rel="icon" href="/images/favicon.png" />
|
7
|
+
<link rel="icon" href="/images/favicon.svg" sizes="any" type="image/svg+xml" />
|
8
|
+
<link rel="stylesheet" type="text/css" media="screen" href="/stylesheets/bulma.min.css" />
|
9
|
+
<link rel="stylesheet" type="text/css" media="screen" href="/stylesheets/app.css" />
|
10
|
+
<script type="text/javascript" src="/javascript/app.js"></script>
|
11
|
+
</head>
|
12
|
+
|
13
|
+
<body>
|
14
|
+
<header class="hero">
|
15
|
+
<nav id="top-menu" class="level">
|
16
|
+
<div class="level-right">
|
17
|
+
<a class="level-item" href="/sidekiq" title="Sidekiq Dashboard">
|
18
|
+
<img src="/images/sidekiq.svg" />
|
19
|
+
</a>
|
20
|
+
|
21
|
+
<a class="level-item" href="https://github.com/ronin-rb/ronin-app" title="GitHub">
|
22
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><title>GitHub logo</title><path fill="#ffffff" d="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z" /></svg>
|
23
|
+
</a>
|
24
|
+
|
25
|
+
<button id="dark-mode-toggle" class="level-item">
|
26
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="dark-mode-sun" viewBox="0 0 512 512"><path fill="#ffffff" d="M256,384c-70.7,0-128-57.3-128-128s57.3-128,128-128s128,57.3,128,128S326.7,384,256,384z M256,0 c14.1,0,25.6,11.5,25.6,25.6v51.2c0,14.1-11.5,25.6-25.6,25.6c-14.1,0-25.6-11.5-25.6-25.6V25.6C230.4,11.5,241.9,0,256,0z M256,409.6c14.1,0,25.6,11.5,25.6,25.6v51.2c0,14.1-11.5,25.6-25.6,25.6c-14.1,0-25.6-11.5-25.6-25.6v-51.2 C230.4,421.1,241.9,409.6,256,409.6z M25.6,230.4h51.2c14.1,0,25.6,11.5,25.6,25.6c0,14.1-11.5,25.6-25.6,25.6H25.6 C11.5,281.6,0,270.1,0,256C0,241.9,11.5,230.4,25.6,230.4z M435.2,230.4h51.2c14.1,0,25.6,11.5,25.6,25.6 c0,14.1-11.5,25.6-25.6,25.6h-51.2c-14.1,0-25.6-11.5-25.6-25.6C409.6,241.9,421.1,230.4,435.2,230.4z M437,75 c10,10,10,26.2,0,36.2l-36.2,36.2c-9.8,10.2-26,10.4-36.2,0.6c-10.2-9.8-10.5-26-0.6-36.2l0.6-0.6L400.8,75C410.8,65,427,65,437,75 z M147.4,364.6c10,10,10,26.2,0,36.2L111.2,437c-9.8,10.2-26,10.5-36.2,0.6c-10.2-9.8-10.5-26-0.6-36.2l0.6-0.6l36.2-36.2 C121.2,354.6,137.4,354.6,147.4,364.6z M111.2,75l36.2,36.2c9.8,10.2,9.6,26.4-0.6,36.2c-9.9,9.6-25.7,9.6-35.6,0L75,111.2 C65.2,101,65.5,84.8,75.6,75C85.6,65.4,101.3,65.4,111.2,75L111.2,75z M400.8,364.6l36.2,36.2c9.8,10.2,9.5,26.4-0.6,36.2 c-9.9,9.6-25.7,9.6-35.6,0l-36.2-36.2c-10.2-9.8-10.5-26-0.6-36.2c9.8-10.2,26-10.5,36.2-0.6L400.8,364.6z"/></svg>
|
27
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="dark-mode-moon" viewBox="0 0 20 20"><path fill="#ffffff" d="M17.39 15.14A7.33 7.33 0 0 1 11.75 1.6c.23-.11.56-.23.79-.34a8.19 8.19 0 0 0-5.41.45 9 9 0 1 0 7 16.58 8.42 8.42 0 0 0 4.29-3.84 5.3 5.3 0 0 1-1.03.69z"/></svg>
|
28
|
+
</button>
|
29
|
+
</div>
|
30
|
+
</nav>
|
31
|
+
|
32
|
+
<div class="container has-text-centered">
|
33
|
+
<div id="logo">
|
34
|
+
<a href="/" title="Home">
|
35
|
+
<img src="/images/logo.svg" alt="Ronin logo" width="75%" />
|
36
|
+
</a>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="container">
|
41
|
+
<nav id="app-menu" class="navbar" role="navigation" aria-label="main navigation">
|
42
|
+
<div class="navbar-menu">
|
43
|
+
<div class="navbar-start">
|
44
|
+
<a href="/" class="navbar-item">home</a>
|
45
|
+
<a href="/repos" class="navbar-item">repos</a>
|
46
|
+
<a href="/payloads" class="navbar-item">payloads</a>
|
47
|
+
<a href="/exploits" class="navbar-item">exploits</a>
|
48
|
+
<a href="/db" class="navbar-item">database</a>
|
49
|
+
<a href="/import" class="navbar-item">import</a>
|
50
|
+
|
51
|
+
<div class="navbar-item has-dropdown is-hoverable">
|
52
|
+
<a class="navbar-item">scanning</a>
|
53
|
+
|
54
|
+
<div class="navbar-dropdown">
|
55
|
+
<a href="/nmap" class="navbar-item">nmap</a>
|
56
|
+
<a href="/masscan" class="navbar-item">masscan</a>
|
57
|
+
<a href="/spider" class="navbar-item">spider</a>
|
58
|
+
<a href="/recon" class="navbar-item">recon</a>
|
59
|
+
<a href="/vulns" class="navbar-item">vulns</a>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<a href="/queue" class="navbar-item">queue</a>
|
64
|
+
<a href="/about" class="navbar-item">about</a>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</nav>
|
68
|
+
</div>
|
69
|
+
</header>
|
70
|
+
|
71
|
+
<main class="container">
|
72
|
+
<%= yield_content :breadcrumbs %>
|
73
|
+
|
74
|
+
<% unless flash.empty? %>
|
75
|
+
<% flash.each do |type,text| %>
|
76
|
+
<div class="notification is-<%= type %> is-light">
|
77
|
+
<button class="delete"></button>
|
78
|
+
<%= text %>
|
79
|
+
</div>
|
80
|
+
<% end %>
|
81
|
+
<% end %>
|
82
|
+
|
83
|
+
<section class="content">
|
84
|
+
<%= yield %>
|
85
|
+
</section>
|
86
|
+
</main>
|
87
|
+
|
88
|
+
<footer class="footer">
|
89
|
+
<div class="container">
|
90
|
+
<div class="columns">
|
91
|
+
<div class="column is-full">
|
92
|
+
<span>(c) 2023 Hal Brodigan</span>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</footer>
|
97
|
+
</body>
|
98
|
+
</html>
|