scapy.contrib.automotive.enumerator¶
-
class
scapy.contrib.automotive.enumerator.Enumerator(sock)¶ Bases:
objectBase class for Enumerators
- Parameters
sock – socket where enumeration takes place
-
class
ScanResult(state, req, resp)¶ Bases:
tuple-
req¶ Alias for field number 1
-
resp¶ Alias for field number 2
-
state¶ Alias for field number 0
-
-
property
completed¶
-
description= 'About my results'¶
-
dump(completed_only=True)¶
-
evaluate_response(response, **kwargs)¶
-
property
filtered_results¶
-
static
get_label(response, positive_case='PR: PositiveResponse', negative_case='NR: NegativeResponse')¶
-
static
get_table_entry(tup)¶
-
negative_response_blacklist= []¶
-
post_scan(global_configuration)¶
-
pre_scan(global_configuration)¶
-
remove_completed_states()¶
-
scan(state, requests, timeout=1, **kwargs)¶
-
property
scanned_states¶
-
show(dump=False, filtered=True, verbose=False)¶
-
show_negative_response_details(dump=False)¶
-
update_stats()¶
-
class
scapy.contrib.automotive.enumerator.Graph¶ Bases:
object-
add_edge(from_node, to_node, weight=1)¶
-
static
dijsktra(graph, initial, end)¶
-
property
nodes¶
-
-
class
scapy.contrib.automotive.enumerator.Scanner(socket, reset_handler=None, enumerators=None, **kwargs)¶ Bases:
object-
default_enumerator_clss= []¶
-
dump(completed_only=True)¶
-
enter_state(state)¶
-
enter_state_path(path)¶
-
execute_enumerator(enumerator)¶
-
get_state_paths()¶
-
reset_target()¶
-
reset_tps()¶
-
scan()¶
-