@@ -66,23 +66,23 @@ read ip
66
66
dest=" http://ip-api.com/json/"
67
67
echo -e -n ${RED} " \n[ ✔ ] [VICTIM IP]: $ip \n"
68
68
69
- temp=$( curl -s $dest$api | jq -r ' .country' )
69
+ temp=$( curl -s $dest$ip | jq -r ' .country' )
70
70
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' )
72
72
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' )
74
74
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' )
76
76
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' )
78
78
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' )
80
80
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' )
82
82
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' )
84
84
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' )
86
86
echo -e -n ${YELLOW} " \n[ ✔ ] [ZIPCODE]: $temp \n"
87
87
sleep 1
88
88
echo -e -n ${RED} " \n<--------Thanks For Using IP-Location Script--------->\n"
0 commit comments