Code Monkey home page Code Monkey logo

7etsuo / j0lt-ddos-tool Goto Github PK

View Code? Open in Web Editor NEW
26.0 0.0 6.0 788 KB

DNS amplification tool. A type of DDoS attack in which attackers use publicly accessible open DNS servers to flood a target with DNS response traffic. An attacker sends a DNS lookup request to an open DNS server with the source address spoofed to be the target’s address. When the DNS server sends the record response, it is sent to the target instead.

Home Page: https://www.rootstorm.com

C 97.93% Makefile 2.07%
ddos ddos-tool ddos-attack-tools dns dns-amplification-attack dns-amplification-lab hacking-tool

j0lt-ddos-tool's Introduction

j0lt.c DNS Amplification Tool

Cyber Security Expert

WARNING: This tool is for educational purposes only. It should only be used in controlled, authorized environments.


Author


Overview

This repository contains j0lt, a command-line tool designed to demonstrate the mechanics and impact of DNS amplification attacks—a common type of Distributed Denial of Service (DDoS) attack. It is intended for educational purposes within cybersecurity labs to prevent real-world harm.

Key Features:

  • Enables IP Spoofing: Specifies a source IP to simulate attacks from different origins.
  • Targets Specific Ports: Demonstrates exploitation of UDP-based services.
  • Controls Attack Magnitude: Tests system resilience against various loads.
  • Debug Mode: Offers detailed packet content outputs for educational purposes.
  • Hex Dump: Provides optional hex dumps of packet headers for analysis.
  • No Resolv List Mode: Allows use of a pre-existing DNS server list instead of downloading a new one.

Usage Warning

The use of j0lt for any unauthorized DDoS attacks is illegal and unethical. Ensure you have explicit permission from network administrators.

Resources


Usage

$ sudo ./j0lt -t <target> -p <port> -m <magnitude>
$ gcc j0lt.c -o j0lt
$ sudo ./j0lt -t 127.0.0.1 -p 80 -m 1337

Options

  • [-x] will print a hexdump of the packet headers
  • [-d] puts j0lt into debug mode, no packets are sent
  • [-r list] will not fetch a resolv list, if one is provided.

Understanding DNS Amplification Attacks

DNS amplification attacks involve attackers using open DNS servers to flood a target with DNS response traffic. This is achieved by spoofing the target's address in DNS lookup requests, causing the server's response to overwhelm the target.

j0lt-ddos-tool's People

Contributors

7etsuo avatar aalawfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

j0lt-ddos-tool's Issues

Error !

┌──(nightwolf㉿Nightwolf)-[~/Desktop/j0lt-ddos-tool]
└─$ sudo gcc j0lt.c -o j0lt
/usr/bin/ld: /tmp/ccUFnVr3.o: in function main': j0lt.c:(.text+0x2f): undefined reference to parse_opts'
/usr/bin/ld: j0lt.c:(.text+0x71): undefined reference to do_get_revoler_list' /usr/bin/ld: j0lt.c:(.text+0xba): undefined reference to do_perform_attack'
collect2: error: ld returned 1 exit status

Refactor Process Spawning Function for Improved Readability and Modularity

Objective: The current implementation of the process spawning function combines multiple operations (initialization, spawning, and cleanup) in a single block, leading to code that is difficult to read and maintain. This issue aims to refactor the function to improve clarity, modularity, and error handling.

Tasks:

Separate Error Handling: Implement a dedicated error handling function to streamline error reporting.
Modularize Initialization and Cleanup: Create separate functions for initializing and destroying the posix_spawnattr_t attributes to simplify the main logic.
Isolate Process Spawning: Extract the process spawning logic into its own function to enhance readability and reusability.

Enhanced Error Reporting feature

Error Handling Refactor: Refactor the current error handling approach to make use of a Result enum throughout the codebase. This will standardize how errors are managed.

random source / proxy list..

i test it on tcp udp icmp method source was not randomize but only single my own ip show in victom machine . proxy is not working ?
in icmp method --help shows command format《ip:port》in implification section: but icmp protocol have no port

do_get_revoler_list & parse_opts error

~/Python/j0lt-ddos-tool$ ./j0lt -t 195.1.5.10 -p 80 -n 1337 -d
 =========================================================
 Usage: sudo ./j0lt -t -p -n [OPTION]...                  
 -t <target>                      : target IPv4 (spoof)   
 -p <port>                        : target port           
 -n <nthreads>                    : nthreads of attack    
 -x [hexdump]                     : print hexdump         
 -d [debug]                       : offline debug mode    
 =========================================================
           7etsuo: https://github.com/7etsuo           
* parse_opts error [error: 7]
~/Python/j0lt-ddos-tool$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.