-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
208 lines (187 loc) · 9.28 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE html>
<html>
<head lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="author" content="Peter Ryszkiewicz">
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
<title>IOTA Reattacher</title>
<script type="text/javascript" src="deps/jquery.min.js"></script>
<script type="text/javascript" src="deps/bootstrap.min.js"></script>
<script type="text/javascript" src="deps/angular.min.js"></script>
<script type="text/javascript" src="deps/iota.transactionSpammer.js/src/lib/iota.min.js"></script>
<script type="text/javascript" src="deps/iota.transactionSpammer.js/src/lib/curl.min.js"></script>
<script type="text/javascript" src="deps/iota.transactionSpammer.js/src/lib/EventEmitter.min.js"></script>
<script type="text/javascript" src="deps/iota.transactionSpammer.js/src/transactionSpammer.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/jumbotron-narrow.css" rel="stylesheet">
<link href="./css/main.css" rel="stylesheet">
</head>
<body>
<div class="container" ng-app="transactionSpammerApp">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li class="nav-item">
<a class="nav-link" href="#" onclick="toggleNightMode()">Night Mode</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/pRizz/iota-transaction-spammer-webapp">Source</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="$('#settingsModal').modal('show')">Settings</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Projects <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://prizz.github.io/My-IOTA-Balance/">My IOTA Balance</a></li>
<li><a href="https://prizz.github.io/iota-transaction-spammer-webapp/">IOTA Tangle Spammer</a></li>
<li><a href="https://prizz.github.io/iota-seed-encryptor-decryptor/">IOTA Seed Encryptor/Decryptor</a></li>
<li><a href="https://prizz.github.io/iota-buy-strategy/">IOTA Buy Strategy</a></li>
</ul>
</li>
</ul>
</nav>
<h3 class="text-muted">IOTA Reattacher <img class="spinning-logo" src="iotaLogo.png"></h3>
</div>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"></div>
</div>
<div class="row marketing">
<div class="col-md-4 text-center">
<h2 id="transactionCount">0</h2>
<h4>Transactions Reattached</h4>
</div>
<div class="col-md-4 text-center">
<h2 id="confirmationCount">0</h2>
<h4>Confirmed Transactions</h4>
</div>
<div class="col-md-4 text-center">
<h2 id="averageConfirmationDuration">0</h2>
<h4>Average Confirmation Time (minutes)</h4>
</div>
</div>
<div class="row marketing">
<div class="col-md-4 text-center">
<h2 id="transactionsPerMinuteCount">0</h2>
<h4>Transactions Reattached per minute</h4>
</div>
<div class="col-md-4 text-center">
<h2 id="confirmationsPerMinuteCount">0</h2>
<h4>Confirmed Transaction Percent</h4>
</div>
<div class="col-md-4 text-center">
<h2 id="timeSpentSpamming">0</h2>
<h4>Time Spent Reattaching</h4>
</div>
</div>
<div class="row marketing">
<div class="col-md-12">
<div class="panel panel-primary" style="text-align: center">
<div class="panel-heading text-center">
<h2>Event Log</h2>
</div>
<pre class="panel-body text-left" id="eventLogContent">
</pre>
</div>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>How does this work?</h1>
<h3>
The app picks a random tip (unconfirmed transaction) if the transaction is sending a value greater than 1 (no point in reattaching spam) then it attempts to reattach the transaction.
</h3>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>About the Author</h1>
<h2>
This project was originally created by Peter Ryszkiewicz (<a href="https://github.com/pRizz">pRizz@GitHub</a>), software engineer in Chicago, IL and modified by (<a href="https://github.com/normpad/">normpad@GitHub</a>).
</h2>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<h1>About the Project</h1>
<h2>
This project is hosted on GitHub at <a href="https://normpad.github.io/IOTA-Reattacher/">https://normpad.github.io/IOTA-Reattacher/</a> under the MIT license.
</h2>
</div>
</div>
<div class="row marketing text-center">
<div class="col-md-8 col-md-offset-2">
<pre>
MIT License
Copyright (c) 2017 Peter Ryszkiewicz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
</div>
</div>
<footer class="footer">
<p><a href="https://github.com/pRizz/iota-transaction-spammer-webapp">Fork this on GitHub!</a></p>
<p><a href="https://github.com/pRizz/iota-transaction-spammer-webapp/archive/master.zip">Download this webapp</a>
</p>
<p>
If you found this useful, consider donating IOTA to:
</p>
<pre>IYFJCTTLRIWUWAUB9ZLCRKVKAAQVWHWTENKVVZBXYUPU9YFTBMKFXYWXWESLWJSTBRADUSGVJPVJZCJEZ9IGYDKDJZ</pre>
<p>© Peter Ryszkiewicz 2017</p>
</footer>
<div class="modal fade" id="settingsModal" role="dialog" ng-controller="settingsController">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Settings</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-check">
<label class="form-check-label">
<input id="loadBalanceCheckbox" class="form-check-input" type="checkbox" value="">
Load Balancing. The spammer will change nodes after every transaction.
</label>
</div>
<h3>
Select a host
</h3>
<select id="hostSelection" ng-model="selectedHost" ng-options="host for host in hostList">
</select> <!-- TODO, make this dropdown use Bootstrap's css -->
<h1> </h1>
<h3>
Custom Host
</h3>
<div>The spammer will lock onto this host if provided.</div>
<input id="customHost" class="form-control" ng-model="customHost" type="text" placeholder="Custom host">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div> <!-- /container -->
</body>
</html>