Module Import alias Import alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body Print Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr keyword UnaryOpUSub NameLoad Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr decorator_list TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A sys N/A os Maltego * N/A stawk_db N/A logging N/A datetime common * N/A N/A N/A logging basicConfig level N/A logging DEBUG filename /tmp/maltego_logs.txt format %(asctime)s %(levelname)s: %(message)s datefmt %Y-%m-%d %H:%M:%S N/A N/A sys stderr N/A sys stdout main N/A N/A N/A N/A N/A Content-type: xml

 N/A MaltegoXML_in N/A N/A N/A sys stdin read N/A N/A MaltegoXML_in N/A N/A m N/A MaltegoMsg MaltegoXML_in N/A cursor N/A N/A stawk_db dbconnect N/A TRX N/A MaltegoTransform N/A drone % N/A now N/A N/A N/A datetime datetime now N/A N/A N/A start_time N/A m AdditionalFields N/A end_time N/A m AdditionalFields N/A N/A start_time N/A N/A m AdditionalFields N/A start_time N/A end_time N/A N/A m AdditionalFields N/A end_time N/A N/A start_time N/A now N/A N/A datetime timedelta seconds N/A lookback N/A end_time N/A now N/A N/A datetime timedelta seconds lookback N/A now N/A N/A now strftime %Y-%m-%d %H:%M:%S.0 N/A start_time N/A N/A start_time strftime %Y-%m-%d %H:%M:%S.0 N/A end_time N/A N/A end_time strftime %Y-%m-%d %H:%M:%S.0 N/A N/A location N/A m AdditionalFields N/A N/A location N/A N/A m AdditionalFields N/A location N/A N/A location % N/A N/A properties.drone N/A m AdditionalFields N/A N/A drone N/A N/A m AdditionalFields N/A properties.drone N/A domain None N/A N/A domain N/A m AdditionalFields N/A N/A domain N/A N/A m AdditionalFields N/A domain N/A N/A N/A cursor execute SELECT DISTINCT client_ip,hostname,dhcp_leases.mac,vendor_short,ua FROM dhcp_leases,squid_logs,mac_vendor WHERE squid_logs.client_ip=dhcp_leases.ip AND dhcp_leases.mac_prefix=mac_vendor.mac AND domain = %s domain N/A results N/A N/A cursor fetchall N/A row results N/A N/A N/A N/A client_ip N/A row N/A 0 N/A hostname N/A N/A N/A row N/A 1 encode utf8 xmlcharrefreplace N/A mac N/A row N/A 2 N/A vendor N/A N/A N/A row N/A 3 encode utf8 xmlcharrefreplace N/A useragent N/A N/A N/A row N/A 4 encode utf8 xmlcharrefreplace N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging debug e N/A NewEnt N/A N/A TRX addEntity snoopy.Client N/A %s (%s) N/A vendor hostname N/A N/A N/A NewEnt addAdditionalFields hostname hostname strict hostname N/A N/A N/A NewEnt addAdditionalFields mac mac strict mac N/A N/A N/A NewEnt addAdditionalFields vendor vendor strict vendor N/A N/A N/A NewEnt addAdditionalFields from_web from_web strict True N/A N/A N/A NewEnt addAdditionalFields from_probes from_probes strict True N/A N/A N/A TRX returnOutput N/A N/A N/A N/A N/A main N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging debug e