A Simple dos attack program implementation using java 😉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4.8 KiB

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 🙂


  • 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/ 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


License: MPL 2.0