Scripts that implement different network attacks
Project description
Hack Me
A collection of scripts that implement different network attacks. For information purposes only.
Any contributor to this project doesn't take any responsibility for illegal usage of any script from this project.
Installation and Usage
The tested environment:
- Python v3.10
- Ubuntu 22.04 LTS
Make sure that python3-scapy
is installed on your system: sudo apt-get install python3-scapy
You can either run hackmeapp from a checkout of the code, or install it like any other python project. Keep in mind that a lot of scripts here can be executed only with the root privileges, so you need to run it with sudo.
$ sudo pip3 install hackme
$ sudo hackme
usage: hackmeapp.py [-h] [--debug] {attack} ...
To enter the debug mode, use the --debug
option after the hackme
command.
To get the attack description in the terminal, enter hackme <attack> --desc
Implemented Attacks
ARP Spoofing
You can read about this attack here
Example usage:
$ sudo hackme arp_spoof -i wlp2s0 -m aa:aa:aa:aa:aa:aa -gm BB-BB-BB-BB-BB-BB -gip 192.168.0.1 -vm cc:cc:cc:cc:cc:cc -vip 192.168.0.108
where:
wlp22s0
— your network interfaceaa:aa:aa:aa:aa:aa
— the interface MAC-address (can be written asAA:AA:AA:AA:AA:AA
,AA-AA-AA-AA-AA-AA
andaa-aa-aa-aa-aa-aa
)bb:bb:bb:bb:bb:bb
— the gateway's MAC-address192.168.0.1
— the gateway's IP-addresscc:cc:cc:cc:cc:cc
— the victim's MAC-address192.168.0.108
— the victim's IP-address
SYN Flood
You can read about this attack here
Example usage:
$ sudo hackme syn_flood -d 172.17.17.10 -p 443 -c 1000
where:
172.17.17.10
— server's IP-address443
— server's port1000
— the number of packets to be sent
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hackme-0.2.0.tar.gz
.
File metadata
- Download URL: hackme-0.2.0.tar.gz
- Upload date:
- Size: 44.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77c9a33363d3ee2d6e06edc3a5687a73153af68a7b8d14ced73f2dacb4e987fb |
|
MD5 | 1e1d24d778b67f77f6cd6fcad14e5b27 |
|
BLAKE2b-256 | afc6427e059267e71079937d3b7bebdbea587a19148539225d57614888cd5022 |
File details
Details for the file hackme-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: hackme-0.2.0-py3-none-any.whl
- Upload date:
- Size: 34.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3fe65d57fb07e610865f86ac252dfda992ed0ec4e9c469e12fd460772efd0f |
|
MD5 | 5e0150db20529ba08818451e76080594 |
|
BLAKE2b-256 | cee49be40b756e9634377c1085a2e4e31489a6c3fcdf4040055f11cf9751e759 |