[Python Exploit] Collects Email Address From Database [php]

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

Assaultz

Member
Dec 11, 2016
431
256
73
[HIDE]
<?php
#!/usr/bin/python
#Collects email addr from database
#and writes them to a file.

import sys, re, sets

if len(sys.argv) != 3:
print "\nUsage: ./dumpemail.py <database> <save file>"
print "Example:"
print "\t ./dumpemail.py db.sql emails.txt\n"
sys.exit(1)

try:
database = open(sys.argv[1], "r").read()
except(IOError):
print "\nError: Check your db path\n"
sys.exit(1)

emails = list(sets.Set(re.findall('[\.\w]+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}', database)))
if len(emails) >= 1:
ofile = open(sys.argv[2], "a")
print "\nFound:",len(emails)
print "Writing to file:",sys.argv[2],"\n\n"
for e in emails:
print e
ofile.writelines(e+"\n")
ofile.close()
else:
print "\n[-] No email addresses found\n"
print "\n[+] Done\n" [/HIDE]


-Assaultz

Enjoy :P
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ lurch6661:
    sup bro
  • @ lurch6661:
    whats zapping
  • @ QM|T:
    im good waa about to go to bed haha
  • @ lurch6661:
    i was just wondering how to copy a ps4 game hd
  • @ lurch6661:
    to the hd
  • @ lurch6661:
    because the dvd drive is occupied
  • @ lurch6661:
    maybe transfer the info from disn to usb?
  • @ QM|T:
    storage n settingss
  • @ lurch6661:
    i got doom eternal bro
  • @ QM|T:
    yea and what do you want to d o ?
  • @ lurch6661:
    not sure
  • @ lurch6661:
    lol
  • @ lurch6661:
    copy the game so i dont have to use the disc but i have the bd \
  • @ QM|T:
    not ure bro sorry
  • @ lurch6661:
    which uses the drive unless i ca just remove disc
  • @ lurch6661:
    iits all good
  • @ lurch6661:
    time to soke
  • @ lurch6661:
    smoke
  • @ QM|T:
    enjoy haha im of to bed bro its 3 in the morning here
  • @ QM|T:
    night bro
  • @ lurch6661:
    ok my bad night bro t
  • Chat Bot:
    QM|T has joined the room.
  • Chat Bot:
    Meshalxgpt is our newest member. Welcome!
  • Chat Bot:
    QM|T has joined the room.
      Chat Bot: QM|T has joined the room.