Module: WebDataProxy

Included in:
DataProxyAutoLoader
Defined in:
lib/metasploit/framework/data_service/proxy/web_data_proxy.rb

Instance Method Summary collapse

Instance Method Details

#report_web_form(opts) ⇒ Object


22
23
24
25
26
27
28
29
30
# File 'lib/metasploit/framework/data_service/proxy/web_data_proxy.rb', line 22

def report_web_form(opts)
  begin
    self.data_service_operation do |data_service|
      data_service.report_web_form(opts)
    end
  rescue => e
    self.log_error(e, "Problem reporting web form")
  end
end

#report_web_page(opts) ⇒ Object


12
13
14
15
16
17
18
19
20
# File 'lib/metasploit/framework/data_service/proxy/web_data_proxy.rb', line 12

def report_web_page(opts)
  begin
    self.data_service_operation do |data_service|
      data_service.report_web_page(opts)
    end
  rescue => e
    self.log_error(e, "Problem reporting web page")
  end
end

#report_web_site(opts) ⇒ Object


2
3
4
5
6
7
8
9
10
# File 'lib/metasploit/framework/data_service/proxy/web_data_proxy.rb', line 2

def report_web_site(opts)
  begin
    self.data_service_operation do |data_service|
      data_service.report_web_site(opts)
    end
  rescue => e
    self.log_error(e, "Problem reporting website")
  end
end

#report_web_vuln(opts) ⇒ Object


32
33
34
35
36
37
38
39
40
# File 'lib/metasploit/framework/data_service/proxy/web_data_proxy.rb', line 32

def report_web_vuln(opts)
  begin
    self.data_service_operation do |data_service|
      data_service.report_web_vuln(opts)
    end
  rescue => e
    self.log_error(e, "Problem reporting web vuln")
  end
end