{"success":true,"data":{"ext":"ppk","name":"PPK","description":"PPK is the PuTTY Private Key file format, created and maintained by Simon Tatham for use with the PuTTY family of SSH tools. It stores private keys for SSH authentication and is used by PuTTY, Pageant, and related clients to manage saved credentials for remote server access. Because it contains sensitive secret-key material, it should be protected carefully; older keys may use legacy encryption or weaker passphrase protection.","mime":[],"risk_level":"Safe","signatures":[{"hex":"50 75 54 54 59 2D 55 73 65 72 2D 4B 65 79 2D 46 69 6C 65 2D 32 3A","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"50 75 54 54 59 2D 55 73 65 72 2D 4B 65 79 2D 46 69 6C 65 2D 33 3A","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_ppk(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PPK by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x75, 0x54, 0x54, 0x59, 0x2D, 0x55, 0x73, 0x65, 0x72, 0x2D, 0x4B, 0x65, 0x79, 0x2D, 0x46, 0x69, 0x6C, 0x65, 0x2D, 0x32, 0x3A])\n    with open(file_path, \"rb\") as f:\n        return f.read(22) == signature","node":"function isPPK(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x75, 0x54, 0x54, 0x59, 0x2D, 0x55, 0x73, 0x65, 0x72, 0x2D, 0x4B, 0x65, 0x79, 0x2D, 0x46, 0x69, 0x6C, 0x65, 0x2D, 0x32, 0x3A]);\n  return buffer.subarray(0, 22).equals(signature);\n}","go":"func IsPPK(data []byte) bool {\n    signature := []byte{0x50, 0x75, 0x54, 0x54, 0x59, 0x2D, 0x55, 0x73, 0x65, 0x72, 0x2D, 0x4B, 0x65, 0x79, 0x2D, 0x46, 0x69, 0x6C, 0x65, 0x2D, 0x32, 0x3A}\n    if len(data) < 22 {\n        return false\n    }\n    return bytes.Equal(data[:22], signature)\n}"}}}