追踪电脑或手机(已知目标IP或mac)进行物理定位

               
         
           

仅供学习娱乐测试。

iplocator.pl代码:

#!/usr/bin/perl# Ip Geolocation #By Alexcerus# Demo : https://www.youtube.com/watch?v=0Eq3d10LQ8c## API documentation - http://ip-api.com/docs/# you can see you external ip using this Bash script :# read COUNTRY IP <<< $(wget -qO- http://ip-api.com/line/?fields=countryCode,query); echo $IP $COUNTRY# Now let's start :use Socket;use Term::ANSIColor;use WWW::Mechanize;use JSON;   print color 'bold bright_yellow'print q{        ~o88ooooooooooooo88o~   ouooooo,~oo         oo~,ooooouo   8     ~88888.     ,88888~     8   8      go~~~os   go~~~os      8   8    ,8`     '8_8`     '8.    8   8    8`   _   '8`   _   '8    8   8    8   !@!   8   !@!   8    8   8    8i       /8\       i8    8   8     8s     g8 8s     s8     8   8      dooooo`8_8'ooooob      8   8     d!      'V`      !b     8   8     8        ~        8     8   8     8                 8     8     8   ] 8                 8 [   8    8 [ ] 8                 8 [ ] 8   8 [ ] !8               8| [ ] 8   8 [ ]s88b-oo- xxx -oo-d88s[ ] 8   8 [,88  8i'`   ~   '`i8  88.] 8   8 88`   88s'88` '88`gf8   '88 8   888   ,g8s/8. ooo ,8\g8s.   888   88`  i888888fo_X_of888888i  '88   V    YY'`~'`  ~~~  '` ~ YY    V        ""                 ""Ip Geolocation Tool  By : Alexcerus-HR ------------------------------------}print color 'reset';@iphost=$ARGV[0] || die "Usage : ./Iplocation.pl [host] [ip] [domain] \n\nEx:  ./Iplocation.pl  www.google.com \n     ./Iplocation.pl  216.58.210.206\n \n";my @ip = inet_ntoa(scalar gethostbyname("@iphost")
  • 2
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值