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 +1 -1
- data/lib/watobo/gui/interceptor_gui.rb +1 -1
- data/lib/watobo/mixins/httpparser.rb +7 -7
- data/lib/watobo/mixins/shapers.rb +3 -2
- data/lib/watobo.rb +1 -1
- metadata +4 -4
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."
|
@@ -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
|
-
|
476
|
+
TE_CHUNKED
|
477
477
|
when 'compress'
|
478
|
-
|
478
|
+
TE_COMPRESS
|
479
479
|
when 'zip'
|
480
|
-
|
480
|
+
TE_GZIP
|
481
481
|
when 'deflate'
|
482
|
-
|
482
|
+
TE_DEFLATE
|
483
483
|
when 'identity'
|
484
|
-
|
484
|
+
TE_IDENTITY
|
485
485
|
else
|
486
|
-
|
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 ==
|
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 ==
|
281
|
+
elsif te == TE_NONE then
|
281
282
|
self.fix_content_length
|
282
283
|
end
|
283
284
|
|
data/lib/watobo.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2012-04-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fxruby
|
16
|
-
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: *
|
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
|