-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (111 loc) · 4.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!---------------------- | __
_ |_ ._ _ _|_ ._ |_ _ / _ |
_> |_| |_) | | (/_ |_ | |_) \/ _> / (_ |<
/ ------------------>
<!doctype html>
<html lang="en">
<head>
<title>subnetr</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu%20Mono">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A layout example that shows off a blog page with a list of posts.">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/pure-min.css" integrity="sha384-" crossorigin="anonymous">
<!--[if lte IE 8]>
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/grids-responsive-min.css">
<!--<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/layouts/blog-old-ie.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="css/layouts/blog.css">
<!--<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="scripts/cidr.js"></script>
<script src="scripts/dom.js"></script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<h1 class="brand-title">subnetr (IPv4)</h1>
<h2 class="brand-tagline">by stck</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item">
<a class="pure-button" href="https://keybase.io/s7ck">keybase</a>
</li>
<li class="nav-item">
<a class="pure-button" href="https://github.com/s7ck">github</a>
</li>
<li class="nav-item">
<a class="pure-button" href="https://twitter.com/s7ckmn">twitter</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<div class="posts">
<section class="post">
<div class="post-description">
<p>Enter an IPv4 address in CIDR notation and click run. Ex: x.x.x.x/24</p>
<table class="pure-table pure-table-horizontal">
<tbody>
<tr>
<td>CIDR</td>
<td><input type="text" id="cidr" name="cidr" size="17" placeholder="192.168.0.0/18" /></td>
<td>ex: 192.168.0.0/24</td>
</tr>
<tr>
<td>Class</td>
<td id="classN">-</td>
<td></td>
</tr>
<tr>
<td>Subnet Mask</td>
<td id="mask">-</td>
<td></td>
</tr>
<tr>
<td>Network ID</td>
<td id="netid">-</td>
<td></td>
</tr>
<tr>
<td>Broadcast IP</td>
<td id="broadcast">-</td>
<td></td>
</tr>
<tr>
<td>Hosts*<br/></td>
<td id="hosts">-</td>
<td></td>
</tr>
</tbody>
</table>
<span id="asterisk" class="asterisk">
* Host count is the total IPs in range minus Network ID and Broadcast IP.
</span><br />
<button id="runButton">run</button>
<span id="message" class="message"></span>
</div>
</section>
</div><!-- end post -->
</div> <!-- end body container -->
</div> <!-- end whole-page container -->
</body>
</html>
<!------------------------------------- [X1A_H:2020] --
TQBlAHYATAA4AE4AQwBqAHMAagBRADQANAA2AG0AMwA0AGIASAAyAEQ
ATABEAEwAYgBvAFMATgBmAGgAVQBjADoAagBKAFUAMgBQAHAAWQA5AG
0AWgBiAHEAVAB2AEgARwBvAEgASwB0AHgARABCAEgAZwBqAGEAbABoA
EQAZAB0ADoAdwBNADYAMgA3AFUAaQBCADQAYQBBAGEANABMAHUATgBY
AFQANQBNAFEAUgB1AEMAUQA5AGYAUABKAFUAMQA2ADoAUQA4AHAATgA
1AE4AZgBlAGYAcABpAFgAZwBJAG4AWQBMAFEAMgBiAFAATgBIAHEAWA
BTAEcASAByAFMATgBSADoAZABjAGwANQAzAGUAZQBCAGoARABMAE0AU
gAyADcAeABtAEQAUwBwAGkANwB3AFEAeABxAFMANQB2AEcARABnAA==
------------------------------------------------------>