/perl_tools

perl小工具

Primary LanguagePerl

readTitle.pl: read the website title from the specified hostname or hostname
files (support http and https)
usage: perl readTitle.pl hostname or hostname file

getAlexaAndCat.pl: get the specify website's alexa value and web catalog
usage: perl getAlexaAndCat hostname or hostname file

isRealSpider.pl: detect the given ip is or not a
google/baidu/yahoo/bing/msn spider
usage: perl isRealSpider.pl -h for more help

getIPinfoOnline.pl: get the specify IP's basic information use online IP DB
APIs as follows:
    1  ipinfo.io
    2  ip-api.com
    3  ip-taobao.com
    4  www.cz88.net
    5  ip.chinaz.com
usage: perl getIPinfoOnline.pl -h for more help

getIPinfoOffline.pl: get the specify IP/host's basic information use offline
IP DB supplied by maxmind.com
usage: perl getIPinfoOffline.pl -h for more help

crackbasicAuth.pl: crack http basic authentication use username/password dict,
also you can use tor or proxy list
usage: perl crackbasicAuth.pl -h for more help

isProxyOK.pl: detect the proxy(proxy list) is avaiable or not and the proxy type(High Anoymity, Anoymity or Transparent)
usage: perl isProxyOK.pl -h for more help
For more info http://danqingdani.blog.163.com/blog/static/1860941952014412104711626/

ip2range.pl: read ip list from file and transform to ip range format like 1.2.3.4- 1.2.3.56
usage: perl ip2range2.pl ipList file

ipv4_in_range.pl: detect is a ip in a ip range or not,support formats as follows
perl 1.2.3.4 1.2.3.0/10
perl 1.2.3.4 1.2.3.0/255.255.255.0
perl 1.2.3.4 1.2.3.0-1.2.3.233
perl 1.2.3.4 1.2.3.*

getWebPageContent.pl : get web page content of the specify url, especially for chinese webpage
usage: perl getWebPageContent.pl http://www.baidu.com

whichCDNUser.pl: detect cdn provider of the special hostname
includs cloudflare, 360wanzhangweishi, jiasule, yuanjiasu, anquanbao, incapsula
usage: perl whichCDNUser.pl www.tanjiti.com