Merge pull request #248 from PXEiYyMH8F/main

Fix BOMB
This commit is contained in:
MH_ProDev 2022-03-15 02:12:55 +03:30 committed by GitHub
commit 332df70b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -882,7 +882,6 @@ class HttpFlood(Thread):
pro = randchoice(self._proxies)
run([
f'{Path.home() / "go/bin/bombardier"}',
f'{bombardier_path}',
f'--connections={self._rpc}',
'--http2',
@ -1331,7 +1330,7 @@ if __name__ == '__main__':
argv[5].strip())
useragent_li = Path(__dir__ / "files/useragent.txt")
referers_li = Path(__dir__ / "files/referers.txt")
bombardier_path = Path(__dir__ / "go/bin/bombardier")
bombardier_path = Path.home() / "go/bin/bombardier"
proxies: Any = set()
if method == "BOMB":