cobreak 0.0.9 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cobreak.gemspec +1 -1
- data/lib/cobreak/force.rb +4 -4
- data/lib/cobreak/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd38e3a0c2c619fe0dfa738e8a7963d7b2ca135a2f49f2b8d2fd8f6494c5ea0
|
4
|
+
data.tar.gz: 232595ebcca59527750dea27084c153abb95274243c08513a18b8b634c119c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6388ce0dd355c0b8fae3520ac955c28401ff3b8653b4fd5dda5ed775864b9a5d3114d1069730e975fd5251cb66502b5346821f3b9df7f407603784bf53ae8b
|
7
|
+
data.tar.gz: 810b4d19c7fb9dfd372d4e686a1b7beaf2110192a46bc6dd8556cd0b5f3b3f9c103684449d30f5506549d94e14e449f2926badaf101a737e94518ac8b712b676
|
data/cobreak.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |info|
|
2
2
|
info.name = 'cobreak'
|
3
|
-
info.version = '
|
3
|
+
info.version = '1.0.1'
|
4
4
|
info.executables << "cobreak"
|
5
5
|
info.description = "The CoBreak script is an cipher and cryptography tool"
|
6
6
|
info.add_development_dependency "bundler", "~> 1.5"
|
data/lib/cobreak/force.rb
CHANGED
@@ -51,8 +51,8 @@ class Forze_brute
|
|
51
51
|
if (forzebrute.crypt.hexdigest(line).eql?(forzebrute.hash))
|
52
52
|
puts "\e[1;32m[\e[0m+\e[1;32m]\e[0m Decrypted Text: " + line
|
53
53
|
puts "\e[1;32m[\e[0m+\e[1;32m]\e[0m Hash Cracking #{Time.now - forzebrute.time} seconds"
|
54
|
-
$datBas::database(forzebrute.
|
55
|
-
DB::database(
|
54
|
+
$datBas::database(forzebrute.crypt.hexdigest(line))
|
55
|
+
DB::database(line, File.join(Gem.path[1], "gems", "cobreak-#{CoBreak.version}", 'lib', 'cobreak', 'show', "#{forzebrute.type}.db"))
|
56
56
|
exit
|
57
57
|
end
|
58
58
|
}
|
@@ -91,8 +91,8 @@ class Forze_brute
|
|
91
91
|
if (forzechars.crypt.hexdigest(chars.chomp)) == (forzechars.dato)
|
92
92
|
puts "\e[1;32m[\e[0m+\e[1;32m]\e[0m Decrypted Text: #{chars}"
|
93
93
|
puts "\e[1;32m[\e[0m+\e[1;32m]\e[0m Hash Cracking #{Time.now - forzechars.time} seconds"
|
94
|
-
$datBas::database(forzechars.
|
95
|
-
DB::database(
|
94
|
+
$datBas::database(forzechars.crypt.hexdigest(chars))
|
95
|
+
DB::database(chars, File.join(Gem.path[1], "gems", "cobreak-#{CoBreak.version}", 'lib', 'cobreak', 'show', "#{forzechars.type}.db"))
|
96
96
|
exit
|
97
97
|
end
|
98
98
|
end
|
data/lib/cobreak/version.rb
CHANGED