mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 11:42:42 +08:00
Merge pull request #170 from terion-name/patch-1
fix debug mode for amplification methods
This commit is contained in:
commit
2cc51ace63
6
start.py
6
start.py
|
@ -1121,9 +1121,9 @@ if __name__ == '__main__':
|
||||||
not ToolsConsole.checkRawSocket(): exit("Cannot Create Raw Socket ")
|
not ToolsConsole.checkRawSocket(): exit("Cannot Create Raw Socket ")
|
||||||
|
|
||||||
if method in {"NTP", "DNS", "RDP", "CHAR", "MEM", "ARD"}:
|
if method in {"NTP", "DNS", "RDP", "CHAR", "MEM", "ARD"}:
|
||||||
if len(argv) == 7:
|
if len(argv) >= 6:
|
||||||
logger.setLevel("DEBUG")
|
if len(argv) == 7:
|
||||||
if len(argv) == 6:
|
logger.setLevel("DEBUG")
|
||||||
refl_li = Path(__dir__ / "files" / argv[5].strip())
|
refl_li = Path(__dir__ / "files" / argv[5].strip())
|
||||||
if not refl_li.exists(): exit("The Reflector file doesn't exist ")
|
if not refl_li.exists(): exit("The Reflector file doesn't exist ")
|
||||||
ref = set(a.strip() for a in ProxyTools.Patterns.IP.findall(refl_li.open("r+").read()))
|
ref = set(a.strip() for a in ProxyTools.Patterns.IP.findall(refl_li.open("r+").read()))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user