Skip to content

Commit

Permalink
creating several users
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGankalot committed Jun 5, 2024
1 parent c35214b commit 23a7ec0
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions checker/src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,87 @@ async def havoc0(
#TODO: Implement havoc
#-> make it like Henning said with my Profile page and the stats there (before was more or less like put/getnoise)
print("Havoc")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")
start = datetime.datetime.now()
try:
email_1, password1_1 = await checker_util_func.create_user(client, logger, public_key='on')
except:
print("time taken: ", datetime.datetime.now() - start)
raise MumbleException("Could not create user 1")
try:
await checker_util_func.logout(client, logger)
except:
raise MumbleException("Could not logout")


"""
CHECKER FUNCTIONS 1
Expand Down

0 comments on commit 23a7ec0

Please sign in to comment.