Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
/ JDosAttacker Public archive

A Simple dos attack program implementation using java

License

Notifications You must be signed in to change notification settings

anas-stuff/JDosAttacker

Repository files navigation

A Simple dos attack program implementation using java 😉

Lines of Code Bugs Reliability Rating Technical Debt Duplicated Lines (%) Vulnerabilities Bugs Security Rating Maintainability Rating Code Smells CodeFactor Codacy Badge

This is a simple DOS attack program, and it is smart enough not to change your IP during the attack 😆, so it is recommended to use a separate tool for disguise or you will find the FPI at your door 🙂

Screenshot

  • Requirements for development:
    • jdk-17 or higher
    • Maven
    • IntelliJ IDEA (not required but recommended)

Command Line Arguments (All are optional)

Argument Value Description
-h or --help n/a Show help
-v or --version n/a Show version
-u or --url Target website url Set target url (*require)
-t or --threads Number of threads Set number of threads (*require)
-n or --number Number of requests Set number of requests per thread (*require)
--useragent User agent string Set the user agent
--requestMethod Request method(GET/POST) Set the request method
--connectTimeout Connection timeout Set the connection timeout

*require: Required argument but if not provided, the program will show TUI and get it.

  • Examples:
java -jar JDosAttacker.jar -u http://example.com -t 10 -n 100
java -jar JDosAttacker.jar -u https://example.com -t 10 -n 100 --useragent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36"
java -jar JDosAttacker.jar
  • Without arguments, the program will show TUI like this: TUI

Also, available in:

This program was created for the purpose of study only, and I am not responsible for any use outside this purpose

SonarCloud

License: MPL 2.0