c7decrypt 0.2.5 → 0.2.6
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 +7 -0
- data/.gitignore +24 -1
- data/.travis.yml +2 -4
- data/Gemfile +1 -4
- data/README.md +8 -12
- data/Rakefile +7 -0
- data/bin/c7decrypt +0 -0
- data/c7decrypt.gemspec +4 -0
- data/lib/c7decrypt/version.rb +1 -1
- data/spec/c7decrypt_spec.rb +0 -1
- metadata +61 -22
- data/spec/spec_helper.rb +0 -7
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4c3a9b400ae6f576e417c8feab081a032749f22
|
4
|
+
data.tar.gz: 799c99315d7b7604c26b07d6707a221ee244f21f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8d997d254c5ae60d1ead6a468abbb3a4ba7f4dc07ccc9cd8f2d86443377fc82d10315d2879be2cca2e95a5ac11f0f776fe140abeab7e4d9f5e5a72a32a153482
|
7
|
+
data.tar.gz: a490e626d751ba8bdd94fe925d39e2d548e48624a233b08da9d255056697bd0e3808c75aee380ac94bd286f197fe534e492e4c6d1d71270f161dc8529d8f4801
|
data/.gitignore
CHANGED
@@ -1 +1,24 @@
|
|
1
|
-
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
23
|
+
bugs
|
24
|
+
.rvmrc
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -28,13 +28,13 @@ gem install c7decrypt
|
|
28
28
|
|
29
29
|
Run `c7decrypt -h` to get this
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
Usage: c7decrypt [option] [hash/file]
|
32
|
+
-s, --string [HASH] A single encrypted hash string
|
33
|
+
-f, --file [FILE] A file containing multiple hashes
|
34
|
+
-h, --help Show this message
|
35
35
|
|
36
|
-
Example:
|
37
|
-
Example:
|
36
|
+
Example: c7decrypt -s 04480E051A33490E
|
37
|
+
Example: c7decrypt -f config.txt
|
38
38
|
|
39
39
|
## Example Library Usage(s)
|
40
40
|
|
@@ -94,17 +94,13 @@ Encrypt An Array of Plaintext Passwords
|
|
94
94
|
|
95
95
|
This project is integrated with [travis-ci](http://about.travis-ci.org/) and is regularly tested to work with the following rubies:
|
96
96
|
|
97
|
+
* [2.1.3](https://github.com/ruby/ruby/tree/ruby_2_1)
|
98
|
+
* [2.1.0](https://github.com/ruby/ruby/tree/ruby_2_1)
|
97
99
|
* [2.0.0](https://github.com/ruby/ruby/tree/ruby_2_0_0)
|
98
100
|
* [1.9.3](https://github.com/ruby/ruby/tree/ruby_1_9_3)
|
99
|
-
* [1.9.2](https://github.com/ruby/ruby/tree/ruby_1_9_2)
|
100
|
-
* 1.9.1 - Tested outside of Travis-CI
|
101
|
-
* [1.8.7](https://github.com/ruby/ruby/tree/ruby_1_8_7)
|
102
|
-
* 1.8.6 - Tested outside of Travis-CI
|
103
101
|
* [ruby-head](https://github.com/ruby/ruby)
|
104
102
|
* [jruby-head](http://jruby.org/)
|
105
103
|
* [jruby-19mode](http://jruby.org/)
|
106
|
-
* [jruby-18mode](http://jruby.org/)
|
107
|
-
* [ree](http://www.rubyenterpriseedition.com/)
|
108
104
|
|
109
105
|
To checkout the current build status for these rubies, click [here](https://travis-ci.org/#!/claudijd/c7decrypt).
|
110
106
|
|
data/Rakefile
CHANGED
@@ -20,6 +20,13 @@ def clean_up
|
|
20
20
|
Dir.glob("*.lock").each { |f| File.unlink(f) }
|
21
21
|
end
|
22
22
|
|
23
|
+
desc "Fuzz C7Decrypt"
|
24
|
+
task :fuzz do
|
25
|
+
puts "[+] Fuzzing C7Decrypt"
|
26
|
+
puts `mkdir bugs` unless File.directory?("bugs")
|
27
|
+
puts `fuzzbert --bug-dir bugs --limit 10000000 "fuzz/fuzz_**.rb"`
|
28
|
+
end
|
29
|
+
|
23
30
|
desc "Build the gem"
|
24
31
|
task :build do
|
25
32
|
puts "[+] Building C7Decrypt version #{C7Decrypt::VERSION}"
|
data/bin/c7decrypt
CHANGED
File without changes
|
data/c7decrypt.gemspec
CHANGED
@@ -25,4 +25,8 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.summary = 'Ruby based Cisco Type 7 Password Decryptor'
|
26
26
|
s.description = 'A library for decoding Cisco Type 7 passwords'
|
27
27
|
s.homepage = 'http://rubygems.org/gems/c7decrypt'
|
28
|
+
|
29
|
+
s.add_development_dependency('fuzzbert')
|
30
|
+
s.add_development_dependency('rspec', '~> 2.14.1')
|
31
|
+
s.add_development_dependency('rake')
|
28
32
|
end
|
data/lib/c7decrypt/version.rb
CHANGED
data/spec/c7decrypt_spec.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c7decrypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jonathan Claudius
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
11
|
+
date: 2014-10-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fuzzbert
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.14.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.14.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
14
55
|
description: A library for decoding Cisco Type 7 passwords
|
15
56
|
email: claudijd@yahoo.com
|
16
57
|
executables:
|
@@ -18,46 +59,44 @@ executables:
|
|
18
59
|
extensions: []
|
19
60
|
extra_rdoc_files: []
|
20
61
|
files:
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
24
|
-
- spec/c7decrypt_spec.rb
|
25
|
-
- spec/example_configs/bad_canned_example.txt
|
26
|
-
- spec/example_configs/empty_example.txt
|
27
|
-
- spec/example_configs/simple_canned_example.txt
|
28
|
-
- spec/spec_helper.rb
|
29
|
-
- bin/c7decrypt
|
30
|
-
- .gitignore
|
31
|
-
- .rspec
|
32
|
-
- .travis.yml
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
33
65
|
- CONTRIBUTING.md
|
34
66
|
- Gemfile
|
35
67
|
- LICENSE
|
36
68
|
- README.md
|
37
69
|
- Rakefile
|
70
|
+
- bin/c7decrypt
|
38
71
|
- c7decrypt.gemspec
|
72
|
+
- lib/c7decrypt.rb
|
73
|
+
- lib/c7decrypt/c7decrypt.rb
|
74
|
+
- lib/c7decrypt/version.rb
|
75
|
+
- spec/c7decrypt_spec.rb
|
76
|
+
- spec/example_configs/bad_canned_example.txt
|
77
|
+
- spec/example_configs/empty_example.txt
|
78
|
+
- spec/example_configs/simple_canned_example.txt
|
39
79
|
homepage: http://rubygems.org/gems/c7decrypt
|
40
80
|
licenses: []
|
81
|
+
metadata: {}
|
41
82
|
post_install_message:
|
42
83
|
rdoc_options: []
|
43
84
|
require_paths:
|
44
85
|
- lib
|
45
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
87
|
requirements:
|
48
|
-
- -
|
88
|
+
- - ">="
|
49
89
|
- !ruby/object:Gem::Version
|
50
90
|
version: '0'
|
51
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
92
|
requirements:
|
54
|
-
- -
|
93
|
+
- - ">="
|
55
94
|
- !ruby/object:Gem::Version
|
56
95
|
version: '0'
|
57
96
|
requirements: []
|
58
97
|
rubyforge_project:
|
59
|
-
rubygems_version:
|
98
|
+
rubygems_version: 2.2.2
|
60
99
|
signing_key:
|
61
|
-
specification_version:
|
100
|
+
specification_version: 4
|
62
101
|
summary: Ruby based Cisco Type 7 Password Decryptor
|
63
102
|
test_files: []
|