Namespaces | Functions | Variables
pcap_json_converter.py File Reference

Go to the source code of this file.

Namespaces

 pcap_json_converter
 

Functions

def pcap_json_converter.appendToCppfile (cpp_filename, payload, is_cola_ascii)
 
def pcap_json_converter.appendToJsonfile (json_filename, relative_timestamp, payload, pcap_filename)
 
def pcap_json_converter.closeCppfile (cpp_filename)
 
def pcap_json_converter.closeJsonfile (json_filename)
 
def pcap_json_converter.isJsonPrintable (b)
 
def pcap_json_converter.parseColaPayloadLength (payload)
 

Variables

 pcap_json_converter.arg_parser = argparse.ArgumentParser()
 
 pcap_json_converter.block_data = Ether(block.packet_data)
 
 pcap_json_converter.block_decoded = block_data
 
 pcap_json_converter.cli_args = arg_parser.parse_args()
 
bool pcap_json_converter.cola_ascii = False
 
string pcap_json_converter.cpp_filename = pcap_filename + ".cpp"
 
 pcap_json_converter.default
 
 pcap_json_converter.help
 
string pcap_json_converter.is_cola_ascii = payload.startswith(b'\x02\x73')
 
string pcap_json_converter.is_cola_binary = payload.startswith(b'\x02\x02\x02\x02')
 
string pcap_json_converter.json_filename = pcap_filename + ".json"
 
string pcap_json_converter.payload = b''
 
 pcap_json_converter.payload_chunk = bytes(block_decoded.payload)
 
bool pcap_json_converter.payload_completed = False
 
string pcap_json_converter.pcap_filename = "example.pcapng"
 
 pcap_json_converter.pcap_scanner = FileScanner(pcap_file)
 
float pcap_json_converter.relative_timestamp = block.timestamp - start_timestamp
 
float pcap_json_converter.start_timestamp = -1.0
 
 pcap_json_converter.type
 


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19