用于渗透测试、安全性、开发和乐趣的python库。
hackerman的Python项目详细描述
哈克曼
哈克曼图书馆是我做的有两个原因。
1. Because I want to make, package, and publish my own library
2. So I can use it in my penetration testing programs
所以是的
文档
密钥: $name-需要参数 英镑-可选参数 名称-函数名() name—类名 %type-返回类型
哈克曼
There's nothing here lol
hackerman.crypto
河豚(crypto.cipher.blowfish)
encrypt
$raw = raw bytes to encrypt
$password = plain text password
%bytes = encrypted bytes
decrypt
$raw = raw encrypted bytes to decrypt
$password = plain text password
%bytes = decrypted bytes
hmc(我自己的密码方法)
encrypt
$raw = raw bytes to encrypt
$password = plain text password
%bytes = encrypted bytes
decrypt
$raw = raw encrypted bytes to decrypt
$password = plain text password
%bytes = decrypted bytes
异或(crypto.cipher.xor)
encrypt
$raw = raw bytes to encrypt
$password = plain text password
%bytes = encrypted bytes
decrypt
$raw = raw encrypted bytes to decrypt
$password = plain text password
%bytes = decrypted bytes
rsa(crypto.publickey.rsa)
Key = RSA key class
£imp = default=False, if specified, needs to be an RSA key object
encrypt = encrypt function
$raw = raw bytes to encrypt with key
%bytes = encrypted bytes
decrypt = decrypt function
$raw = raw encrypted bytes to decrypt with key
%bytes = decrypted bytes
export
$fn = filename to save key to
importKey
$fn = filename to read key data from
洋葱(洋葱域)
generate = generate onion domain and key
%onion, %priv = onion domain, private key for said domain
处理程序
反向DNS(有效负载的处理程序。反向.dns)
NoCrypt = class needed if you don't want encryption
XORCrypt = class wrapper for xor en/de cryption
Handler = payload handler
$crypt = method of encryption (NoCrypt, XORCrypt, or your own as long as it has the encrypt and decrypt methods)
£send = default="send.com" domain for sending data (read transport.covert.dns.SpeedyClient)
£listen = default="listen.com" (see above)
许可证
它是在gnu gpl下授权的(更多信息在“license”文件中)。这是我第一次添加许可证,所以我不知道我是否做得对。 基本上,不要发布封闭源代码版本,但是可以随意使用它做任何您想做的事情,不过,如果您相信我,那就很酷了。