xkid83

index.php

Mar 22nd, 2016
2,893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2.    
  3. if(isset($_FORM["form"]) && isset($_FORM["to"]) && isset($_FORM["amount_in_dollars"]) && isset($_COOKIE["user_logged_in"]) )
  4. {
  5.     if($_SERVER['HTTP_REFERER'] == "http://www.bank.com/" && user_token_matches($_FORM["secrettoken"]) && is_not_expired($_FORM["secrettoken"]))
  6.     {
  7.         transMoney("from", "to", "amount");
  8.         echo "Money transfer done";
  9.     }
  10. }
  11.  
  12. ?>
Add Comment
Please, Sign In to add comment