Class: ZAPv2::Wappalyzer
- Inherits:
-
Object
- Object
- ZAPv2::Wappalyzer
- Defined in:
- lib/zap/v2apis/wappalyzer.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ Wappalyzer
constructor
A new instance of Wappalyzer.
- #list_all ⇒ Object
- #list_site(site) ⇒ Object
- #list_sites ⇒ Object
Constructor Details
#initialize(client) ⇒ Wappalyzer
Returns a new instance of Wappalyzer.
5 6 7 |
# File 'lib/zap/v2apis/wappalyzer.rb', line 5 def initialize(client) @client = client end |
Instance Method Details
#list_all ⇒ Object
9 10 11 |
# File 'lib/zap/v2apis/wappalyzer.rb', line 9 def list_all @client.get('/JSON/wappalyzer/view/listAll/') end |
#list_site(site) ⇒ Object
13 14 15 |
# File 'lib/zap/v2apis/wappalyzer.rb', line 13 def list_site(site) @client.get("/JSON/wappalyzer/view/listSite/?site=#{site}") end |
#list_sites ⇒ Object
17 18 19 |
# File 'lib/zap/v2apis/wappalyzer.rb', line 17 def list_sites @client.get('/JSON/wappalyzer/view/listSites/') end |