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.
Anas Elgarhy 9377ba142c Down jdk version 18 -> 17 4 months ago
.github/workflows Remove space from ymal file 🪞🙂 4 months ago
.idea Down jdk version 18 -> 17 4 months ago
Screenshots Add readme file 🥰 4 months ago
src/main Improve requester seters 4 months ago
.gitignore Improve git ignore file 4 months ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 4 months ago
LICENSE.txt Add license MPL-2 4 months ago
README.md Down jdk version 18 -> 17 4 months ago
pom.xml Down jdk version 18 -> 17 4 months ago

README.md

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