[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
  • @ lurch6661:
    on gta5
  • @ lurch6661:
    i guess there is a way were you can upload real cars \
  • @ QM|T_JinX:
    rpf is a update like / update.rpf
  • @ lurch6661:
    also i cant find dmz
  • @ lurch6661:
    is that not warzone
  • Chat Bot:
    Nazzysam is our newest member. Welcome!
  • Chat Bot:
  • Chat Bot:
    QM|T_JinX has joined the room.
  • @ QM|T_JinX:
    @lurch6661 no dmz is no warzone
  • @ QM|T_JinX:
    morning everybody
  • Chat Bot:
    Christo has joined the room.
  • @ lurch6661:
    zap zap
  • @ lurch6661:
    wanna play resurrgence quads
  • @ lurch6661:
    got another headset i wanna try maybe it wonr echo lol
  • @ QM|T_JinX:
    nah sorry watching the godfather
  • @ lurch6661:
    oh cool
  • @ lurch6661:
    luco brossi swims with the fishes
  • @ lurch6661:
    lol
  • @ QM|T_JinX:
    luca
    brasi
  • Chat Bot:
    foxinnk is our newest member. Welcome!
  • @ lurch6661:
    good movie
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Edodex is our newest member. Welcome!
  • Chat Bot:
    nooby286 is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
    Chat Bot: Christo has joined the room.