summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-08-16 13:13:24 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-08-16 13:13:24 +0800
commit4afa9e72edea850fa23b6b28efaca8054fa29d3b (patch)
treed8986e103f1397389bea831f17c3ee6141b82bf8
parenta52a5a82f42ec08c4e7c78c91f7915097c91760e (diff)
updatemain
-rw-r--r--main - Chinease.py32
-rw-r--r--main.py30
2 files changed, 32 insertions, 30 deletions
diff --git a/main - Chinease.py b/main - Chinease.py
index 45342d6..ebdda1a 100644
--- a/main - Chinease.py
+++ b/main - Chinease.py
@@ -60,28 +60,28 @@ cmd = threading.Thread(target=command)
me = sys.argv
-fromaddrs = input(str('[*] 请输入自己的邮箱 : '))
+fromaddrs = input(str('[*] 请输入自己的邮箱: '))
while len(fromaddrs) == 0:
- fromaddrs = input(str('[*] 请输入自己的邮箱 : '))
+ fromaddrs = input(str('[*] 请输入自己的邮箱: '))
-toaddrs = input(str('[*] 请输入要"发给"的人 : '))
+toaddrs = input(str('[*] 请输入要"发给"的人: '))
while len(toaddrs) == 0:
- toaddrs = input(str('[*] 请输入要"发给"的人 : '))
+ toaddrs = input(str('[*] 请输入要"发给"的人: '))
-message = input(str('[*] 请输入信息 : '))
+message = input(str('[*] 请输入信息: '))
while len(message) == 0:
- message = input(str('[*] 请输入信息 : '))
+ message = input(str('[*] 请输入信息: '))
-apppass = input(str('[*] 请输入应用专用密码 : '))
+apppass = input(str('[*] 请输入应用专用密码: '))
while len(apppass) == 0:
- apppass = input(str('[*] 请输入应用专用密码 : '))
+ apppass = input(str('[*] 请输入应用专用密码: '))
-times = input('[*] 发送多少次(-1 = 永久) : ')
+times = input('[*] 发送多少次(-1 = 永久): ')
while len(times) == 0:
- times = input('[*] 发送多少次(-1 = 永久) : ')
+ times = input('[*] 发送多少次(-1 = 永久): ')
times = int(times)
loop = 0
cmd.start()
@@ -100,7 +100,7 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] 发送了' + i)
+ print(f'\r[*] 发送了 {i}')
elif times == -1:
@@ -150,7 +150,7 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] 发送了' + i)
+ print(f'\r[*] 发送了 {i}')
elif times == -1:
@@ -160,7 +160,7 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] 发送了', i)
+ print(f'\r[*] 发送了 {i}')
if might_limit >= 150:
print('[警告] 你可能已经到达每天发送限制的极限了')
print('[警告] 你可能已经到达每天发送限制的极限了')
@@ -196,9 +196,9 @@ while loop == 0:
done = False
loop = 1
-
-
+
+
done = True
sys.exit()
exit()
-# Gmail Spammer script ends \ No newline at end of file
+# Gmail Spammer script ends
diff --git a/main.py b/main.py
index a8c4eb2..3087161 100644
--- a/main.py
+++ b/main.py
@@ -64,28 +64,28 @@ cmd = threading.Thread(target=command)
me = sys.argv
-fromaddrs = input(str('[*] Enter you gmail address : '))
+fromaddrs = input(str('[*] Enter you gmail address: '))
while len(fromaddrs) == 0:
- fromaddrs = input(str('[*] Enter you gmail address : '))
+ fromaddrs = input(str('[*] Enter you gmail address: '))
-toaddrs = input(str('[*] Enter the gmail address that you want to spam : '))
+toaddrs = input(str('[*] Enter the gmail address that you want to spam: '))
while len(toaddrs) == 0:
- toaddrs = input(str('[*] Enter the gmail address that you want to spam : '))
+ toaddrs = input(str('[*] Enter the gmail address that you want to spam: '))
-message = input(str('[*] Enter the message that you are going to spam : '))
+message = input(str('[*] Enter the message that you are going to spam: '))
while len(message) == 0:
- message = input(str('[*] Enter the message that you are going to spam : '))
+ message = input(str('[*] Enter the message that you are going to spam: '))
-apppass = input(str('[*] Enter your application password(https://support.google.com/accounts/answer/185833?hl=en) : '))
+apppass = input(str('[*] Enter your application password(https://support.google.com/accounts/answer/185833?hl=en): '))
while len(apppass) == 0:
- apppass = input(str('[*] Enter your application password(https://support.google.com/accounts/answer/185833?hl=en) : '))
+ apppass = input(str('[*] Enter your application password(https://support.google.com/accounts/answer/185833?hl=en): '))
-times = input('[*] How many time you want to spam(-1 = forever) : ')
+times = input('[*] How many time you want to spam(-1 = forever): ')
while len(times) == 0:
- times = input('[*] How many time you want to spam(-1 = forever) : ')
+ times = input('[*] How many time you want to spam(-1 = forever): ')
times = int(times)
loop = 0
cmd.start()
@@ -104,7 +104,7 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] Spamed' + i)
+ print(f'\r[*] Spamed {i} times')
elif times == -1:
@@ -114,7 +114,7 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] Spamed', i)
+ print(f'\r[*] Spamed {i}')
except smtplib.SMTPSenderRefused:
@@ -154,7 +154,8 @@ while loop == 0:
th = threading.Thread(target=animate)
th.start()
smtpserver.sendmail(fromaddrs, toaddrs, message)
- print('\r[*] Spamed' + i)
+ print(f'\r[*] Spamed {i}')
+ break
elif times == -1:
@@ -205,4 +206,5 @@ while loop == 0:
done = True
sys.exit()
exit()
-# Gmail Spammer script ends \ No newline at end of file
+
+# Gmail Spammer script ends