Skip to main content

A python library for penetration testing, security, development, and fun.

Project description

# hackerman
The hackerman library is one I made for two reasons.

1. Because I want to make, package, and publish my own library
2. So I can use it in my penetration testing programs

So yeah

# Docs

Key:
$name - needed argument
£name - optional argument
name - function name()
Name - class Name
%type - returns type

## hackerman
There's nothing here lol
## hackerman.crypto
### blowfish (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 (my own cipher method)
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
### xor (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
### onion (onion domains)
generate = generate onion domain and key
%onion, %priv = onion domain, private key for said domain

## handlers
### reverse_dns (handler for payloads.reverse.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)



# License
It is licensed under the GNU GPL (more info in the "LICENSE" file). It is my first time adding a license so I don't really know if I did it right.
Basically, don't distribute closed-source versions, but feel free to do whatever else you want with it, it would be cool if you credited me, though.



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hackerman-0.9.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file hackerman-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: hackerman-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for hackerman-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49b740ba2fd0b06550b8f171686273022ab34d789aefd3662083d0a1358042a7
MD5 33a9c18f7f69c1234bae1bd4069bc07b
BLAKE2b-256 017ee002a9542cef4c25b321063e507aadcc2f30a94066794cc3572e771737bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page