moby.rb 2.1.2 → 2.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba3a6afc597c9db1e16979d49de9c456fa0f09df9b79bd8da727dc20753f1b28
4
- data.tar.gz: 13d28ed4e1c2bfdb853b17220888883f44a0bec6fcb29f93d6c885f5b43798ee
3
+ metadata.gz: 0731dc337a26603112431982b6cb714d4dce0ef3421c9cd31a415ca68c86e073
4
+ data.tar.gz: 532d644e00709270aec04d65817a5a6bd83f195a62123e57751bcf397dadb23c
5
5
  SHA512:
6
- metadata.gz: 2501b61bde0ded5c8940f469398a1593cf1820e308f2dfb6cebc8399480b847d17e3b7f0131fdbd329e36a5e173bb3e9b95bc5f020ed2baa1dd77c1636056e43
7
- data.tar.gz: d61bc512e3c585a303e98be3a16bcc56bfa74b735b56e987d435345b355848e679ccccf5007b536f85395db8135a0ae2abcd321d5f77913eb9908b8db9eea55e
6
+ metadata.gz: a636754138641b636d0380aea0503c32c30f47fd9782880751961241f159e8c6ab75d5c9776d7d3c283e3fda14ab8f508c3f227e1eae234b633d4335415c2ea5
7
+ data.tar.gz: 00ae1ac7bfd28e838c5ea3c45843740089aa5bd6b621c8106521f242f10f33c051a61a04602b0c4bf2d97caafc0d9c1c2832009a3c9c8bf7a7d3d8c5d01177d5
data/CHANGELOG CHANGED
@@ -1,5 +1,25 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 20260821
4
+
5
+ 2.1.4: /LICENSE.txt/LICENSE/
6
+
7
+ 1. ~ LICENSE.txt --> LICENSE, so that the name matches the one every other repository here uses. impuri added its at 0.12.4 as LICENSE, and the tap's other nineteen are about to gain one under that name; this was the odd one out, and a licence file is looked for by name.
8
+ 2. ~ moby.rb.gemspec: /'LICENSE.txt'/'LICENSE'/ in spec.files, without which gem build refuses outright: the manifest lists its loose files as literals rather than through Dir[], so a name which is not there stops the build. That is the form 2.1.2 adopted for exactly this reason.
9
+ 3. ~ Moby::VERSION: /2.1.3/2.1.4/
10
+
11
+
12
+ ## 20260820
13
+
14
+ 2.1.3: Backfill the CHANGELOG below 0.7.0 to the 0.0.0 origin.
15
+
16
+ 1. + CHANGELOG: 0.0.0 through 0.6.0, the series 1.0.1 left out. 1.0.1 floored the record at 0.7.0 on the view that below it "neither a reliable date nor a reliable version can be had"; the git-importall revisions carry more than that allowed, and their commit messages have since been rewritten to name a version apiece, so the CHANGELOG now reaches as far back as they do.
17
+ 2. The versions are mostly read off the source, not guessed: 0.0.1 to 0.4.3 each carry a `# X.Y.Z` header, and 0.4.4 to 0.5.0 a WHALE_VERSION constant. Three are a judgement call — 0.0.0 (the bare spike, no stamp), 0.5.1 (a patch left standing on 0.5.0's unbumped WHALE_VERSION), and 0.6.0 (the extraction commit, where the constant does not survive the move) — each placed one commit, one version, sized by its change.
18
+ 3. The dates are shakier than the versions. The 2006 series stamps every version with the one creation date, 20061009; the 2008 headers are per-revision but not always bumped — 0.4.8 stamps 20080829, later than the 0.5.0 and 0.5.1 above it, so the series is ordered by version and 0.4.8 sits by its number, under its own out-of-sequence date. 0.0.0 carries no date at all.
19
+ 4. ~ CHANGELOG: the 0.7.0 entry no longer calls itself "the earliest recoverable version" — it is not, now — and reads as the change it was.
20
+ 5. ~ lib/Moby/VERSION.rb: VERSION: /2.1.2/2.1.3/
21
+
22
+
3
23
  ## 20260819
4
24
 
5
25
  2.1.2: ~ moby.rb.gemspec: spec.files as [...].flatten with a Dir[] per glob, in place of one Dir[] over the lot.
@@ -97,12 +117,12 @@
97
117
 
98
118
  ## 20240605
99
119
 
100
- 0.9.0: Merge of 2019's 0.8.0 and 2023's 0.8.1.
120
+ 0.9.0: Merge of 2020's 0.8.1 and 2023's 0.8.3.
101
121
 
102
122
 
103
123
  ## 20231206
104
124
 
105
- 0.8.1: Fix when username or password field number is specified or nothing is specified.
125
+ 0.8.3: Fix when username or password field number is specified or nothing is specified, renumbered from 0.8.1.
106
126
 
107
127
  1. ~ lib/Whale: ~ set_username_field(): Fix when username field number is specified or nothing is specified.
108
128
  2. ~ lib/Whale: ~ set_password_field(): Fix when password field number is specified or nothing is specified.
@@ -110,7 +130,7 @@
110
130
 
111
131
  ## 20231119
112
132
 
113
- 0.8.0: An accidental fork of 0.7.0 in 2023.
133
+ 0.8.2: An accidental fork of 0.7.0 in 2023, renumbered from 0.8.0.
114
134
 
115
135
  1. + README.md
116
136
  2. + CHANGES.txt
@@ -122,6 +142,24 @@
122
142
  8. + lib/File/self.collect.rb
123
143
 
124
144
 
145
+ ## 20200111
146
+
147
+ 0.8.1: Update the bundled File.collect to 0.2.1, renumbered from 0.8.0.
148
+
149
+ 1. ~ lib/File/self.collect.rb: 0.2.0 --> 0.2.1, and the date: /20190821/20200111/.
150
+ 2. Renumbered because two lines each reached 0.8.0. This one renamed Whale to Moby in 2019 and carried on; the other forked 0.7.0 in 2023 and kept the Whale name. A version naming two states names neither, so each release takes one of its own.
151
+
152
+
153
+ ## 20190821
154
+
155
+ 0.8.0: Rename Whale to Moby; add a Gemfile and File.collect.
156
+
157
+ 1. ~ bin/whale --> bin/moby, ~ lib/Whale.rb --> lib/Moby.rb, and the class with them.
158
+ 2. + Gemfile, + Gemfile.lock.
159
+ 3. + lib/File/self.collect.rb 0.2.0, + lib/Thoran/File/SelfCollect/self.collect.rb.
160
+ 4. Never recorded until now: the file ran from the 2023 fork straight back to 0.7.4, and 0.9.0 spoke of merging a 0.8.0 which no entry described.
161
+
162
+
125
163
  ## 20190820
126
164
 
127
165
  0.7.4: Rescue Net::OpenTimeout in the submission loop.
@@ -156,6 +194,110 @@
156
194
 
157
195
  ## 20190815
158
196
 
159
- 0.7.0: The earliest recoverable version.
197
+ 0.7.0: Move to a Whale library: add #switches and #main.
198
+
199
+ 1. The engine 0.6.0 pulled into lib/Whale.rb becomes the library the bin drives: + switches(), + main(). whale floods a phishing form with fake credentials — counter_phish() loads the page, then loops submitting a generated username and password, each built from random dictionary words and TLDs.
200
+
201
+
202
+ ## 20110907
203
+
204
+ 0.6.0: Extract the engine from bin/whale into lib/Whale.rb.
205
+
206
+ 1. The class and its methods move out of bin/whale into lib/Whale.rb, leaving the bin to require and drive it — the split 0.7.0 builds #switches and #main on. Version inferred: the WHALE_VERSION constant does not survive the move.
207
+
208
+
209
+ ## 20080521
210
+
211
+ 0.5.1: Small #initialize and #parse_options fix.
212
+
213
+ 1. Version inferred: it patches #initialize and #parse_options but leaves WHALE_VERSION at 0.5.0.
214
+
215
+ 0.5.0: Rebuild Options on OpenStruct: #set, #on, #banner=, #parse!.
216
+
217
+ 1. + require 'ostruct'; Options rebuilt on OpenStruct — + set(), + on(), + banner=(), + parse!().
218
+
219
+
220
+ ## 20080829
221
+
222
+ 0.4.8: Small #initialize and #parse_options fixes.
223
+
224
+ 1. Its 20080829 header is out of sequence — later than the 0.5.0 and 0.5.1 above — an unbumped stamp, not a later release; ordered here by version.
225
+
226
+
227
+ ## 20080521
228
+
229
+ 0.4.7: Add File.collect and #words; drop #read_words_file.
230
+
231
+ 1. + class File with self.collect(), + words(); - read_words_file(). The word list is read through File.collect now.
232
+
233
+
234
+ ## 20080520
235
+
236
+ 0.4.6: Switch to OptionParser: add #parse and #parse_url.
237
+
238
+ 1. + require 'optparse'; + parse(), + parse_url() — option handling through OptionParser.
239
+
240
+ 0.4.5: Add page and form fetching and the username and password field setters.
241
+
242
+ 1. + page, + form, + username, + password, + set_username_field(), + set_password_field().
243
+
244
+ 0.4.4: Add option parsing: class Options and #parse_options.
245
+
246
+ 1. + class Options, + parse_options() — a first cut at command-line options, before the OptionParser switch at 0.4.6.
247
+
248
+ 0.4.3: Small #initialize and #counter_phish fixes.
249
+
250
+
251
+ ## 20061009
252
+
253
+ 0.4.2: Small #initialize and #counter_phish fixes.
254
+
255
+ 0.4.1: Drop the pp require again.
256
+
257
+ 0.4.0: Re-add pp; tidy the loop.
258
+
259
+ 0.3.1: Drop the pp require.
260
+
261
+ 0.3.0: Add #random_TLD for email-shaped usernames.
262
+
263
+ 1. + random_TLD(), so a generated username can be shaped like an email address.
264
+
265
+ 0.2.4: Small #initialize and #counter_phish fixes.
266
+
267
+ 0.2.3: Small #initialize and #counter_phish fixes.
268
+
269
+ 0.2.2: Small #initialize and #counter_phish fixes.
270
+
271
+ 0.2.1: Small #initialize and #counter_phish fixes.
272
+
273
+ 0.2.0: Small #initialize and #counter_phish fixes.
274
+
275
+ 0.1.2: Small #initialize fix.
276
+
277
+ 0.1.1: Small #initialize and #counter_phish fixes.
278
+
279
+ 0.1.0: Drop the pp require; tidy the loop.
280
+
281
+ 0.0.7: Small #initialize and #counter_phish fixes.
282
+
283
+ 0.0.6: Small #initialize and #counter_phish fixes.
284
+
285
+ 0.0.5: Adjust the word-file reading.
286
+
287
+ 0.0.4: Refine #initialize and #counter_phish.
288
+
289
+ 0.0.3: Replace RandomMethod with #random_word.
290
+
291
+ 1. - module RandomMethod (- random(), - random_method()); + random_word() in its place.
292
+
293
+ 0.0.2: Add #counter_phish and random-word selection.
294
+
295
+ 1. + counter_phish(), + read_words_file(), random-word selection; - select().
296
+
297
+ 0.0.1: First cut: class Whale, #initialize, #select.
298
+
299
+ 1. + class Whale, + initialize(), + select() — the spike turned into a class.
300
+
301
+ 0.0.0: A Mechanize spike — fetch a page and submit its form.
160
302
 
161
- 1. whale floods a phishing form with fake credentials: counter_phish() loads the page, then loops submitting a generated username and password, each built from random dictionary words and TLDs. Recorded as an inventory of the first cleanly-versioned revision; the revision before it carries no version and a different structure, and is not reconstructed here.
303
+ 1. The bare origin: require 'rubygems', 'mechanize', 'pp'; fetch a page and submit its form. No Whale class, and no version or date stamp of its own the inventory slot the 0.7.0 entry used to hold.
data/lib/Moby/VERSION.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # Moby::VERSION
3
3
 
4
4
  class Moby
5
- VERSION = '2.1.2'
5
+ VERSION = '2.1.4'
6
6
  end
data/moby.rb.gemspec CHANGED
@@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
45
45
  Dir['test/**/*.rb'],
46
46
  'CHANGELOG',
47
47
  'Gemfile',
48
- 'LICENSE.txt',
48
+ 'LICENSE',
49
49
  'moby.rb.gemspec',
50
50
  'Rakefile',
51
51
  'README.md',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moby.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -118,7 +118,7 @@ extra_rdoc_files: []
118
118
  files:
119
119
  - CHANGELOG
120
120
  - Gemfile
121
- - LICENSE.txt
121
+ - LICENSE
122
122
  - README.md
123
123
  - Rakefile
124
124
  - bin/moby
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 4.0.18
168
+ rubygems_version: 4.0.19
169
169
  specification_version: 4
170
170
  summary: Moby is a credentials poisoning tool which floods phishing forms with fake
171
171
  credentials.
File without changes