Compare commits

..

7 Commits

Author SHA1 Message Date
Павел Овчинников d2daab9650 delete check_sum function and moved its logic inside tcp_syn (#13)
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/13
Reviewed-by: dr-wh0 <79003667309@yandex.ru>
Co-authored-by: Urmipie <pablonepikasso8000@gmail.com>
Co-committed-by: Urmipie <pablonepikasso8000@gmail.com>
2025-04-08 01:48:15 +03:00
nekitmilk 27d94f1199 nekitmilk_my_dns (#11)
Co-authored-by: tieshagr <tieshagr@student.21>
Co-authored-by: Serafim <simasuh@gmail.com>
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/11
Reviewed-by: serafim <simasuh@gmail.com>
Co-authored-by: nekitmilk <ya.nikita1317@gmail.com>
Co-committed-by: nekitmilk <ya.nikita1317@gmail.com>
2025-04-03 17:40:48 +03:00
Serafim 7e0804f272 style: return status codes, titles (#12)
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/12
Co-authored-by: Serafim <simasuh@gmail.com>
Co-committed-by: Serafim <simasuh@gmail.com>
2025-04-03 15:47:06 +03:00
Павел Овчинников 59d747188f TCP SYN attacks (#10)
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/8
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/10
Reviewed-by: serafim <simasuh@gmail.com>
Co-authored-by: Urmipie <pablonepikasso8000@gmail.com>
Co-committed-by: Urmipie <pablonepikasso8000@gmail.com>
2025-04-03 00:53:29 +03:00
Serafim 43092ad1f4 style/improve-code-style (#7)
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/7
Reviewed-by: dr-wh0 <79003667309@yandex.ru>
Co-authored-by: Serafim <simasuh@gmail.com>
Co-committed-by: Serafim <simasuh@gmail.com>
2025-04-03 00:23:50 +03:00
EgorALX 4c173756a0 Комментарии, status вынесен в глобалбную переменную (#6)
Co-authored-by: AleksanovED <AleksanovED@loodsen.ru>
Co-authored-by: dr-wh0 <79003667309@yandex.ru>
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/6
Reviewed-by: serafim <simasuh@gmail.com>
Co-authored-by: EgorALX <alexanoffegor@yandex.ru>
Co-committed-by: EgorALX <alexanoffegor@yandex.ru>
2025-03-26 13:58:24 +03:00
serafim 556af1f1a7 dev_nekitmilk_refactoring (#5)
Co-authored-by: tieshagr <tieshagr@student.21>
Co-authored-by: oct <m0odyplus@yandex.ru>
Reviewed-on: https://gitea.serafimdev.com/serafim/dos/pulls/5
Reviewed-by: dr-wh0 <79003667309@yandex.ru>
Co-authored-by: serafim <simasuh@gmail.com>
Co-committed-by: serafim <simasuh@gmail.com>
2025-03-24 23:45:04 +03:00
5 changed files with 682 additions and 307 deletions

5
.gitignore vendored
View File

@ -1 +1,4 @@
.vscode
.vscode
src/test.cpp
test
DosAtk

View File

@ -1,7 +1,10 @@
# Как жить?
Регаемся на данном сайте, форкаем либу, пушим в свой форк и создаём merge request.
Либо просим у Серафима контрибьютора и сразу делаем ветку где надо (так даже лучше, не придётся мучаться с мержем из форка)
```
git clone https://gitea.serafimdev.com/serafim/dos # Клонируем репозиторий
git clone https://gitea.serafimdev.com/serafim/dos # Клонируем репозиторий (замените на свой форк!)
git checkout -b my_dns # Создаём ветку для реализации модуля my_dns
git add * # Добавляем написанный код в комит
git commit -m 'Написал код' # Комитим в локальную ветку
@ -9,6 +12,24 @@ git push origin my_dns # Пушим свою ветку в репозитори
# Теперь в интерфейсе https://gitea.serafimdev.com/serafim/dos создаём пул реквест и пишем мне в тг
```
Для компиляции:
g++ DosAtk.cpp -lcurl
Если ошибка отсутствия заголовочного файла "curl.h", то нужно установить: sudo apt-get install libcurl4-openssl-dev
# Компиляция
Для компиляции: `./build.sh` (после компиляции запускает файл), либо ручками: `g++ src/DosAtk.cpp -o DosAtk -lcurl -lssl -lcrypto`
Если ошибка отсутствия заголовочных файлов, то нужно установить:
```
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libssl-dev
```
# Запуск
Пример запуска:
```
sudo ./DosAtk -a flood -i 127.0.0.1 -p 800 # запуск заранее скомпилированной программы
sudo ./build.sh -a flood -i 127.0.0.1 -p 800 # скомипилирует и запустит программу
```
Запускается только на Линухе!

View File

@ -1,2 +1,4 @@
g++ src/DosAtk.cpp -o DosAtk -lcurl
#!/bin/sh
set -e # if compilation fail next command will not be executed, so older version of programm will not be launched
g++ src/DosAtk.cpp -o DosAtk -lcurl -lssl -lcrypto
./DosAtk "$@"

File diff suppressed because it is too large Load Diff

BIN
src/a.out

Binary file not shown.