password_crack 0.2.2 → 0.2.3
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/README.md +12 -2
- data/lib/password_crack/version.rb +1 -1
- data/lib/password_crack.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 438c1ac74cac67713666df037eaac5221f1b62ec
|
4
|
+
data.tar.gz: aa48743195612fd3545856c3f170ed08b8a588b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b59e8435e3d30a4c65a983e3c1627597a27bfb717e0315fe8ebc2747834715c94768ac2b95c4e208631bf3b7cabac376e113c59aa6fc6c288567f8ad9cb02e
|
7
|
+
data.tar.gz: 11e58146ac0f035037630d32b4de3cb668cb1d4c825885809e765b5047cfdbf81c81a62a5e75f20724897a725cfe07c23e7f62992cfa4d16d33e9ff810719ef8
|
data/README.md
CHANGED
@@ -6,10 +6,13 @@ all the dicts has created .This program will auto download the password dict whi
|
|
6
6
|
example dict_name:week_password_sample
|
7
7
|
You could see all the dicts on: https://github.com/luaxlou/week_password/tree/master/dicts
|
8
8
|
|
9
|
-
##
|
9
|
+
## Features
|
10
10
|
- single thread md5 crack
|
11
11
|
- check password is week
|
12
12
|
|
13
|
+
## Demo page
|
14
|
+
http://tools.luaxlou.com/md5
|
15
|
+
|
13
16
|
## Installation
|
14
17
|
|
15
18
|
Add this line to your application's Gemfile:
|
@@ -26,6 +29,13 @@ Or install it yourself as:
|
|
26
29
|
|
27
30
|
$ gem install password_crack
|
28
31
|
|
32
|
+
if you catch some errors like this when install:
|
33
|
+
```
|
34
|
+
extconf.rb:156:in `main': C++11 is not supported by the compiler. (RuntimeError)
|
35
|
+
```
|
36
|
+
|
37
|
+
please see this:[https://github.com/masamitsu-murase/seven_zip_ruby/issues/11](https://github.com/masamitsu-murase/seven_zip_ruby/issues/11)
|
38
|
+
|
29
39
|
## Usage
|
30
40
|
|
31
41
|
|
@@ -61,7 +71,7 @@ Or install it yourself as:
|
|
61
71
|
|
62
72
|
```
|
63
73
|
|
64
|
-
## Command
|
74
|
+
## Command line Usage
|
65
75
|
|
66
76
|
```bash
|
67
77
|
$ password_crack
|
data/lib/password_crack.rb
CHANGED
@@ -135,6 +135,9 @@ module PasswordCrack
|
|
135
135
|
|
136
136
|
|
137
137
|
def load
|
138
|
+
return if(Time.now.to_i - local_timestamp < 10 *60)
|
139
|
+
|
140
|
+
|
138
141
|
if local_timestamp < server_timestamp
|
139
142
|
|
140
143
|
download_and_unpack
|
@@ -148,7 +151,7 @@ module PasswordCrack
|
|
148
151
|
|
149
152
|
pathname = dict_pathname
|
150
153
|
|
151
|
-
load
|
154
|
+
load
|
152
155
|
|
153
156
|
pathname
|
154
157
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: password_crack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- luax
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|