The Misc functions perform several tasks.
Functions List
Function Name: def (url = "", hin = None)
Parameters: url, hin
Return: None and a string on error, and HTTP code and data
on success
Abstract: Gets HTTP code and data from URI.
Function Name: def get_page_to_file(url = "", filepath
= "", hin = None)
Parameters: url, filepath, hin
Return: None on error, HTTP code on success
Abstract: Saves HTML page to file.
Function Name: def brute_url(hin = None, pre = None, post
= None, arin = None, arout = None)
Parameters: hin, pre, post, arin, arout
Return: Nothing
Abstract: Performs a URL brute force attack. Useful to search
for users or directories. Any success is stored in arout.
Function Name: def check_custom404(data = "", sig
= "")
Parameters: data, sig
Return: 0 (NO) on error, and 1 (YES) on success
Abstract: Checks if HTML data has been customized. Usefull
for HTTP 404 code. Put a Regex expression in "sig" variable.
Function Name: def server_version(ireq = None)
Parameters: ireq (Input Request)
Return: String
Abstract: Returns a string with the server version.