whois

断剑重铸003

馋奶兔 提交于 2019-11-28 13:49:59
学习思维之全局观 我们学着学着就把上下文都忘记了。最好的方式就是记录简洁的笔记。我把它叫作记忆碎片。 学的时候潜意识中要有一张无形的大网连接着记忆碎片。 渗透测试之信息收集 全局观:信息收集 收集域名信息 whois查询:类似于我们的户口,一出生我们就需要登记自己的信息,网站的域名也是一样的道理。 kali系统:whois工具 用法:whois baidu.com 在线whois查询:爱站工具网,站长之家,Virus Total 备案信息查询:ICP备案查询网,天眼查 敏感信息收集:搜索引擎,burp suite的repeater功能,shodan,钟馗之眼,github google:site,inurl,intext,filetype,intitle,link,info,cache 收集子域名信息 子域名检测工具:Layer子域名挖掘机,sublist3r,subDomainsBrute,K8,wydomain,Maltego CE,dnsmaper 搜索引擎枚举:site:baidu.com 第三方聚合应用枚举:DNSdumpster网站 证书透明度公开日志枚举: https://crt.sh,https://censys.io,子域爆破https://phpinfo.me/domain,IP反查域名http://dns.aizhan.com 收集常用端口信息 工具:nmap

Whois works with fsockopen not with curl

时光怂恿深爱的人放手 提交于 2019-11-28 11:02:40
问题 This works: $connection = fsockopen("whois.iis.se", 43); fputs($connection, "google.se\r\n"); while (!feof($connection)) { $data .= fgets($connection, 4096); } fclose($connection); echo nl2br($data); But this do not work: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "whois.iis.se"); curl_setopt($ch, CURLOPT_PORT, 43); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "google.se\r\n"); $data = curl_exec(

Getting a full copy of the WHOIS database [closed]

…衆ロ難τιáo~ 提交于 2019-11-27 15:07:39
问题 I'm interested in getting access to a full WHOIS database in order to expand on a domain-profile project I'm working on. I know ARIN provides this database only to non-commercial researchers and every WHOIS provider I know of (including ARIN itself) has rate-limiting. I also know, however, some commercial services that already exist (like the registrant lookup section of domaintools.com, which can search for domains by registrant name) which are impossible unless the site has direct access to

What is the best way to create a whois lookup? [closed]

孤街醉人 提交于 2019-11-27 12:57:16
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I want add a domain registration in a website written with PHP. So I need a whois lookup service. What do I need to do? What's are its steps? Do I need a database, API or ... ? Help me please 回答1: I cannot speak

Checking domain name availability with DNS records

三世轮回 提交于 2019-11-27 12:30:04
问题 How accurately can a domain name's availibility be determined by checking for the existence of NS or SOA (Start of Authority) records? If not, how can I determine this as accurately as possible without resorting to WHOIS? For example, is it worth checking for MX records if no NS records exist? I am specifically interested in .co.za domains, but the only official, fool-proof way to check availability in the .co.za namespace is to use http://co.za/whois.shtml, which limits consecutive checking

Can I improve this regex check for valid domain names?

血红的双手。 提交于 2019-11-27 08:30:43
So, I have been working on this domain name regular expression. So far, it seems to pick up domain names with SLDs and TLDs (with the optional ccTLD), but there is duplication of the TLD listing. Can this be refactored any further? params[:domain_name].downcase.strip.match(/^[a-z0-9\-]{2,63} \.((a[cdefgilmnoqrstuwxz]|aero|arpa)|(b[abdefghijmnorstvwyz]|biz)| (c[acdfghiklmnorsuvxyz]|cat|com|coop)|d[ejkmoz]|(e[ceghrstu]|edu)|f[ijkmor]| (g[abdefghilmnpqrstuwy]|gov)|h[kmnrtu]|(i[delmnoqrst]|info|int)| (j[emop]|jobs)|k[eghimnprwyz]|l[abcikrstuvy]| (m[acdghklmnopqrstuvwxyz]|me|mil|mobi|museum)|(n

How do I run a WHOIS lookup with PHP or Python?

允我心安 提交于 2019-11-27 04:35:26
问题 So anyways, I'm working on a small PHP website/script, and as one of the features I'd like to be able to run a WHOIS lookup on the current domain the PHP script is running on. Ideally, it would be one function that I could call and in the function it would run the WHOIS, and then echo the results to the screen. It would take in the URL of the site to run the WHOIS lookup on, or it would just run it on the current URL/Domain (which is what I want), although I can feed it a variable for the

查看ip地址信息以及用户信息

醉酒当歌 提交于 2019-11-26 17:58:46
RIR (Regional Internet Registry) 现全球有5大RIR机构 1.RIPE(Reseaux IP Europeans)欧洲IP地址注册中心——服务于欧洲、中东地区和中亚地区; 2.LACNIC(Lation American and Caribbean Internet Address Registry)拉丁美洲和加勒比海Internet地址注册中心——服务于中美、南美以及加勒比海地区; 3.ARIN(American Registry for Internet Numvers)美国Internet编号注册中心——服务于北美地区和部分加勒比海地区; 4.AFRINIC(Africa Network Information Centre)非洲网络信息中心——服务于非洲地区; 5.APNIC(Asia Pacific Network Information Centre)亚太地址网络信息中心——服务于亚洲和太平洋地区的国家。 https://baike.baidu.com/item/ARIN yum -y install whois #安装whois whois -h whois.apnic.net -d xxx.xxx.xxx.xxx #查看地址和信息 whois -h whois.apnic.net -i pn test#查看nic-hdl: 为test

Can I improve this regex check for valid domain names?

拜拜、爱过 提交于 2019-11-26 17:46:06
问题 So, I have been working on this domain name regular expression. So far, it seems to pick up domain names with SLDs and TLDs (with the optional ccTLD), but there is duplication of the TLD listing. Can this be refactored any further? params[:domain_name].downcase.strip.match(/^[a-z0-9\-]{2,63} \.((a[cdefgilmnoqrstuwxz]|aero|arpa)|(b[abdefghijmnorstvwyz]|biz)| (c[acdfghiklmnorsuvxyz]|cat|com|coop)|d[ejkmoz]|(e[ceghrstu]|edu)|f[ijkmor]| (g[abdefghilmnpqrstuwy]|gov)|h[kmnrtu]|(i[delmnoqrst]|info