Module: RemoteWebDataService
Constant Summary
collapse
- WEB_API_PATH =
'/api/v1/webs'
Instance Method Summary
collapse
#json_to_hash, #json_to_mdm_object, #process_file, #to_ar
Instance Method Details
16
17
18
|
# File 'lib/metasploit/framework/data_service/remote/http/remote_web_data_service.rb', line 16
def report_web_form(opts)
self.post_data_async("#{WEB_API_PATH}/form", opts)
end
|
#report_web_page(opts) ⇒ Object
12
13
14
|
# File 'lib/metasploit/framework/data_service/remote/http/remote_web_data_service.rb', line 12
def report_web_page(opts)
self.post_data_async("#{WEB_API_PATH}/page", opts)
end
|
#report_web_site(opts) ⇒ Object
8
9
10
|
# File 'lib/metasploit/framework/data_service/remote/http/remote_web_data_service.rb', line 8
def report_web_site(opts)
self.post_data_async(WEB_API_PATH, opts)
end
|
#report_web_vuln(opts) ⇒ Object
20
21
22
|
# File 'lib/metasploit/framework/data_service/remote/http/remote_web_data_service.rb', line 20
def report_web_vuln(opts)
self.post_data_async("#{WEB_API_PATH}/vuln", opts)
end
|