├── README.md └── index.php /README.md: -------------------------------------------------------------------------------- 1 | # IP-Reaper 2 | 3 | A simple PHP code to get infos about browser and IP and put them in a text file. 4 | 5 | /!\ Only for educational purpose 6 | 7 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | Error 404 | Redirecting to correct url 21 | 22 | 23 | 24 | 25 | city . PHP_EOL); 83 | fwrite($log, "REGION=" . $ip_details->region . PHP_EOL); 84 | fwrite($log, "COUNTRY=" . $ip_details->country . PHP_EOL); 85 | fwrite($log, "LOCATION=" . $ip_details->loc . PHP_EOL); 86 | fwrite($log, "ISP=" . $ip_details->org . PHP_EOL); 87 | fwrite($log, "DATE=" . $date . PHP_EOL); 88 | fwrite($log, "HOST=" . $rem_host . PHP_EOL); 89 | fwrite($log, "UA=" . $user_agent . PHP_EOL); 90 | fwrite($log, "METHOD=" . $rqst_method . PHP_EOL); 91 | fwrite($log, "REF=" . $referer . PHP_EOL); 92 | fwrite($log, "COOKIE=" . $cookie . PHP_EOL . PHP_EOL); 93 | 94 | } 95 | logData(); 96 | ?> 97 | 98 | 99 | 146 | 147 | 148 |

Page Not Found

149 |

Sorry, but the page you were trying to view does not exist.

150 | 151 | 152 | 153 | 154 | --------------------------------------------------------------------------------