Current primitives ------------------ * Added function for URI downloads. (Assumes that the download contains no NULLs.) Returns HTTP response code + data. Sample usage: code,data = get_uri( "http://localhost/" ); * Added function to *guess* the type of service running Sample Usage: serviceName = detect_service( "localhost", 22 ); -> "ssh". * Added functions to convert between ports and service names. Sample Usage: port = service_port_from_name( "www", "tcp" ); name = service_name_from_port( 80 ); * Added functions for SHA1 hash generation. Sample Usage: hash = sha1_string( "some string" ); hash = sha1_file( "/etc/foo.rc" ); In fortress.init the function 'sha1' is mapped to 'sha1_string'. * Added functions for MD5 hash generation. Sample Usage: hash = md5_string( "some string" ); hash = md5_file( "/etc/foo.rc" ); In fortress.init the function 'md5' is mapped to 'md5_string'. * Added a simple function to do a TCP connect() portscan. Sample Usage: openPorts = portscan( "192.168.1.1" ); openPorts = portscan( "some.host.namee" ); openPorts = portscan( ); -- implies localhost * All of LUA's built in libraries: Core Functions: http://lua-users.org/wiki/CoreFunctionsTutorial Math Functions: http://lua-users.org/wiki/CoreFunctionsTutorial String Functions: http://lua-users.org/wiki/StringLibraryTutorial Tables (Associated Arrays): http://lua-users.org/wiki/TableLibraryTutorial OS Functions: http://lua-users.org/wiki/OsLibraryTutorial Debug Functions & IO functions (Both of these are currently blank). http://lua-users.org/wiki/DebugLibraryTutorial http://lua-users.org/wiki/IOLibraryTutorial Primitives To Add ----------------- More port scanning routines, eg. Syn, UDP. non-TCP protocols, GRE, ICMP packet generation. Database layer via SQLite (http://www.sqlite.org/) for saving "reports" / state / results.