yawast 0.3.0 → 0.4.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +26 -0
- data/bin/yawast +11 -0
- data/lib/scanner/ssl_labs.rb +1 -1
- data/lib/version.rb +1 -1
- data/lib/yawast.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d707bc2b668e3aee9be0c3f5824c58ae6cfe0fe2
|
4
|
+
data.tar.gz: 60c589954dc8a4839d77de50acc0eb210f958677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab2799d958dcebc5bc137494cff6c6361f492837d8830f53dd43ed47875be6c97af7fefdc9c25138d48c051166bc155a674caaa895a92a4ec1a61ca78b07dabf
|
7
|
+
data.tar.gz: 30b24583e8f97011a74c459a755552b583daaa369115c23b57b4b238cae996dbd2a1d5445b84aa0868b733334a565a0616e41cf6f00507f069cc5465d0473997
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -22,6 +22,32 @@ This allows for simple updates (`gem update yawast`) and makes it easy to ensure
|
|
22
22
|
|
23
23
|
YAWAST requires Ruby 2.2+, and is tested on Mac OSX and Linux (Windows should work; please open a ticket if you have issues).
|
24
24
|
|
25
|
+
**Kali Rolling**
|
26
|
+
|
27
|
+
To install on Kali, just run `gem install yawast` - all of the dependentcies are already installed.
|
28
|
+
|
29
|
+
**Ubuntu 16.04**
|
30
|
+
|
31
|
+
To install YAWAST, you first need to install a couple packages via `apt-get`:
|
32
|
+
|
33
|
+
```
|
34
|
+
sudo apt-get install ruby ruby-dev
|
35
|
+
sudo gem install yawast
|
36
|
+
```
|
37
|
+
|
38
|
+
**Mac OSX**
|
39
|
+
|
40
|
+
The version of Ruby shipped with Mac OSX 10.11 is too old, so the recommended solution is to use RVM:
|
41
|
+
|
42
|
+
```
|
43
|
+
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
44
|
+
\curl -sSL https://get.rvm.io | bash -s stable
|
45
|
+
source ~/.rvm/scripts/rvm
|
46
|
+
rvm install 2.2
|
47
|
+
rvm use 2.2 --default
|
48
|
+
gem install yawast
|
49
|
+
```
|
50
|
+
|
25
51
|
### Tests
|
26
52
|
|
27
53
|
The following tests are performed:
|
data/bin/yawast
CHANGED
@@ -67,3 +67,14 @@ command :cms do |c|
|
|
67
67
|
Yawast::Commands::Cms.process(args, options)
|
68
68
|
end
|
69
69
|
end
|
70
|
+
|
71
|
+
command :cert do |c|
|
72
|
+
c.syntax = './yawast cert --input <file>'
|
73
|
+
c.description = 'Gets information about the certificates used'
|
74
|
+
|
75
|
+
c.option '--input STRING', String, 'List of domains to check'
|
76
|
+
|
77
|
+
c.action do |args, options|
|
78
|
+
Yawast::Commands::Cert.process(options)
|
79
|
+
end
|
80
|
+
end
|
data/lib/scanner/ssl_labs.rb
CHANGED
@@ -18,7 +18,7 @@ module Yawast
|
|
18
18
|
end
|
19
19
|
|
20
20
|
begin
|
21
|
-
api.analyse(host: uri.host, publish: 'off',
|
21
|
+
api.analyse(host: uri.host, publish: 'off', fromCache: 'on', all: 'done', ignoreMismatch: 'on')
|
22
22
|
|
23
23
|
status = ''
|
24
24
|
host = nil
|
data/lib/version.rb
CHANGED
data/lib/yawast.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yawast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Caudill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ssllabs
|
@@ -170,9 +170,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- - "
|
173
|
+
- - ">"
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
175
|
+
version: 1.3.1
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: yawast
|
178
178
|
rubygems_version: 2.6.6
|