add Domain/User Part

main
sebastianserfling 2024-09-24 21:08:32 +02:00
parent 9bde6e380b
commit 4eef6eeef7
1 changed files with 4 additions and 3 deletions

View File

@ -91,7 +91,8 @@ while True:
# Process each user # Process each user
for user in users: for user in users:
username, password, domain = user username, password, domain = user
local_part = username.split('@')[0] domain_part = username.split('@')[1]
user_part = username.split('@')[0]
print(f"User: {username} running.") print(f"User: {username} running.")
# Check if the user previously had an authentication failure # Check if the user previously had an authentication failure
@ -108,9 +109,9 @@ while True:
"--user1", username, "--user1", username,
"--password1", password, "--password1", password,
"--host2", "192.168.178.90", "--host2", "192.168.178.90",
"--user2", "archiv@trendsetzer.eu", "--user2", "archiv@",
"--password2", "Ln0m2YQZd23H54L5tCiyjIBWLEn8mk36v7KauqS8QFGzu", "--password2", "Ln0m2YQZd23H54L5tCiyjIBWLEn8mk36v7KauqS8QFGzu",
"--subfolder2", f"{local_part}", "--subfolder2", f"{domain_part}/{user_part}",
"--regextrans2", "s/^(.*)$/\\1/", "--regextrans2", "s/^(.*)$/\\1/",
"--log", "--log",
"--notls2" "--notls2"