{"library":"python-flirt","title":"Python FLIRT","description":"A Python library for parsing, compiling, and matching Fast Library Identification and Recognition Technology (FLIRT) signatures. It enables identification of known library functions in binary code using signature files. Current version 0.9.10, requires Python >=3.10, released on an ad-hoc cadence.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install python-flirt"],"cli":{"name":"flirt","version":"sh: 1: flirt: not found"}},"imports":["from flirt import Signature","from flirt import compile_sig","from flirt import match_sig"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from flirt import Signature, match_sig\nimport urllib.request\n\n# Load a signature file (example URL, replace with actual)\nurl = 'https://raw.githubusercontent.com/williballenthin/lancelot/master/pyflirt/tests/data/test.sig'\nresponse = urllib.request.urlopen(url)\nsig_data = response.read()\nsig = Signature.from_bytes(sig_data)\n\n# Load a binary to scan (example placeholder)\nbinary_data = b'\\x55\\x48\\x89\\xe5\\x48\\x83\\xec\\x20'\nmatches = match_sig(sig, binary_data)\nprint(matches)","lang":"python","description":"Load a FLIRT signature from a URL and match against a binary byte sequence.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}