reaver 0.10.1 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/reaver/version.rb +1 -1
- data/lib/reaver/walk.rb +5 -4
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 383dabbf4efb260aab57ed47fd941e745e3b41e96e091256d617f761aec8caaf
|
4
|
+
data.tar.gz: 144a702aa351e1e6e20b77aa6f203f1f8bf12db13d5007c7b668703ef29be93c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1e21da7de1424b899405afe9e34c131fda1107670ce8c68f1146bee46210ec43083b5aa990b66ee712bd6efdd82c04e576a503d6dce788491028a7a8425e8f
|
7
|
+
data.tar.gz: 6c21d4d8a493ec66d0429719299731a5814d1ded064e514335d4dbb64c6eaa349763bbf5be50017168aad240a862374fc4b1d092432d7d2b9f1bede4588e3a35
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/reaver/version.rb
CHANGED
data/lib/reaver/walk.rb
CHANGED
@@ -17,11 +17,11 @@ module Reaver
|
|
17
17
|
|
18
18
|
def x
|
19
19
|
case @extension
|
20
|
-
when %r{^image/jpeg
|
20
|
+
when %r{^image/(jpeg|png)}
|
21
21
|
copy_file
|
22
22
|
when %r{^application/zip}
|
23
23
|
extract_zip
|
24
|
-
when %r{^application/gzip}
|
24
|
+
when %r{^application/(gzip|x-xz)}
|
25
25
|
extract_gzip
|
26
26
|
when %r{^font/ttf}
|
27
27
|
copy_file
|
@@ -60,9 +60,10 @@ module Reaver
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def extract_gzip
|
63
|
-
|
63
|
+
ext = @extension.split('/').last
|
64
|
+
puts "Extracting #{ext} archive #{@filename} at #{@final_dest}..."
|
64
65
|
FileUtils.mkdir_p @final_dest
|
65
|
-
`tar
|
66
|
+
`tar x --strip-components=1 -f #{@filename} --one-top-level=#{@final_dest}`
|
66
67
|
end
|
67
68
|
end
|
68
69
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|