Misc functions

The Misc functions perform several tasks.

Functions List


get_page

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.


Home | Top
get_page_to_file

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.


Home | Top
brute_url

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.


Home | Top
check_custom404

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.


Home | Top
server_version

Function Name: def server_version(ireq = None)
Parameters: ireq (Input Request)
Return: String
Abstract: Returns a string with the server version.


Home | Top
Roses Labs Innovations (RL+I)
Roses Labs © 2004