SYMBOL INDEX (375 symbols across 9 files) FILE: c2server/c2server.py function get_ip_address (line 20) | def get_ip_address(): function write_c2log (line 40) | def write_c2log(alias, direction, msg): class c2server (line 45) | class c2server(BaseHTTPRequestHandler): method end_headers (line 46) | def end_headers(self): method do_GET (line 53) | def do_GET(self): method do_POST (line 68) | def do_POST(self): class c2admin (line 79) | class c2admin(SimpleHTTPRequestHandler): method end_headers (line 80) | def end_headers(self): method handle_C2admin (line 86) | def handle_C2admin(self): method handle_C2log (line 94) | def handle_C2log(self, alias=None, abridge=True): method do_GET (line 116) | def do_GET(self): method do_POST (line 133) | def do_POST(self): class Host (line 232) | class Host: class ClientData (line 237) | class ClientData: method __init__ (line 238) | def __init__(self, client_id, alias, client_exchange_key, cmd_queue): class SessionData (line 257) | class SessionData: method __init__ (line 258) | def __init__(self, session_id, session_key, client_id, device_id, ex... method __init__ (line 268) | def __init__(self, host_private_key, host_public_key): method provision (line 284) | def provision(self, alias, poll_seconds, fast_seconds, contact_seconds): method make_err_msg (line 318) | def make_err_msg(self, err_code, err_text): method handle_hello (line 323) | def handle_hello(self, hello_msg, client): method handle_poll (line 363) | def handle_poll(self, poll_msg, session): method handle_response (line 403) | def handle_response(self, command_response, session): method handle_error (line 431) | def handle_error(self, err_msg, session): method process_message (line 434) | def process_message(self, raw_msg, raw_len): class HelloResponse (line 469) | class HelloResponse: method __init__ (line 470) | def __init__(self, session_id, session_key, expiry, poll_seconds, fast... class CommandMsg (line 479) | class CommandMsg: method __init__ (line 480) | def __init__(self, seq, command, is_more): class MsgWrapper (line 490) | class MsgWrapper: method __init__ (line 491) | def __init__(self, *args): method encrypt (line 520) | def encrypt(self, key): method decrypt (line 527) | def decrypt(self, key): method secure_msg (line 537) | def secure_msg(self): function log (line 552) | def log(err_text): function gen_random (line 556) | def gen_random(size): class c2config (line 560) | class c2config: method __init__ (line 561) | def __init__(self, host_public_key, host_private_key, host_url, host_p... method save_provision_files (line 579) | def save_provision_files(self): method load_provision_files (line 598) | def load_provision_files(self): function validate_arguments (line 620) | def validate_arguments(argv): FILE: flash.py function omg_tos (line 81) | def omg_tos(): function omg_dependency_imports (line 234) | def omg_dependency_imports(): function handler (line 269) | def handler(signal_received, frame): class omg_results (line 274) | class omg_results(): method __init__ (line 275) | def __init__(self): function get_dev_info (line 294) | def get_dev_info(dev): function ask_for_flasherhwver (line 305) | def ask_for_flasherhwver(): function ask_for_port (line 322) | def ask_for_port(): function omg_flash (line 404) | def omg_flash(command,tries=2): function complete (line 432) | def complete(statuscode, message="Press Enter to continue..."): function make_request (line 436) | def make_request(url): function get_resource_file (line 452) | def get_resource_file(url,params=None,data_type='text'): function get_release_data (line 475) | def get_release_data(): function omg_fetch_latest_firmware (line 497) | def omg_fetch_latest_firmware(create_dst_dir=False,dst_dir="./firmware"): function omg_locate (line 539) | def omg_locate(): function omg_probe (line 617) | def omg_probe(): function omg_reset_settings (line 638) | def omg_reset_settings(): function omg_patch (line 649) | def omg_patch(_ssid, _pass, _mode, slotsize=4, percent=60): function omg_input (line 682) | def omg_input(): function omg_flashfw (line 785) | def omg_flashfw(mac=None,flash_size=None): function omg_runflash (line 807) | def omg_runflash(pre_erase=False,skip_flash=False,skip_input=False,skip_... function get_script_path (line 840) | def get_script_path(): FILE: scripts/flashapi.py function timeout_per_mb (line 76) | def timeout_per_mb(seconds_per_mb, size_bytes): function check_supported_function (line 87) | def check_supported_function(func, check_func): function stub_function_only (line 98) | def stub_function_only(func): function stub_and_esp32_function_only (line 102) | def stub_and_esp32_function_only(func): function byte (line 109) | def byte(bitstr, index): function byte (line 112) | def byte(bitstr, index): function _mask_to_shift (line 121) | def _mask_to_shift(mask): function esp8266_function_only (line 129) | def esp8266_function_only(func): class ESPLoader (line 133) | class ESPLoader(object): method __init__ (line 185) | def __init__(self, port=DEFAULT_PORT, baud=ESP_ROM_BAUD, trace_enabled... method _set_port_baudrate (line 201) | def _set_port_baudrate(self, baud): method detect_chip (line 208) | def detect_chip(port=DEFAULT_PORT, baud=ESP_ROM_BAUD, connect_mode='de... method read (line 225) | def read(self): method write (line 228) | def write(self, packet): method trace (line 235) | def trace(self, message, *format_args): method checksum (line 248) | def checksum(data, state=ESP_CHECKSUM_MAGIC): method command (line 257) | def command(self, op=None, data=b"", chk=0, wait_response=True, timeou... method check_command (line 289) | def check_command(self, op_description, op=None, data=b'', chk=0, time... method flush_input (line 304) | def flush_input(self): method sync (line 308) | def sync(self): method _setDTR (line 314) | def _setDTR(self, state): method _setRTS (line 317) | def _setRTS(self, state): method _connect_attempt (line 322) | def _connect_attempt(self, mode='default_reset', esp32r0_delay=False): method connect (line 364) | def connect(self, mode='default_reset'): method read_reg (line 383) | def read_reg(self, addr): method write_reg (line 390) | def write_reg(self, addr, value, mask=0xFFFFFFFF, delay_us=0): method update_reg (line 394) | def update_reg(self, addr, mask, new_val): method mem_begin (line 403) | def mem_begin(self, size, blocks, blocksize, offset): method mem_block (line 419) | def mem_block(self, data, seq): method mem_finish (line 424) | def mem_finish(self, entrypoint=0): method flash_begin (line 436) | def flash_begin(self, size, offset): method flash_block (line 452) | def flash_block(self, data, seq, timeout=DEFAULT_TIMEOUT): method flash_encrypt_block (line 459) | def flash_encrypt_block(self, data, seq, timeout=DEFAULT_TIMEOUT): method flash_finish (line 466) | def flash_finish(self, reboot=False): method run (line 471) | def run(self, reboot=False): method flash_id (line 476) | def flash_id(self): method parse_flash_size_arg (line 480) | def parse_flash_size_arg(self, arg): method run_stub (line 487) | def run_stub(self, stub=None): method flash_defl_begin (line 514) | def flash_defl_begin(self, size, compsize, offset): method flash_defl_block (line 534) | def flash_defl_block(self, data, seq, timeout=DEFAULT_TIMEOUT): method flash_defl_finish (line 539) | def flash_defl_finish(self, reboot=False): method flash_md5sum (line 547) | def flash_md5sum(self, addr, size): method change_baud (line 561) | def change_baud(self, baud): method erase_flash (line 572) | def erase_flash(self): method erase_region (line 578) | def erase_region(self, offset, size): method read_flash (line 587) | def read_flash(self, offset, length, progress_fn=None): method flash_spi_attach (line 619) | def flash_spi_attach(self, hspi_arg): method flash_set_parameters (line 627) | def flash_set_parameters(self, size): method run_spiflash_command (line 637) | def run_spiflash_command(self, spiflash_command, data=b"", read_bits=0): method read_status (line 716) | def read_status(self, num_bytes=2): method write_status (line 728) | def write_status(self, new_status, num_bytes=2, set_non_volatile=False): method get_crystal_freq (line 749) | def get_crystal_freq(self): method hard_reset (line 760) | def hard_reset(self): method soft_reset (line 765) | def soft_reset(self, stay_in_bootloader): class ESP8266ROM (line 785) | class ESP8266ROM(ESPLoader): method get_efuses (line 817) | def get_efuses(self): method get_chip_description (line 824) | def get_chip_description(self): method get_chip_features (line 829) | def get_chip_features(self): method flash_spi_attach (line 835) | def flash_spi_attach(self, hspi_arg): method flash_set_parameters (line 842) | def flash_set_parameters(self, size): method chip_id (line 847) | def chip_id(self): method read_mac (line 853) | def read_mac(self): method get_erase_size (line 868) | def get_erase_size(self, offset, size): method override_vddsdio (line 883) | def override_vddsdio(self, new_voltage): class ESP8266StubLoader (line 887) | class ESP8266StubLoader(ESP8266ROM): method __init__ (line 891) | def __init__(self, rom_loader): method get_erase_size (line 896) | def get_erase_size(self, offset, size): class ESP32ROM (line 903) | class ESP32ROM(ESPLoader): method is_flash_encryption_key_valid (line 938) | def is_flash_encryption_key_valid(self): method get_flash_crypt_config (line 953) | def get_flash_crypt_config(self): method get_chip_description (line 965) | def get_chip_description(self): method get_chip_features (line 979) | def get_chip_features(self): method read_efuse (line 1024) | def read_efuse(self, n): method chip_id (line 1028) | def chip_id(self): method read_mac (line 1031) | def read_mac(self): method get_erase_size (line 1041) | def get_erase_size(self, offset, size): method override_vddsdio (line 1044) | def override_vddsdio(self, new_voltage): class ESP32StubLoader (line 1067) | class ESP32StubLoader(ESP32ROM): method __init__ (line 1072) | def __init__(self, rom_loader): class ESPBOOTLOADER (line 1081) | class ESPBOOTLOADER(object): function LoadFirmwareImage (line 1087) | def LoadFirmwareImage(chip, filename): class ImageSegment (line 1102) | class ImageSegment(object): method __init__ (line 1103) | def __init__(self, addr, data, file_offs=None): method copy_with_new_addr (line 1111) | def copy_with_new_addr(self, new_addr): method split_image (line 1114) | def split_image(self, split_len): method __repr__ (line 1123) | def __repr__(self): method pad_to_alignment (line 1129) | def pad_to_alignment(self, alignment): class ELFSection (line 1133) | class ELFSection(ImageSegment): method __init__ (line 1134) | def __init__(self, name, addr, data): method __repr__ (line 1138) | def __repr__(self): class BaseFirmwareImage (line 1142) | class BaseFirmwareImage(object): method __init__ (line 1146) | def __init__(self): method load_common_header (line 1152) | def load_common_header(self, load_file, expected_magic): method verify (line 1159) | def verify(self): method load_segment (line 1163) | def load_segment(self, f, is_irom_segment=False): method warn_if_unusual_segment (line 1175) | def warn_if_unusual_segment(self, offset, size, is_irom_segment): method maybe_patch_segment_data (line 1180) | def maybe_patch_segment_data(self, f, segment_data): method save_segment (line 1202) | def save_segment(self, f, segment, checksum=None): method read_checksum (line 1210) | def read_checksum(self, f): method calculate_checksum (line 1215) | def calculate_checksum(self): method append_checksum (line 1222) | def append_checksum(self, f, checksum): method write_common_header (line 1227) | def write_common_header(self, f, segments): method is_irom_addr (line 1231) | def is_irom_addr(self, addr): method get_irom_segment (line 1234) | def get_irom_segment(self): method get_non_irom_segments (line 1242) | def get_non_irom_segments(self): class ESP8266ROMFirmwareImage (line 1247) | class ESP8266ROMFirmwareImage(BaseFirmwareImage): method __init__ (line 1250) | def __init__(self, load_file=None): method default_output_name (line 1265) | def default_output_name(self, input_file): method save (line 1269) | def save(self, basename): class ESP8266V2FirmwareImage (line 1285) | class ESP8266V2FirmwareImage(BaseFirmwareImage): method __init__ (line 1288) | def __init__(self, load_file=None): method default_output_name (line 1322) | def default_output_name(self, input_file): method save (line 1332) | def save(self, filename): function esp8266_crc32 (line 1361) | def esp8266_crc32(data): class ESP32FirmwareImage (line 1369) | class ESP32FirmwareImage(BaseFirmwareImage): method __init__ (line 1378) | def __init__(self, load_file=None): method is_flash_addr (line 1415) | def is_flash_addr(self, addr): method default_output_name (line 1419) | def default_output_name(self, input_file): method warn_if_unusual_segment (line 1423) | def warn_if_unusual_segment(self, offset, size, is_irom_segment): method save (line 1426) | def save(self, filename): method save_flash_segment (line 1520) | def save_flash_segment(self, f, segment, checksum=None): method load_extended_header (line 1528) | def load_extended_header(self, load_file): method save_extended_header (line 1548) | def save_extended_header(self, save_file): class ELFFile (line 1565) | class ELFFile(object): method __init__ (line 1571) | def __init__(self, name): method get_section (line 1577) | def get_section(self, section_name): method _read_elf_file (line 1583) | def _read_elf_file(self, f): method _read_sections (line 1604) | def _read_sections(self, f, section_header_offs, section_header_count,... method sha256 (line 1642) | def sha256(self): function slip_reader (line 1650) | def slip_reader(port, trace_function): function arg_auto_int (line 1692) | def arg_auto_int(x): function div_roundup (line 1696) | def div_roundup(a, b): function align_file_position (line 1700) | def align_file_position(f, size): function flash_size_bytes (line 1705) | def flash_size_bytes(size): function hexify (line 1714) | def hexify(s, uppercase=True): class HexFormatter (line 1722) | class HexFormatter(object): method __init__ (line 1724) | def __init__(self, binary_string, auto_split=True): method __str__ (line 1728) | def __str__(self): function pad_to (line 1743) | def pad_to(data, alignment, pad_character=b'\xFF'): class FatalError (line 1750) | class FatalError(RuntimeError): method __init__ (line 1751) | def __init__(self, message): method WithResult (line 1755) | def WithResult(message, result): class NotImplementedInROMError (line 1760) | class NotImplementedInROMError(FatalError): method __init__ (line 1761) | def __init__(self, bootloader, func): class NotSupportedError (line 1765) | class NotSupportedError(FatalError): method __init__ (line 1766) | def __init__(self, esp, function_name): function load_ram (line 1773) | def load_ram(esp, args): function read_mem (line 1794) | def read_mem(esp, args): function write_mem (line 1798) | def write_mem(esp, args): function dump_mem (line 1803) | def dump_mem(esp, args): function detect_flash_size (line 1816) | def detect_flash_size(esp, args): function _update_image_flash_params (line 1828) | def _update_image_flash_params(esp, address, args, image): function write_flash (line 1854) | def write_flash(esp, args): function image_info (line 1985) | def image_info(args): function make_image (line 2009) | def make_image(args): function elf2image (line 2023) | def elf2image(args): function read_mac (line 2053) | def read_mac(esp, args): function chip_id (line 2062) | def chip_id(esp, args): function erase_flash (line 2071) | def erase_flash(esp, args): function erase_region (line 2078) | def erase_region(esp, args): function run (line 2085) | def run(esp, args): function flash_id (line 2089) | def flash_id(esp, args): function read_flash (line 2097) | def read_flash(esp, args): function verify_flash (line 2117) | def verify_flash(esp, args): function read_flash_status (line 2155) | def read_flash_status(esp, args): function write_flash_status (line 2159) | def write_flash_status(esp, args): function version (line 2168) | def version(args): function main (line 2177) | def main(custom_commandline=None): function expand_file_arguments (line 2507) | def expand_file_arguments(): class FlashSizeAction (line 2523) | class FlashSizeAction(argparse.Action): method __init__ (line 2524) | def __init__(self, option_strings, dest, nargs=1, auto_detect=False, *... method __call__ (line 2528) | def __call__(self, parser, namespace, values, option_string=None): class SpiConnectionAction (line 2555) | class SpiConnectionAction(argparse.Action): method __call__ (line 2556) | def __call__(self, parser, namespace, value, option_string=None): class AddrFilenamePairAction (line 2580) | class AddrFilenamePairAction(argparse.Action): method __init__ (line 2582) | def __init__(self, option_strings, dest, nargs='+', **kwargs): method __call__ (line 2585) | def __call__(self, parser, namespace, values, option_string=None): function _main (line 2718) | def _main(): FILE: scripts/miniterm.py function key_description (line 33) | def key_description(character): class ConsoleBase (line 43) | class ConsoleBase(object): method __init__ (line 46) | def __init__(self): method setup (line 53) | def setup(self): method cleanup (line 56) | def cleanup(self): method getkey (line 59) | def getkey(self): method write_bytes (line 63) | def write_bytes(self, byte_string): method write (line 68) | def write(self, text): method cancel (line 73) | def cancel(self): method __enter__ (line 80) | def __enter__(self): method __exit__ (line 84) | def __exit__(self, *args, **kwargs): class Out (line 93) | class Out(object): method __init__ (line 96) | def __init__(self, fd): method flush (line 99) | def flush(self): method write (line 102) | def write(self, s): class Console (line 105) | class Console(ConsoleBase): method __init__ (line 131) | def __init__(self): method __del__ (line 158) | def __del__(self): method getkey (line 166) | def getkey(self): method cancel (line 183) | def cancel(self): method __init__ (line 195) | def __init__(self): method setup (line 205) | def setup(self): method getkey (line 212) | def getkey(self): method cancel (line 218) | def cancel(self): method cleanup (line 221) | def cleanup(self): class Console (line 194) | class Console(ConsoleBase): method __init__ (line 131) | def __init__(self): method __del__ (line 158) | def __del__(self): method getkey (line 166) | def getkey(self): method cancel (line 183) | def cancel(self): method __init__ (line 195) | def __init__(self): method setup (line 205) | def setup(self): method getkey (line 212) | def getkey(self): method cancel (line 218) | def cancel(self): method cleanup (line 221) | def cleanup(self): class Transform (line 231) | class Transform(object): method rx (line 233) | def rx(self, text): method tx (line 237) | def tx(self, text): method echo (line 241) | def echo(self, text): class CRLF (line 246) | class CRLF(Transform): method tx (line 249) | def tx(self, text): class CR (line 253) | class CR(Transform): method rx (line 256) | def rx(self, text): method tx (line 259) | def tx(self, text): class LF (line 263) | class LF(Transform): class NoTerminal (line 267) | class NoTerminal(Transform): method rx (line 277) | def rx(self, text): class NoControls (line 283) | class NoControls(NoTerminal): class Printable (line 295) | class Printable(Transform): method rx (line 298) | def rx(self, text): class Colorize (line 313) | class Colorize(Transform): method __init__ (line 316) | def __init__(self): method rx (line 321) | def rx(self, text): method echo (line 324) | def echo(self, text): class DebugIO (line 328) | class DebugIO(Transform): method rx (line 331) | def rx(self, text): method tx (line 336) | def tx(self, text): function ask_for_port (line 363) | def ask_for_port(): class Miniterm (line 388) | class Miniterm(object): method __init__ (line 394) | def __init__(self, serial_instance, echo=False, eol='crlf', filters=()): method _start_reader (line 412) | def _start_reader(self): method _stop_reader (line 420) | def _stop_reader(self): method start (line 427) | def start(self): method stop (line 437) | def stop(self): method join (line 441) | def join(self, transmit_only=False): method close (line 449) | def close(self): method update_transformations (line 452) | def update_transformations(self): method set_rx_encoding (line 459) | def set_rx_encoding(self, encoding, errors='replace'): method set_tx_encoding (line 464) | def set_tx_encoding(self, encoding, errors='replace'): method dump_port_settings (line 469) | def dump_port_settings(self): method reader (line 494) | def reader(self): method writer (line 513) | def writer(self): method handle_menu_key (line 551) | def handle_menu_key(self, c): method upload_file (line 637) | def upload_file(self): method change_filter (line 659) | def change_filter(self): method change_encoding (line 678) | def change_encoding(self): method change_baudrate (line 694) | def change_baudrate(self): method change_port (line 708) | def change_port(self): method suspend_port (line 738) | def suspend_port(self): method get_help_text (line 769) | def get_help_text(self): function main (line 813) | def main(default_port=None, default_baudrate=9600, default_rts=None, def... FILE: scripts/pager.py class COORD (line 46) | class COORD(Structure): class SMALL_RECT (line 49) | class SMALL_RECT(Structure): class CONSOLE_SCREEN_BUFFER_INFO (line 53) | class CONSOLE_SCREEN_BUFFER_INFO(Structure): function _windows_get_window_size (line 61) | def _windows_get_window_size(): function _posix_get_window_size (line 72) | def _posix_get_window_size(): function getwidth (line 93) | def getwidth(): function getheight (line 105) | def getheight(): function dumpkey (line 140) | def dumpkey(key): function _getch_windows (line 163) | def _getch_windows(_getall=False): function _getch_unix (line 174) | def _getch_unix(_getall=False): function getchars (line 240) | def getchars(): function echo (line 244) | def echo(msg): function prompt (line 249) | def prompt(pagenum): function page (line 256) | def page(content, pagecallback=prompt): FILE: tools/HIDX/python/hidxshell.py class HIDX (line 30) | class HIDX(): method __init__ (line 31) | def __init__(self,vid=None,pid=None,debug=False,sbuff=8,rbuff=8): method display_dev (line 64) | def display_dev(self,vid=None,pid=None): method do_cmd (line 74) | def do_cmd(self,cmd): method find_devs (line 86) | def find_devs(self): method setup_dev (line 107) | def setup_dev(self,vid,pid): method pad_input (line 144) | def pad_input(self,input_str, left_pad=False, right_pad=False, chunk_s... method split_output (line 160) | def split_output(self,message,chunk_size=8): method write (line 169) | def write(self,msg=None, buffer_limit=8): method _read (line 194) | def _read(self, buffer_limit=8,report_size=8,timeout=200): method read (line 234) | def read(self, retries=1): method setWriteBuffSize (line 266) | def setWriteBuffSize(self,size): method setReadBuffSize (line 270) | def setReadBuffSize(self,size): method decode_msg (line 274) | def decode_msg(self,data): method start (line 282) | def start(self,max_errors=5): method send (line 324) | def send(self,message,max_errors=5): function clean_id (line 347) | def clean_id(inmsg): function read_stdin (line 352) | def read_stdin(): FILE: tools/HIDX/python/linux-nativeshell.py function do_cmd (line 20) | def do_cmd(cmd): function get_linux_dev (line 26) | def get_linux_dev(): function debug_linux_dev (line 35) | def debug_linux_dev(): function debug_linux (line 43) | def debug_linux(fd): function chunk_cmd (line 56) | def chunk_cmd(result): FILE: tools/HIDX/python/stealthlink-client-universal.py function non_blocking_input (line 55) | def non_blocking_input(prompt="", timeout=5): function pad_input (line 63) | def pad_input(input_str, left_pad=False, right_pad=False, chunk_size = 8): function split_output (line 79) | def split_output(message,chunk_size=8): function recvlog (line 87) | def recvlog(msg): function handle_client (line 91) | def handle_client(client_socket,run,rts): function console_input (line 120) | def console_input(client_socket,run,rts, server_socket = None): function hidxcli (line 172) | def hidxcli(host, port,reuse=True): FILE: tools/HIDX/python/stealthlink-host-universal.py class HIDX (line 27) | class HIDX(): method __init__ (line 28) | def __init__(self,vid=None,pid=None,debug=False,sbuff=8,rbuff=8): method display_dev (line 61) | def display_dev(self,vid=None,pid=None): method do_cmd (line 71) | def do_cmd(self,cmd): method find_devs (line 90) | def find_devs(self): method setup_dev (line 111) | def setup_dev(self,vid,pid): method pad_input (line 148) | def pad_input(self,input_str, left_pad=False, right_pad=False, chunk_s... method split_output (line 164) | def split_output(self,message,chunk_size=8): method write (line 173) | def write(self,msg=None, buffer_limit=8): method _read (line 198) | def _read(self, buffer_limit=8,report_size=8,timeout=200): method read (line 239) | def read(self, retries=1): method setWriteBuffSize (line 272) | def setWriteBuffSize(self,size): method setReadBuffSize (line 276) | def setReadBuffSize(self,size): method decode_msg (line 280) | def decode_msg(self,data): method start (line 288) | def start(self,max_errors=5): method send (line 330) | def send(self,message,max_errors=5): function clean_id (line 353) | def clean_id(inmsg): function read_stdin (line 358) | def read_stdin():