personal_wordlist_cli 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/features/init.feature +24 -0
- data/features/version.feature +1 -1
- data/lib/personal_wordlist_cli/commands.rb +22 -0
- data/lib/personal_wordlist_cli/version.rb +1 -1
- data/personal_wordlist_cli.gemspec +2 -2
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 058c4fa667fc20680cd5661967220a9934398c58
|
4
|
+
data.tar.gz: a59b931b91eadf00e1fcb1949ff640f1fbb14029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b60ca2d2e74af15965ca4ffbf226f8b5974927e1a3d3a11d866f9e649a2572e0c66aa8761cf0297f0155da11f0348532c276e6b8e2c7c4497dcf342c719548
|
7
|
+
data.tar.gz: 515cf75a990a1dda354c5fcc504613e7d389c2c7272683a4b8620911de5d82259a6bff92c6af5b4effa97c86e620b7a12f6d3322fd6dee370036f323672e8a0c
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
[![Build Status](https://secure.travis-ci.org/turhn/personal_wordlist_cli.png)](http://travis-ci.org/turhn/personal_wordlist_cli)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/personal_wordlist_cli.svg)](https://badge.fury.io/rb/personal_wordlist_cli)
|
3
|
+
|
1
4
|
# personal_wordlist_cli
|
2
5
|
|
3
|
-
**personal_wordlist_cli** is a CLI application based on the [personal_wordlist](https://github.com/turhn/personal_wordlist) library. It creates dictionaries from patterns based on a
|
6
|
+
**personal_wordlist_cli** is a CLI application based on the [personal_wordlist](https://github.com/turhn/personal_wordlist) library. It creates information aware brute-force dictionaries from patterns based on a data.
|
4
7
|
|
5
8
|
When you install the gem it will add a ```pwlcli``` command to your path.
|
6
9
|
|
@@ -50,7 +53,7 @@ Just change 'dictionay.txt' with the files created with the command above.
|
|
50
53
|
|
51
54
|
## Legal Notice
|
52
55
|
|
53
|
-
This tool is created for security intentions not for brute-force attacks.
|
56
|
+
This tool is created for security intentions not for performing brute-force attacks. First intension was testing weak passwords or recovering forgotten passwords. I cannot be responsible of any misusage of the tool.
|
54
57
|
|
55
58
|
## Licence
|
56
59
|
|
@@ -58,4 +61,4 @@ MIT
|
|
58
61
|
|
59
62
|
## Contributions
|
60
63
|
|
61
|
-
Any contributions are
|
64
|
+
Any contributions are welcomed.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Feature: Initialize
|
2
|
+
|
3
|
+
Scenario: Use stdout
|
4
|
+
When I run `pwlcli init`
|
5
|
+
Then the file "Patternfile" should exist
|
6
|
+
When I run `cat Patternfile`
|
7
|
+
Then the stdout should contain:
|
8
|
+
"""
|
9
|
+
# This is a Patternfile for PersonalWordListCLI
|
10
|
+
# This is Ruby DSL so you can use Ruby syntax to create patterns.
|
11
|
+
|
12
|
+
#sequence(0..999) do |n|
|
13
|
+
# partial { first_name[0..2].downcase }
|
14
|
+
# partial { n.to_s }
|
15
|
+
# partial { last_name[0] }
|
16
|
+
#end
|
17
|
+
|
18
|
+
#sequence(0..999) do |n|
|
19
|
+
# partial { first_name[0..2].downcase }
|
20
|
+
# partial { n.to_s }
|
21
|
+
# partial { last_name[0] }
|
22
|
+
#end
|
23
|
+
"""
|
24
|
+
|
data/features/version.feature
CHANGED
@@ -19,6 +19,28 @@ module PersonalWordlistCLI
|
|
19
19
|
f.close
|
20
20
|
end
|
21
21
|
|
22
|
+
desc 'init', 'Create a sample PatternFile on working directory.'
|
23
|
+
def init
|
24
|
+
pf = File.new 'PatternFile', 'w+'
|
25
|
+
pf.puts <<-ruby
|
26
|
+
# This is a Patternfile for PersonalWordListCLI
|
27
|
+
# This is Ruby DSL so you can use Ruby syntax to create patterns.
|
28
|
+
|
29
|
+
#sequence(0..999) do |n|
|
30
|
+
# partial { first_name[0..2].downcase }
|
31
|
+
# partial { n.to_s }
|
32
|
+
# partial { last_name[0] }
|
33
|
+
#end
|
34
|
+
|
35
|
+
#sequence(0..999) do |n|
|
36
|
+
# partial { first_name[0..2].downcase }
|
37
|
+
# partial { n.to_s }
|
38
|
+
# partial { last_name[0] }
|
39
|
+
#end
|
40
|
+
ruby
|
41
|
+
pf.close
|
42
|
+
end
|
43
|
+
|
22
44
|
desc '--version, -v', 'Prints the version information'
|
23
45
|
def __print_version
|
24
46
|
puts PersonalWordlistCLI::VERSION
|
@@ -4,14 +4,14 @@ require 'personal_wordlist_cli/version'
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'personal_wordlist_cli'
|
6
6
|
s.version = PersonalWordlistCLI::VERSION
|
7
|
-
s.summary = 'Generates
|
7
|
+
s.summary = 'Generates information aware brute-force dictionaries from given data.'
|
8
8
|
s.description = s.summary
|
9
9
|
s.homepage = 'https://github.com/turhn/personal_wordlist_cli'
|
10
10
|
|
11
11
|
s.author = 'Turhan Coskun'
|
12
12
|
s.email = 'turhancoskun@gmail.com'
|
13
13
|
|
14
|
-
s.files =
|
14
|
+
s.files = `git ls-files`.split("\n").reject { |path| path =~ /\.gitignore$/ }
|
15
15
|
s.test_files = `git ls-files -- Appraisals {spec,features,gemfiles}/*`.split("\n")
|
16
16
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename f }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: personal_wordlist_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Turhan Coskun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 3.1.7
|
33
|
-
description: Generates
|
33
|
+
description: Generates information aware brute-force dictionaries from given data.
|
34
34
|
email: turhancoskun@gmail.com
|
35
35
|
executables:
|
36
36
|
- pwlcli
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- Rakefile
|
47
47
|
- bin/pwlcli
|
48
48
|
- features/generate.feature
|
49
|
+
- features/init.feature
|
49
50
|
- features/step_definitions/cli_steps.rb
|
50
51
|
- features/support/aruba.rb
|
51
52
|
- features/support/env.rb
|
@@ -82,12 +83,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
83
|
version: '0'
|
83
84
|
requirements: []
|
84
85
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.4
|
86
|
+
rubygems_version: 2.6.4
|
86
87
|
signing_key:
|
87
88
|
specification_version: 4
|
88
|
-
summary: Generates
|
89
|
+
summary: Generates information aware brute-force dictionaries from given data.
|
89
90
|
test_files:
|
90
91
|
- features/generate.feature
|
92
|
+
- features/init.feature
|
91
93
|
- features/step_definitions/cli_steps.rb
|
92
94
|
- features/support/aruba.rb
|
93
95
|
- features/support/env.rb
|