Skip to content

Instantly share code, notes, and snippets.

@tonejito
Last active December 19, 2019 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonejito/0364593739f79805a49f4f557634c2e6 to your computer and use it in GitHub Desktop.
Save tonejito/0364593739f79805a49f4f557634c2e6 to your computer and use it in GitHub Desktop.
./microsoft-sucks.sh 2>&1 | tee microsoft-sucks.log
#!/bin/bash -v
DOMAIN=microsoft.sucks.
whois ${DOMAIN}
% IANA WHOIS server
% for more information on IANA, visit http://www.iana.org
% This query returned 1 object
refer: whois.nic.sucks
domain: SUCKS
organisation: Vox Populi Registry Ltd.
address: 3-110 Governors Square,
address: Seven Mile Beach,
address: Grand Cayman,
address: KY1-1108
address: Cayman Islands
contact: administrative
name: John Berard
organisation: Vox Populi Registry Ltd.
address: 3-110 Governors Square,
address: Seven Mile Beach,
address: Grand Cayman,
address: Cayman Islands, KY1-1108
address: Cayman Islands
phone: +18299473020
fax-no: +61398661970
e-mail: support@registry.sucks
contact: technical
name: Rob Hall
organisation: Momentous Inc
address: 308 Port St. Charles,
address: St. Peter,
address: BB26013
address: Barbados
phone: +18299473020
fax-no: +61398661970
e-mail: support@registry.sucks
nserver: A.NIC.SUCKS 2001:dcd:1:0:0:0:0:10 37.209.192.10
nserver: B.NIC.SUCKS 2001:dcd:2:0:0:0:0:10 37.209.194.10
nserver: C.NIC.SUCKS 2001:dcd:3:0:0:0:0:10 37.209.196.10
nserver: D.NIC.SUCKS 2001:dcd:4:0:0:0:0:10 37.209.198.10
ds-rdata: 53287 8 1 852A2FB0FA5A7708417B403A96A1FB84F8DC0967
ds-rdata: 53287 8 2 9BA55749B9F3922FAAD173E938AA807F825F0B63E15905E36AD10F724B0DEDE2
whois: whois.nic.sucks
status: ACTIVE
remarks: Registration information: http://www.voxpopregistry.com
created: 2015-02-19
changed: 2019-07-26
source: IANA
Domain Name: microsoft.sucks
Registry Domain ID: D39DE8DAECC2C4FE0AFE88C77AB1C8DA4-ARI
Registrar WHOIS Server:
Registrar URL: www.markmonitor.com
Updated Date: 2019-05-24T09:37:59Z
Creation Date: 2015-06-20T23:45:36Z
Registry Expiry Date: 2020-06-20T23:45:36Z
Registrar: MarkMonitor, Inc.
Registrar IANA ID: 292
Registrar Abuse Contact Email: abusecomplaints@markmonitor.com
Registrar Abuse Contact Phone: +1.2083895740
Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Registry Registrant ID:
Registrant Name:
Registrant Organization: Microsoft Corporation
Registrant Street:
Registrant Street:
Registrant Street:
Registrant City:
Registrant State/Province: WA
Registrant Postal Code:
Registrant Country: US
Registrant Phone:
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Registry Admin ID:
Admin Name:
Admin Organization:
Admin Street:
Admin Street:
Admin Street:
Admin City:
Admin State/Province:
Admin Postal Code:
Admin Country:
Admin Phone:
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Registry Tech ID:
Tech Name:
Tech Organization:
Tech Street:
Tech Street:
Tech Street:
Tech City:
Tech State/Province:
Tech Postal Code:
Tech Country:
Tech Phone:
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Name Server: ns2-08.azure-dns.net
Name Server: ns4-08.azure-dns.info
Name Server: ns3-08.azure-dns.org
Name Server: ns1-08.azure-dns.com
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of WHOIS database: 2019-12-19T00:45:00Z <<<
dig NS ${DOMAIN}
; <<>> DiG 9.10.6 <<>> NS microsoft.sucks.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9865
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;microsoft.sucks. IN NS
;; ANSWER SECTION:
microsoft.sucks. 10529 IN NS ns3-08.azure-dns.org.
microsoft.sucks. 10529 IN NS ns4-08.azure-dns.info.
microsoft.sucks. 10529 IN NS ns1-08.azure-dns.com.
microsoft.sucks. 10529 IN NS ns2-08.azure-dns.net.
;; Query time: 6 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Wed Dec 18 18:45:00 CST 2019
;; MSG SIZE rcvd: 181
curl -vfsS "http://${DOMAIN}/" -o /dev/null
* Trying 104.215.95.187...
* TCP_NODELAY set
* Connected to microsoft.sucks (104.215.95.187) port 80 (#0)
> GET / HTTP/1.1
> Host: microsoft.sucks
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Cache-Control: private
< Content-Type: text/html; charset=utf-8
< Location: https://www.microsoft.com/
< Server: Microsoft-IIS/10.0
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< Date: Thu, 19 Dec 2019 00:45:00 GMT
< Content-Length: 113
<
{ [113 bytes data]
* Connection #0 to host microsoft.sucks left intact
#!/bin/bash -v
DOMAIN=microsoft.sucks.
whois ${DOMAIN}
dig NS ${DOMAIN}
curl -vfsS "http://${DOMAIN}/" -o /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment