Package plugins :: Package grep :: Module metaTags :: Class metaTags
[hide private]
[frames] | no frames]

Class metaTags




This plugin greps every page for interesting meta tags.


Author: Andres Riancho ( andres.riancho@gmail.com )

Instance Methods [hide private]
  __init__(self)
  _testResponse(self, request, response)
This method tries to find patterns on responses.
  _findName(self, tag)
  setOptions(self, optionsMap)
Sets the Options given on the OptionList to self.
  getOptionsXML(self)
This method returns a XML containing the Options that the plugin has.
  end(self)
This method is called when the plugin wont be used anymore.
  getPluginDeps(self)
  getLongDesc(self)

Inherited from core.controllers.basePlugin.baseGrepPlugin.baseGrepPlugin: getType, setUrlOpener, testResponse

Inherited from core.controllers.basePlugin.basePlugin.basePlugin: __eq__, getDesc, getName, printUniq


Instance Variables [hide private]
  _interestingWords
Can someone explain what this meta tag does? <meta name="verify-v1" content="/JBoXnwT1d7TbbWCwL8tXe+Ts2I2LXYrdnnK50g7kdY=" />

Method Details [hide private]

__init__(self)
(Constructor)

 
None
Overrides: core.controllers.basePlugin.baseGrepPlugin.baseGrepPlugin.__init__

_testResponse(self, request, response)

 

This method tries to find patterns on responses.

This method MUST be implemented on every plugin.
Returns:
If something is found it must be reported to the Output Manager and the KB.
Overrides: core.controllers.basePlugin.baseGrepPlugin.baseGrepPlugin._testResponse
(inherited documentation)

_findName(self, tag)

 
Returns:
the tag name.

setOptions(self, optionsMap)

 

Sets the Options given on the OptionList to self. The options are the result of a user entering some data on a window that was constructed using the XML Options that was retrieved from the plugin using getOptionsXML()

This method MUST be implemented on every plugin.
Returns:
No value is returned.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.setOptions
(inherited documentation)

getOptionsXML(self)

 
This method returns a XML containing the Options that the plugin has. Using this XML the framework will build a window, a menu, or some other input method to retrieve the info from the user. The XML has to validate against the xml schema file located at : w3af/core/output.xsd
Returns:
XML String
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getOptionsXML

end(self)

 
This method is called when the plugin wont be used anymore.
Overrides: core.controllers.basePlugin.baseGrepPlugin.baseGrepPlugin.end

getPluginDeps(self)

 
Returns:
A list with the names of the plugins that should be runned before the current one.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getPluginDeps

getLongDesc(self)

 
Returns:
A DETAILED description of the plugin functions and features.
Overrides: core.controllers.basePlugin.basePlugin.basePlugin.getLongDesc

Instance Variable Details [hide private]

_interestingWords

Can someone explain what this meta tag does? <meta name="verify-v1" content="/JBoXnwT1d7TbbWCwL8tXe+Ts2I2LXYrdnnK50g7kdY=" />

Answer: That's one of the verification elements used by Google Sitemaps. When you sign up for Sitemaps you have to add that element to a root page to demonstrate to Google that you're the site owner. So there is probably a Sitemaps account for the site, if you haven't found it already.