Skip to content

A powerful feature packed CLI tool for stress-testing, ddos and benchmarking your websites.

Notifications You must be signed in to change notification settings

Socxenophone/PnetHammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Pnet Hammer LoadTester

Pnet comes with advanced features for real-time metrics, concurrent requests, traffic simulation, user-agent, ip rotation, basic port scanning and fingerprinting, and multi-protocol support, including SSl/TLS , HTTPS, FTP, MQTT, etc. This tool simulates a modern Distributed Denial of Service (DDoS) scenario, for anyone looking to test their web infrastructure.

Work in progress : Expect breaking changes

Features

  • Support for FTP, MQT, WebSocket, HTTP/S, etc Multi-Protocol Support
  • Request Customization
  • Rate Limiting
  • Response Time Analysis
  • IP Rotation (Proxies)
  • Result Visualization
  • Stress Test Simulation
  • User-Agent Rotation
  • Interactive Batch Mode

Installation

  1. Compile the Program: Ensure you have a Pascal compiler installed (e.g., Free Pascal).
  2. Compile the Source Code:
    fpc hammer.pas

Usage

Run with URL and bots specified:

./hammer --url=https://example.com --bots=100

Include a timeout for each request:

./hammer --url=https://example.com --bots=50 --timeout=5000

Print version information:

./hammer --version

For detailed usage see the help message:

./hammer --help

FAQ

Real-Time Metrics

During execution, the program displays live stats:

  • Requests Sent
  • Successful Requests
  • Last Response Time

Data Collection

Results are saved to:

  • load_test.log: Logs errors and responses.
  • load_test_results.json: Contains response codes and latencies in JSON format.

Traffic Simulation Profiles

The program supports predefined traffic patterns:

  • Spike: Simulates a spike in traffic.
  • Wave: Simulates waves of traffic.
  • Sustained: Simulates sustained high traffic.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.

Roadmap

  • Basic Implementation
  • Request Customising + Concurrent requests
  • IP/User-Agent Rotation
  • Port scanning & fingerprinting
  • Multi Protocol Support
  • Custom Traffic Profiles
  • Bot-net features
  • GUI

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer
This tool is intended for ethical and legal use only. The developer is not responsible for any misuse or unlawful activities conducted with this tool. Always ensure that your actions comply with the laws and regulations of your jurisdiction.