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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86d9d05e9ff7131edc8ef84029e4411fb52f3b49
4
- data.tar.gz: d1faedf80cea5aa1cb60075b193e056a6a474b3e
3
+ metadata.gz: d707bc2b668e3aee9be0c3f5824c58ae6cfe0fe2
4
+ data.tar.gz: 60c589954dc8a4839d77de50acc0eb210f958677
5
5
  SHA512:
6
- metadata.gz: bdb9babd15d76dc20fcbed68d214dc1761055e8160f246219e4b38bdd80a62b921c9f5c23fafd4299d091fd0f733ac041b14ba8d1e6ee48c98edd3eaf9834b74
7
- data.tar.gz: b2868a83128a77ab6b4d1df00723882eec7650f53598414231d129bb2697c926b3a4ebc61f57b4e052222886edda285daab618c40c1d9d2c228e17a79ad5639b
6
+ metadata.gz: ab2799d958dcebc5bc137494cff6c6361f492837d8830f53dd43ed47875be6c97af7fefdc9c25138d48c051166bc155a674caaa895a92a4ec1a61ca78b07dabf
7
+ data.tar.gz: 30b24583e8f97011a74c459a755552b583daaa369115c23b57b4b238cae996dbd2a1d5445b84aa0868b733334a565a0616e41cf6f00507f069cc5465d0473997
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.4.0 - In Development
2
+
3
+ * [#65](https://github.com/adamcaudill/yawast/issues/65) - Bug: Output redirection doesn't work correctly
4
+
1
5
  ## 0.3.0 - 2016-09-15
2
6
 
3
7
  * [#61](https://github.com/adamcaudill/yawast/issues/61) - SSL Session Count: force 3DES suites
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
@@ -18,7 +18,7 @@ module Yawast
18
18
  end
19
19
 
20
20
  begin
21
- api.analyse(host: uri.host, publish: 'off', startNew: 'on', all: 'done', ignoreMismatch: 'on')
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
@@ -1,3 +1,3 @@
1
1
  module Yawast
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0.beta1'
3
3
  end
data/lib/yawast.rb CHANGED
@@ -49,6 +49,8 @@ module Yawast
49
49
  OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_ALL
50
50
  end
51
51
 
52
+ STDOUT.sync = true
53
+
52
54
  trap 'SIGINT' do
53
55
  puts
54
56
  puts 'Scan cancelled by user.'
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.3.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-16 00:00:00.000000000 Z
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: '0'
175
+ version: 1.3.1
176
176
  requirements: []
177
177
  rubyforge_project: yawast
178
178
  rubygems_version: 2.6.6