forgotton pass script think it makes a new one up for u
Code:
<?php define('WCS',true); include('./core/main.inc'); header_type(); addvisitor(); blocked_ip(ip(),0); blocked_network(network(ip(),"isp"),0); blocked_browser($_SERVER["HTTP_USER_AGENT"],0); cleardata(); if(ipbanned(ip(),browser())){ if(!shield(getuid_sid($sid))){ echo head_tag("Ip Blocked!!!",0,0); echo ipbanned_msg(); echo foot_tag(); exit(); } } /////////////////////////INDEX PAGE///////////////////////// echo head_tag(sitename(),0,0); $title="<img src=\"./phpThumb/phpThumb.php?src=../images/$logo\" alt=\"".sitename()."\"/><br/> ".date("g:ia",strtotime("-0 hours"))."<br/>".date("l jS F",strtotime("-0 hours")); if(isset($_POST['submit'])) { $getpassword=$_POST['getpassword']; $passkey="SELECT * from ibwf_users where email='$getpass'"; $passkey2=mysql_query($passkey) or die("Can't get the password, please contact the owner"); $passkey3=mysql_fetch_array($passkey2); if(!$passkey3) { print "We have no users with that e-mail address"; } else { $email=$passkey3[email]; $day=date("U"); srand($day); $blah=RAND(1000000,2000000); $blah2=md5($blah); print "$blah2<br>"; $newpass="update ibwf_users set validationcode='$blah' where email='$getpassword'"; mysql_query($newpass) or die("Could not insert new password"); mail("$email", "Password", "My Validation Code Is : $blah"); print "Password sent"; } } else { print "Created By: sxyhosts"; print "<form action='getpass.php' method='post'>"; print "Enter E-mail address: <input type='text' name='getpassword' size='20'>"; print "<input type='submit' name='submit' value='submit'></form>"; } ?> <p align=".align()."> <b>Online Members:</b> ".getnumonline($sid)."<br/> <b>Browser:</b> ".browser()."<br/> <b>Ip:</b> ".ip()."<br/> <b>Network:</b> ".flag(ip()).network(ip(),"isp")." ".network(ip(),"country")." </p> echo xhtml($sid,$title,0,0,0,0,0,0,0,0,0,$main); echo foot_tag(); ?>
Comment