timing_attack 0.5.1 → 0.5.2
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 +2 -2
- data/exe/timing_attack +2 -2
- data/lib/timing_attack/version.rb +1 -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: c03b6d3c418b88a56d480124ad7cc201280c4845
|
|
4
|
+
data.tar.gz: 38cc46fc07438daff5eeedce5db06a7b07db8ee7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd53145b7194b568c13bb782c44a34c24eed39260b73e06238b9826a1d74b009a17e453ba85a4cbfe02d3d074a49662899b0d5d325a1509d2022730a5389eda5
|
|
7
|
+
data.tar.gz: 4689d34477a84f463768275508b65cd20da557b9ec34732c9bfa3c7a62617865aab9f2f40f9a50a240ae875cceb64e6b97f559857a391d36251642699b726aac
|
data/README.md
CHANGED
|
@@ -24,8 +24,8 @@ timing_attack [options] -u <target> <inputs>
|
|
|
24
24
|
-p, --post Use POST, not GET
|
|
25
25
|
-q, --quiet Quiet mode (don't display progress bars)
|
|
26
26
|
-b, --brute-force Brute force mode
|
|
27
|
-
--parameters STR JSON hash of parameters. 'INPUT' will be replaced with the attack string
|
|
28
|
-
--body STR JSON of
|
|
27
|
+
--parameters STR JSON hash of URL parameters. 'INPUT' will be replaced with the attack string
|
|
28
|
+
--body STR JSON hash of parameters to be included in the request body. 'INPUT' will be replaced with the attack string
|
|
29
29
|
--http-username STR HTTP basic authentication username. 'INPUT' will be replaced with the attack string
|
|
30
30
|
--http-password STR HTTP basic authentication password. 'INPUT' will be replaced with the attack string
|
|
31
31
|
--percentile NUM Use NUMth percentile for calculations (default: 3)
|
data/exe/timing_attack
CHANGED
|
@@ -34,10 +34,10 @@ class TimingAttackCli
|
|
|
34
34
|
opts.on("-p", "--post", "Use POST, not GET") { |bool| options[:method] = bool ? :post : :get }
|
|
35
35
|
opts.on("-q", "--quiet", "Quiet mode (don't display progress bars)") { |bool| options[:verbose] = !bool }
|
|
36
36
|
opts.on("-b", "--brute-force", "Brute force mode") { |bool| options[:brute_force] = bool }
|
|
37
|
-
opts.on("--parameters STR", "JSON hash of parameters. 'INPUT' will be replaced with the attack string") do |str|
|
|
37
|
+
opts.on("--parameters STR", "JSON hash of URL parameters. 'INPUT' will be replaced with the attack string") do |str|
|
|
38
38
|
options[:params] = JSON.parse(str)
|
|
39
39
|
end
|
|
40
|
-
opts.on("--body STR", "JSON of
|
|
40
|
+
opts.on("--body STR", "JSON hash of parameters to be included in the request body. 'INPUT' will be replaced with the attack string") do |str|
|
|
41
41
|
options[:body] = JSON.parse(str)
|
|
42
42
|
end
|
|
43
43
|
opts.on("--http-username STR", "HTTP basic authentication username. 'INPUT' will be replaced with the attack string") do |str|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: timing_attack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Forrest Fleming
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-progressbar
|