I/O & Encoding

PyBinascii

Python stdlib module — binascii. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.a2b_base64()Neutral
#
Signature
a2b_base64(data, strict_mode)

Decode a line of base64 data.

.a2b_hex()Neutral
#
Signature
a2b_hex(hexstr)

Binary data of hexadecimal representation.

.a2b_qp()Neutral
#
Signature
a2b_qp(data, header)

Decode a string of qp-encoded data.

.a2b_uu()Neutral
#
Signature
a2b_uu(data)

Decode a line of uuencoded data.

.b2a_base64()Neutral
#
Signature
b2a_base64(data, newline)

Base64-code line of data.

.b2a_hex()Neutral
#
Signature
b2a_hex()

Hexadecimal representation of binary data.

.b2a_qp()Neutral
#
Signature
b2a_qp(data, quotetabs, istext, header)

Encode a string using quoted-printable encoding.

.b2a_uu()Neutral
#
Signature
b2a_uu(data, backtick)

Uuencode line of data.

.crc32()Neutral
#
Signature
crc32(data, crc)

Compute CRC-32 incrementally.

.crc_hqx()Neutral
#
Signature
crc_hqx(data, crc)

Compute CRC-CCITT incrementally.

Fully-Qualified Names

FQNField
binasciifqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import binascii