c7decrypt 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
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
- /coverage
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
@@ -1,11 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.1.3
4
+ - 2.1.0
3
5
  - 2.0.0
4
6
  - 1.9.3
5
- - 1.9.2
6
- - jruby-18mode
7
7
  - jruby-19mode
8
8
  - ruby-head
9
9
  - jruby-head
10
- - 1.8.7
11
- - ree
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "rspec"
4
- gem "rake"
5
- gem 'simplecov', :require => false, :group => :test
6
-
3
+ gemspec
data/README.md CHANGED
@@ -28,13 +28,13 @@ gem install c7decrypt
28
28
 
29
29
  Run `c7decrypt -h` to get this
30
30
 
31
- `Usage: c7decrypt.rb [options] [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
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: ruby cdecrypt.rb -s 04480E051A33490E
37
- Example: ruby cdecrypt.rb -f ../spec/example_configs/simple_canned_example.txt`
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
@@ -1,3 +1,3 @@
1
1
  module C7Decrypt
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'c7decrypt'
3
2
 
4
3
  describe C7Decrypt do
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
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: 2013-12-26 00:00:00.000000000 Z
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
- - lib/c7decrypt/c7decrypt.rb
22
- - lib/c7decrypt/version.rb
23
- - lib/c7decrypt.rb
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: 1.8.28
98
+ rubygems_version: 2.2.2
60
99
  signing_key:
61
- specification_version: 3
100
+ specification_version: 4
62
101
  summary: Ruby based Cisco Type 7 Password Decryptor
63
102
  test_files: []
data/spec/spec_helper.rb DELETED
@@ -1,7 +0,0 @@
1
- begin
2
- require 'simplecov'
3
- SimpleCov.start
4
- rescue LoadError
5
- warn "Couldn't load simplecov, so coverage reports will be generated"
6
- warn "Run 'gem install simplecov' to get coverage reports"
7
- end