The hacking module
Contains the Hacking class which provides functions pertaining
to hacking web sites.
The UrlRequest class
-
class pyamp.web.hacking.UrlRequest
The UrlRequest provides methods for requesting webpages.
-
classmethod authenticate(username, password, url)
Request a page that requires authentication.
-
classmethod get(url)
Get the content of a page.
-
classmethod request(url)
Request a page.
The Hacking class
-
class pyamp.web.hacking.Hacking[source]
Contains methods pertaining to Hacking.
-
classmethod findAdminPage(baseUrl, adminFile=None)[source]
Attempt to find an admin page for a website using
the configured list of possible admin names.
- baseUrl - The base URL to look for an admin page
- adminFile - The list of possible admin names