https://github.com/sularhen/where-are-you-bash
Script i made in bash to make a fast geolocation of the ip or domain to scan
https://github.com/sularhen/where-are-you-bash
bash-script
Last synced: over 1 year ago
JSON representation
Script i made in bash to make a fast geolocation of the ip or domain to scan
- Host: GitHub
- URL: https://github.com/sularhen/where-are-you-bash
- Owner: sularhen
- Created: 2025-01-28T15:49:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T16:44:38.000Z (over 1 year ago)
- Last Synced: 2025-02-13T11:49:10.758Z (over 1 year ago)
- Topics: bash-script
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# where-are-you-bash
Script that i made in bash to make a fast geolocation of the ip or domain to scan inside the linux terminal.
This Script was made using ip-api.com as the resource of imformation where we are getting the geolocation of the domain or ip.
HOW TO USE IT:
1. Executing it as an normal script:
- Copy the script from the repository.
- Create your file whith the name whereareyou.sh in linux using the command nano.
- Paste the code
- Run it in the terminal using ./whereareyou.sh
2. Executing it as an integrated command for linux (RECOMMENDED)
- Do all the steps above.
- Move the script to your path so you can execute it as a command using
sudo mv whereareyou.sh /usr/local/bin/whereareyou
- Give permissons of execution to the script. with
sudo chmod +x /usr/local/bin/whereareyou and thas it you can run it by using whereareyou
EXAMPLE OF USE:
Whith option 1:
$ ./whereareyou google.com
- Information for: google.com
- country: United States
- Region: California
- City: Mountain View
- Hosted by: Google LLC
with option 2:
$ whereareyou google.com
- Information for: google.com
- country: United States
- Region: California
- City: Mountain View
- Hosted by: Google LLC
ABOUT PERMISSONS:
You can copy, modify or change this code however you want, add diferent sources and play with it.
Sularhen.