moby.rb 1.0.0 → 2.0.0
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 +4 -4
- data/CHANGELOG +120 -0
- data/Gemfile +4 -0
- data/bin/moby +24 -27
- data/lib/Moby/Backends/MechanizeBackend.rb +1 -1
- data/lib/Moby/Backends/SeleniumBackend.rb +28 -22
- data/lib/Moby/Backends.rb +20 -0
- data/lib/Moby/Configuration.rb +17 -11
- data/lib/Moby/VERSION.rb +1 -1
- data/lib/Moby.rb +15 -160
- data/{moby.gemspec → moby.rb.gemspec} +6 -5
- data/test/Moby/Backends/MechanizeBackend_test.rb +83 -0
- data/test/Moby/Backends/SeleniumBackend_test.rb +44 -0
- data/test/Moby/Backends_test.rb +27 -0
- data/test/Moby/Configuration_test.rb +134 -0
- data/test/Moby/RandomInputGenerator_test.rb +37 -0
- data/test/Moby/VERSION_test.rb +2 -2
- data/test/moby_test.rb +6 -282
- data/test/test_helper.rb +15 -0
- metadata +26 -8
- data/CHANGES.txt +0 -32
- data/lib/File/self.collect.rb +0 -10
- data/lib/Thoran/File/SelfCollect/self.collect.rb +0 -22
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:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoran
|
|
@@ -23,6 +23,20 @@ dependencies:
|
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: '2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: selenium-webdriver
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '4'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '4'
|
|
26
40
|
- !ruby/object:Gem::Dependency
|
|
27
41
|
name: switches.rb
|
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,14 +116,14 @@ executables:
|
|
|
102
116
|
extensions: []
|
|
103
117
|
extra_rdoc_files: []
|
|
104
118
|
files:
|
|
105
|
-
-
|
|
119
|
+
- CHANGELOG
|
|
106
120
|
- Gemfile
|
|
107
121
|
- LICENSE.txt
|
|
108
122
|
- README.md
|
|
109
123
|
- Rakefile
|
|
110
124
|
- bin/moby
|
|
111
|
-
- lib/File/self.collect.rb
|
|
112
125
|
- lib/Moby.rb
|
|
126
|
+
- lib/Moby/Backends.rb
|
|
113
127
|
- lib/Moby/Backends/MechanizeBackend.rb
|
|
114
128
|
- lib/Moby/Backends/SeleniumBackend.rb
|
|
115
129
|
- lib/Moby/Configuration.rb
|
|
@@ -117,10 +131,14 @@ files:
|
|
|
117
131
|
- lib/Moby/VERSION.rb
|
|
118
132
|
- lib/Selenium/WebDriver/Driver/Attempt/attempt.rb
|
|
119
133
|
- lib/Selenium/WebDriver/SearchContext/ElementPresentQ/element_presentQ.rb
|
|
120
|
-
- lib/Thoran/File/SelfCollect/self.collect.rb
|
|
121
134
|
- lib/Thoran/Selenium/WebDriver/Driver/Attempt/attempt.rb
|
|
122
135
|
- lib/Thoran/Selenium/WebDriver/SearchContext/ElementPresentQ/element_presentQ.rb
|
|
123
|
-
- moby.gemspec
|
|
136
|
+
- moby.rb.gemspec
|
|
137
|
+
- test/Moby/Backends/MechanizeBackend_test.rb
|
|
138
|
+
- test/Moby/Backends/SeleniumBackend_test.rb
|
|
139
|
+
- test/Moby/Backends_test.rb
|
|
140
|
+
- test/Moby/Configuration_test.rb
|
|
141
|
+
- test/Moby/RandomInputGenerator_test.rb
|
|
124
142
|
- test/Moby/VERSION_test.rb
|
|
125
143
|
- test/moby_test.rb
|
|
126
144
|
- test/test_helper.rb
|
|
@@ -129,7 +147,7 @@ licenses:
|
|
|
129
147
|
- MIT
|
|
130
148
|
metadata:
|
|
131
149
|
bug_tracker_uri: https://github.com/thoran/moby/issues
|
|
132
|
-
changelog_uri: https://github.com/thoran/moby/blob/main/
|
|
150
|
+
changelog_uri: https://github.com/thoran/moby/blob/main/CHANGELOG
|
|
133
151
|
source_code_uri: https://github.com/thoran/moby
|
|
134
152
|
documentation_uri: https://github.com/thoran/moby/blob/main/README.md
|
|
135
153
|
rdoc_options: []
|
|
@@ -139,14 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
139
157
|
requirements:
|
|
140
158
|
- - ">="
|
|
141
159
|
- !ruby/object:Gem::Version
|
|
142
|
-
version:
|
|
160
|
+
version: 3.3.0
|
|
143
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
162
|
requirements:
|
|
145
163
|
- - ">="
|
|
146
164
|
- !ruby/object:Gem::Version
|
|
147
165
|
version: '0'
|
|
148
166
|
requirements: []
|
|
149
|
-
rubygems_version: 4.0.
|
|
167
|
+
rubygems_version: 4.0.18
|
|
150
168
|
specification_version: 4
|
|
151
169
|
summary: Moby is a credentials poisoning tool which floods phishing forms with fake
|
|
152
170
|
credentials.
|
data/CHANGES.txt
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
1.0.0 - 2026-01-08
|
|
2
|
-
Ensure that tests are in place and that version handling is working properly.
|
|
3
|
-
+ tests
|
|
4
|
-
+ moby.gemspec
|
|
5
|
-
~ lib/moby.rb: - Moby::VERSION_STRING
|
|
6
|
-
~ lib/moby.rb: Fix finding username and password fields by name. It was returning the name of the field and not the field object.
|
|
7
|
-
+ lib/Moby/VERSION.rb
|
|
8
|
-
~ bin/moby: + --version flag
|
|
9
|
-
~ README.md: Updated installation and usage.
|
|
10
|
-
~ CHANGES.txt: Reorganised in descending order and added dates.
|
|
11
|
-
~ LICENSE.txt: Updated the years to include the year this was started: /2026/2006-2026/
|
|
12
|
-
|
|
13
|
-
0.9.1 - 2026-01-05
|
|
14
|
-
~ README.md: Fix syntax errors.
|
|
15
|
-
~ lib/Moby.rb: VERSION_STRING: /0.9.0/0.9.1/
|
|
16
|
-
|
|
17
|
-
0.9.0 - 2024-06-05
|
|
18
|
-
Merged the 2019 0.8.0 version of moby with the 2023 0.8.1 version of whale.
|
|
19
|
-
|
|
20
|
-
0.8.1 - 2023-12-06
|
|
21
|
-
~ lib/Whale: ~ set_username_field(): Fix when username field number is specified or nothing is specified.
|
|
22
|
-
~ lib/Whale: ~ set_password_field(): Fix when password field number is specified or nothing is specified.
|
|
23
|
-
|
|
24
|
-
0.8.0 - 2023-11-19
|
|
25
|
-
+ README.md
|
|
26
|
-
+ CHANGES.txt
|
|
27
|
-
+ Gemfile
|
|
28
|
-
~ bin/whale: ~ main(): - args (unnecessary)
|
|
29
|
-
~ bin/whale VERSION_STRING --> lib/Whale::VERSION_STRING
|
|
30
|
-
~ bin/whale: ~ switches(): use Whale::VERSION_STRING
|
|
31
|
-
~ lib/Whale.rb: general tidying
|
|
32
|
-
+ lib/File/self.collect.rb
|
data/lib/File/self.collect.rb
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Thoran/File/SelfCollect/self.collect.rb
|
|
2
|
-
# Thoran::File::SelfCollect.collect.rb
|
|
3
|
-
|
|
4
|
-
# 20190821
|
|
5
|
-
# 0.2.0
|
|
6
|
-
|
|
7
|
-
# Changes:
|
|
8
|
-
# 1. + Thoran::File::SelfCollect namespace.
|
|
9
|
-
|
|
10
|
-
module Thoran
|
|
11
|
-
module File
|
|
12
|
-
module SelfCollect
|
|
13
|
-
|
|
14
|
-
def collect(filename, &block)
|
|
15
|
-
open(filename, 'r').collect(&block)
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
File.extend(Thoran::File::SelfCollect)
|