Logo Search packages:      
Sourcecode: wapiti version File versions  Download package

lswww::lswww Class Reference

List of all members.


Detailed Description

lswww explore a website and extract links and forms fields.

Usage: python lswww.py http://server.com/base/url/ [options]

Supported options are:
-s <url>
--start <url>
To specify an url to start with

-x <url>
--exclude <url>
To exclude an url from the scan (for example logout scripts)
You can also use a wildcard (*)
Exemple : -x "http://server/base/?page=*&module=test"
or -x http://server/base/admin/* to exclude a directory

-p <url_proxy>
--proxy <url_proxy>
To specify a proxy
Exemple: -p http://proxy:port/

-c <cookie_file>
--cookie <cookie_file>
To use a cookie

-a <login%password>
--auth <login%password>
Set credentials for HTTP authentication
Doesn't work with Python 2.4

-r <parameter_name>
--remove <parameter_name>
Remove a parameter from URLs

-v <level>
--verbose <level>
Set verbosity level
0: only print results
1: print a dot for each url found (default)
2: print each url

-t <timeout>
--timeout <timeout>
Set the timeout (in seconds)

-h
--help
To print this usage message

Definition at line 50 of file lswww.py.


Public Member Functions

def __init__
def addBadParam
def addExcludedURL
def addStartURL
def browse
def checklink
def correctlink
def getForms
def getLinks
def getUploads
def go
def inzone
def isExcluded
def printForms
def printLinks
def printUploads
def reWildcard
def setAuthCredentials
def setCookieFile
def setProxy
def setTimeOut
def verbosity

Public Attributes

 auth_basic
 cookie
 proxy
 root
 server
 timeout
 verbose

Static Public Attributes

list allowed
list auth_basic = []
list bad_params = []
list browsed = []
string cookie = ""
list excluded = []
list forms = []
dictionary proxy = {}
string root = ""
string server = ""
int timeout = 6
list tobrowse = []
list uploads = []
int verbose = 0

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index