yawast 0.2.0.beta1 → 0.2.0.beta2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8586875bfd5116c563edda594c80f1881b4d9f6a
4
- data.tar.gz: fba33b4125fc4cc7f4202307c26ae05802b7b52c
3
+ metadata.gz: 42f4d9182ccbab8a48451cb7c03875c283f93446
4
+ data.tar.gz: 89f4c733cb11531843afe6348f3764d625f9cd1c
5
5
  SHA512:
6
- metadata.gz: 7921d762890c43b6dc239fc7a833c9e8fd52c2b40f3398ba004e816d7bf5daac9dea1a80c60e2cee07b7598cddf1d574d829a6ddfc5ecba67cebec5dd74fb616
7
- data.tar.gz: fb4f29d8f95056046e05532d655ff0dfb9ac00e7dfc7608ee4eb7fd0d552abf61b1ace9e47961b54461795ca0a61abd167b3e2b5146c04fd2d3bf89fed092c8d
6
+ metadata.gz: 394d0a1ef793802be06f020f1612758e32c939f4ef546da10fd34891058e42020b82f6761174ec3d8cee8d119bb65111340c8e1e1ceaf9d500fe5e5423cad1c4
7
+ data.tar.gz: de77bbda41c4eeeac771afe8676fcfb908f7bf182129395d9edca42d7eb7099e578544c2fb1826ab099bf38e2883f0201391798fdcf7eb9738cee2699c49e67b
data/bin/yawast CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'commander/import'
4
- require './lib/yawast'
4
+ require File.dirname(__FILE__) + '/../lib/yawast'
5
5
 
6
6
  program :name, 'yawast'
7
7
  program :version, Yawast::VERSION
@@ -228,7 +228,7 @@ module Yawast
228
228
  headers = Yawast::Shared::Http.get_headers
229
229
 
230
230
  req.start do |http|
231
- File.open("lib/resources/common.txt", "r") do |f|
231
+ File.open(File.dirname(__FILE__) + '/../resources/common.txt', "r") do |f|
232
232
  f.each_line do |line|
233
233
  check = uri.copy
234
234
  check.path = check.path + "#{line.strip}/"
data/lib/yawast.rb CHANGED
@@ -13,16 +13,16 @@ require 'resolv'
13
13
  require 'net/http'
14
14
  require 'socket'
15
15
 
16
- require './lib/string_ext'
17
- require './lib/uri_ext'
18
- require './lib/util'
16
+ require File.dirname(__FILE__) + '/string_ext'
17
+ require File.dirname(__FILE__) + '/uri_ext'
18
+ require File.dirname(__FILE__) + '/util'
19
19
 
20
20
  require_all '/commands'
21
21
  require_all '/scanner'
22
22
  require_all '/shared'
23
23
 
24
24
  module Yawast
25
- VERSION = '0.2.0.beta1'
25
+ VERSION = '0.2.0.beta2'
26
26
  DESCRIPTION = 'The YAWAST Antecedent Web Application Security Toolkit'
27
27
  HTTP_UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Yawast/#{VERSION} Chrome/52.0.2743.24 Safari/537.36"
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yawast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.beta1
4
+ version: 0.2.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Caudill