Skip to content

Commit a69bf95

Browse files
authored
Update run.sh
1 parent 5e003fa commit a69bf95

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

run.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ read ip
6666
dest="http://ip-api.com/json/"
6767
echo -e -n ${RED}"\n[ ✔ ] [VICTIM IP]: $ip \n"
6868

69-
temp=$(curl -s $dest$api | jq -r '.country')
69+
temp=$(curl -s $dest$ip | jq -r '.country')
7070
echo -e -n ${NEW}"\n[ ✔ ] [COUNTRY]: $temp \n"
71-
temp=$(curl -s $dest$api | jq -r '.regionName')
71+
temp=$(curl -s $dest$ip | jq -r '.regionName')
7272
echo -e -n ${ORANGE}"\n[ ✔ ] [REGION-NAME]: $temp \n"
73-
temp=$(curl -s $dest$api | jq -r '.city')
73+
temp=$(curl -s $dest$ip | jq -r '.city')
7474
echo -e -n ${PINK}"\n[ ✔ ] [CITY]: $temp \n"
75-
temp=$(curl -s $dest$api | jq -r '.lat')
75+
temp=$(curl -s $dest$ip | jq -r '.lat')
7676
echo -e -n ${YELLOW}"\n[ ✔ ] [LATITUTE]: $temp \n"
77-
temp=$(curl -s $dest$api | jq -r '.lon')
77+
temp=$(curl -s $dest$ip | jq -r '.lon')
7878
echo -e -n ${BLUE}"\n[ ✔ ] [LONGITUTDE]: $temp \n"
79-
temp=$(curl -s $dest$api | jq -r '.isp')
79+
temp=$(curl -s $dest$ip | jq -r '.isp')
8080
echo -e -n ${CG}"\n[ ✔ ] [ISP]: $temp \n"
81-
temp=$(curl -s $dest$api | jq -r '.as')
81+
temp=$(curl -s $dest$ip | jq -r '.as')
8282
echo -e -n ${CN}"\n[ ✔ ] [AS]: $temp \n"
83-
temp=$(curl -s $dest$api | jq -r '.timezone')
83+
temp=$(curl -s $dest$ip | jq -r '.timezone')
8484
echo -e -n ${CP}"\n[ ✔ ] [TIMEZONE]: $temp \n"
85-
temp=$(curl -s $dest$api | jq -r '.zip')
85+
temp=$(curl -s $dest$ip | jq -r '.zip')
8686
echo -e -n ${YELLOW}"\n[ ✔ ] [ZIPCODE]: $temp \n"
8787
sleep 1
8888
echo -e -n ${RED}"\n<--------Thanks For Using IP-Location Script--------->\n"

0 commit comments

Comments
 (0)