Compare commits
3 Commits
fc50e6cd4e
...
7805a3bee2
| Author | SHA1 | Date | |
|---|---|---|---|
| 7805a3bee2 | |||
| 74a57de434 | |||
| d501aa5076 |
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/ragnar-1.3.37.tar.gz
vendored
BIN
dist/ragnar-1.3.37.tar.gz
vendored
Binary file not shown.
@ -19,10 +19,12 @@ def parse_args():
|
|||||||
def bot_task(username, password):
|
def bot_task(username, password):
|
||||||
log.info(f"Created new bot runniner. Username: {username}")
|
log.info(f"Created new bot runniner. Username: {username}")
|
||||||
time.sleep(random.randint(1, 20))
|
time.sleep(random.randint(1, 20))
|
||||||
|
while True:
|
||||||
|
|
||||||
|
time.sleep(random.randint(1, 120))
|
||||||
bot = Bot(username=username, password=password)
|
bot = Bot(username=username, password=password)
|
||||||
bot.login()
|
bot.login()
|
||||||
while True:
|
|
||||||
time.sleep(random.randint(1, 20))
|
|
||||||
try:
|
try:
|
||||||
bot.fight()
|
bot.fight()
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
@ -31,7 +33,6 @@ def bot_task(username, password):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
with Executor(500) as executor:
|
|
||||||
usernames = [
|
usernames = [
|
||||||
# "no-spam1",
|
# "no-spam1",
|
||||||
# "no-spam2",
|
# "no-spam2",
|
||||||
@ -47,7 +48,18 @@ def main():
|
|||||||
"JaredRuiz",
|
"JaredRuiz",
|
||||||
"LoriMcgee",
|
"LoriMcgee",
|
||||||
"AmandaFloyd",
|
"AmandaFloyd",
|
||||||
|
"tcpip",
|
||||||
|
"tcpudp",
|
||||||
|
"JoseRodriguez",
|
||||||
|
"CaseyHernandez",
|
||||||
|
"ToddHarris",
|
||||||
|
"AnneRose",
|
||||||
|
"GregoryBowman",
|
||||||
|
"LeahVasquez",
|
||||||
|
"JamesMedina"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
with Executor(len(usernames) + 1) as executor:
|
||||||
for username in usernames:
|
for username in usernames:
|
||||||
executor.submit(bot_task, f"{username}@molodetz.nl", args.password)
|
executor.submit(bot_task, f"{username}@molodetz.nl", args.password)
|
||||||
executor.shutdown(wait=True)
|
executor.shutdown(wait=True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user