Crates.io | pentest |
lib.rs | pentest |
version | 0.1.0 |
source | src |
created_at | 2023-04-12 21:33:30.180575 |
updated_at | 2023-04-12 21:33:30.180575 |
description | A zero dependency network penetration test tool. |
homepage | https://pentest.wtf |
repository | https://github.com/ca333/pentest |
max_upload_size | |
id | 837284 |
size | 11,467 |
This zerodeps Rust-based command-line tool allows you to perform a soft penetration test on a target IP address and port. It sends a predefined number of packets using either the TCP or UDP protocol to test the network's capability.
git clone https://github.com/ca333/pentest
cd pentest
cargo build --release
./target/release/pentest [IP_ADDRESS] [PORT] [COUNTER] [PROTOCOL] [PAYLOAD] [CONCURRENCY]
Replace the parameters as needed:
IP_ADDRESS
: Target IP address (e.g., 127.0.0.1
)PORT
: Target port number (e.g., 7777
)COUNTER
: Number of packets to send (e.g., 1000
)PROTOCOL
: Protocol to use: TCP
or UDP
PAYLOAD
: Packet payload as a string (e.g., "Test payload"
)CONCURRENCY
: Number of threads for concurrent packet sending (e.g., 5
)To test a local server listening on IP address 127.0.0.1
, port 7777
, sending 1000 packets using the TCP protocol, with a payload of "Test payload"
and using 5 threads, run the following command:
./target/release/pentest 127.0.0.1 7777 1000 TCP "Test payload" 5
clap
or structopt
This project is licensed under the MIT License. See the LICENSE file for details.
This tool is intended for educational purposes and legal penetration testing only. The author is not responsible for any misuse or damage caused by this tool. Use it at your own risk.
Please note that this project is in an early stage of development and is being used as a personal playground to explore the networking stack using Rust. As a result, it might not be suitable for production use or for critical security testing. The tool is provided "as is," and no guarantees are given regarding its stability, correctness, or effectiveness.
Always obtain proper authorization before conducting penetration tests on any systems or networks.