watobo 0.9.8.686 → 0.9.8.724

Sign up to get free protection for your applications and to get access to all the features.
data/bin/watobo CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/bin/ruby
2
- puts "Please use the command watobo_gui.rb to start watobo."
2
+ puts "Please use the command watobo_gui.rb to start watobo."
@@ -392,7 +392,7 @@ module Watobo
392
392
 
393
393
  def resetTextbox()
394
394
  @textbox.setPrintable(@text)
395
- @textbox.reset_filter
395
+ @textbox.reset_text
396
396
  @match_pos_label.text = "0/0"
397
397
  @match_pos_label.textColor = 'grey'
398
398
  end
@@ -346,7 +346,7 @@ module Watobo
346
346
  end
347
347
 
348
348
  module Web10
349
-
349
+ include Watobo::Constants
350
350
  def post_parms
351
351
  parmlist=[]
352
352
  begin
@@ -473,17 +473,17 @@ module Watobo
473
473
  puts dummy
474
474
  te = case dummy
475
475
  when 'chunked'
476
- Watobo::TE_CHUNKED
476
+ TE_CHUNKED
477
477
  when 'compress'
478
- Watobo::TE_COMPRESS
478
+ TE_COMPRESS
479
479
  when 'zip'
480
- Watobo::TE_GZIP
480
+ TE_GZIP
481
481
  when 'deflate'
482
- Watobo::TE_DEFLATE
482
+ TE_DEFLATE
483
483
  when 'identity'
484
- Watobo::TE_IDENTITY
484
+ TE_IDENTITY
485
485
  else
486
- Watobo::TE_NONE
486
+ TE_NONE
487
487
  end
488
488
  break
489
489
  end
@@ -23,6 +23,7 @@ module Watobo
23
23
  module Mixin
24
24
  module Shaper
25
25
  module Web10
26
+ include Watobo::Constants
26
27
  def replace_post_parm(parm,value)
27
28
  parm_quoted = Regexp.quote(parm)
28
29
  self.last.gsub!(/([?&]{0,1})#{parm_quoted}=([0-9a-zA-Z\-\._,+<>\%!=]*)(&{0,1})/i, "\\1#{parm}=#{value}\\3")
@@ -238,7 +239,7 @@ module Watobo
238
239
 
239
240
  def fixupContentLength
240
241
  te = self.transferEncoding
241
- if te == Watobo::TE_CHUNKED then
242
+ if te == TE_CHUNKED then
242
243
  # puts "Transfer-Encoding = TE_CHUNKED"
243
244
  # puts self.body
244
245
  self.removeHeader("Transfer-Encoding")
@@ -277,7 +278,7 @@ module Watobo
277
278
  self.fix_content_length
278
279
  # puts "= FIXED ="
279
280
  # puts self.headers
280
- elsif te == Watobo::TE_NONE then
281
+ elsif te == TE_NONE then
281
282
  self.fix_content_length
282
283
  end
283
284
 
data/lib/watobo.rb CHANGED
@@ -44,7 +44,7 @@ require 'watobo/framework'
44
44
 
45
45
  module Watobo
46
46
 
47
- VERSION = "0.9.8-686"
47
+ VERSION = "0.9.8-724"
48
48
 
49
49
  def self.base_directory
50
50
  @base_directory ||= ""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watobo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.686
4
+ version: 0.9.8.724
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-17 00:00:00.000000000Z
12
+ date: 2012-04-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fxruby
16
- requirement: &28553580 !ruby/object:Gem::Requirement
16
+ requirement: &28577316 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *28553580
24
+ version_requirements: *28577316
25
25
  description: WATOBO is intended to enable security professionals to perform efficient
26
26
  (semi-automated ) web application security audits. It works like a local web proxy.
27
27
  email: watobo@siberas.de