c7decrypt 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -2
- data/README.md +14 -4
- data/bin/c7decrypt +5 -5
- data/lib/c7decrypt/version.rb +1 -1
- metadata +1 -1
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -24,14 +24,26 @@ To install, type
|
|
24
24
|
gem install c7decrypt
|
25
25
|
```
|
26
26
|
|
27
|
+
## Example Command-Line Usage
|
28
|
+
|
29
|
+
Run `c7decrypt -h` to get this
|
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
|
35
|
+
|
36
|
+
Example: ruby cdecrypt.rb -s 04480E051A33490E
|
37
|
+
Example: ruby cdecrypt.rb -f ../spec/example_configs/simple_canned_example.txt`
|
38
|
+
|
39
|
+
## Example Library Usage(s)
|
40
|
+
|
27
41
|
To use, just require
|
28
42
|
|
29
43
|
```ruby
|
30
44
|
require 'c7decrypt'
|
31
45
|
```
|
32
46
|
|
33
|
-
## Example Usage(s)
|
34
|
-
|
35
47
|
Decrypt A Single Encrypted Password
|
36
48
|
|
37
49
|
```ruby
|
@@ -92,8 +104,6 @@ This project is integrated with [travis-ci](http://about.travis-ci.org/) and is
|
|
92
104
|
* [jruby-head](http://jruby.org/)
|
93
105
|
* [jruby-19mode](http://jruby.org/)
|
94
106
|
* [jruby-18mode](http://jruby.org/)
|
95
|
-
* [rbx-19mode](http://rubini.us/)
|
96
|
-
* [rbx-18mode](http://rubini.us/)
|
97
107
|
* [ree](http://www.rubyenterpriseedition.com/)
|
98
108
|
|
99
109
|
To checkout the current build status for these rubies, click [here](https://travis-ci.org/#!/claudijd/c7decrypt).
|
data/bin/c7decrypt
CHANGED
@@ -12,7 +12,7 @@ options.string = nil
|
|
12
12
|
options.file = nil
|
13
13
|
|
14
14
|
opt_parser = OptionParser.new do |opts|
|
15
|
-
opts.banner = "Usage:
|
15
|
+
opts.banner = "Usage: c7decrypt [option] [hash/file]"
|
16
16
|
|
17
17
|
opts.on("-s", "--string [HASH]", "A single encrypted hash string") do |v|
|
18
18
|
options.string = v
|
@@ -26,8 +26,8 @@ opt_parser = OptionParser.new do |opts|
|
|
26
26
|
puts ""
|
27
27
|
puts opts
|
28
28
|
puts ""
|
29
|
-
puts "Example:
|
30
|
-
puts "Example:
|
29
|
+
puts "Example: c7decrypt -s 04480E051A33490E"
|
30
|
+
puts "Example: c7decrypt -f config.txt"
|
31
31
|
puts ""
|
32
32
|
exit
|
33
33
|
end
|
@@ -41,8 +41,8 @@ if options.string.nil? &&
|
|
41
41
|
puts ""
|
42
42
|
puts opt_parser
|
43
43
|
puts ""
|
44
|
-
puts "Example:
|
45
|
-
puts "Example:
|
44
|
+
puts "Example: c7decrypt -s 04480E051A33490E"
|
45
|
+
puts "Example: c7decrypt -f config.txt"
|
46
46
|
puts ""
|
47
47
|
exit
|
48
48
|
end
|
data/lib/c7decrypt/version.rb
CHANGED