Idjenieyo72828 commited on
Commit
229e9f8
·
verified ·
1 Parent(s): 4283df2

Upload anvv7UUrmq.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. anvv7UUrmq.py +58 -0
anvv7UUrmq.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import requests
2
+ import time
3
+
4
+ def ngl():
5
+ print("==========================")
6
+ print(" Tool By https://t.me/sharesrctool")
7
+ print("==========================")
8
+
9
+ username = input("Nhập Username (không có @): ")
10
+ message = input("Nhập Tin Nhắn Spam: ")
11
+ count = 25
12
+
13
+ print("==========================")
14
+ print("Đang Tiến Hành Spam...")
15
+
16
+ value = 0
17
+ failed_attempts = 0
18
+
19
+ while value < count:
20
+ headers = {
21
+ 'Host': 'ngl.link',
22
+ 'accept': '*/*',
23
+ 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
24
+ 'x-requested-with': 'XMLHttpRequest',
25
+ 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36',
26
+ 'origin': 'https://ngl.link',
27
+ 'referer': f'https://ngl.link/{username}',
28
+ }
29
+
30
+ data = {
31
+ 'username': username,
32
+ 'question': message,
33
+ 'deviceId': '0',
34
+ 'gameSlug': '',
35
+ 'referrer': '',
36
+ }
37
+
38
+ try:
39
+ response = requests.post('https://ngl.link/api/submit', headers=headers, data=data, timeout=10)
40
+
41
+ if response.status_code == 200:
42
+ print(f"✅ Đã gửi thành công ({value + 1}/{count})")
43
+ value += 1
44
+ failed_attempts = 0
45
+
46
+ else:
47
+ failed_attempts += 1
48
+
49
+ except requests.exceptions.RequestException as e:
50
+ failed_attempts += 1
51
+
52
+ if failed_attempts >= 5:
53
+ time.sleep(60)
54
+ failed_attempts = 0
55
+ time.sleep(2)
56
+ print("🎉 Hoàn thành gửi tin nhắn!")
57
+
58
+ ngl()