This tool does a geo location lookup from client's request. You can embed this script into your website to get more information about a client's geolocation
$ wget https://raw.githubusercontent.com/rebl0x3r/geo-lookup/main/geo.php
You can use include
to include this script, example:
<?php
$data = include('geo.php');
print($data."\n");
print($data['country']."\n");
?>
You can replace country
with other names to get the information.
Following are available:
- country (Ex:
DE
) - state (Ex:
BY
) - stateName (Ex:
Bavaria
) - zipcode (Ex:
43893
) - timezone (Ex:
Europe/Berlin
) - latitude (Ex:
32.23895
) - longitude (Ex:
21.29832
) - city (Ex:
Munich
) - continent (Ex:
EU
)
To get all of these you can either use an foreach
-loop:
<?php
$data = include('geo.php');
foreach($data as $value){print($value."\n");}
# Code Here
?>
Or manually :
<?php
$data = include('geo.php');
print($data['continent']."\n");
print($data['timezone']."\n");
?>
Use this tool for educational purposes only .π΅οΈββοΈ If you do any illegal attacks, i am not responsible for your tasks. Use this tool correctly, and do not re-upload it on your github repository without permissions.
Channels On Telegram With Nice Stuff
Channel | Link |
---|---|
LeakerHounds | https://t.me/LeakerHounds |
ViperZCrew | https://t.me/ViperZCrew |
DeepWaterLeaks | https://t.me/deepwaterleaks2 |
Telegram:
- Rebl0x3r - https://github.com/rebl0x3r
- 0n1cOn3 - https://github.com/0n1cOn3
If you found any bug or issue, please go here
You can also request an update.