Hatena::Groupptech

ぷちてく RSSフィード

Archive
 
ProfileProfile

2016-10-08

[spoiler] alive2017.com

03:06

screenshot

> http://alive2017.com

spoiler below


HEAD

$ HEAD http://alive2017.com
200 OK
Connection: close
Date: Sat, 08 Oct 2016 16:34:38 GMT
Accept-Ranges: bytes
Server: nginx
Vary: Accept-Encoding
Content-Length: 1562
Content-Type: text/html
Last-Modified: Tue, 27 Sep 2016 19:16:33 GMT
Client-Date: Sat, 08 Oct 2016 16:34:38 GMT
Client-Peer: 143.95.43.11:80
Client-Response-Num: 1
Ngpass_ngall: 1

$ 
Last-Modified: Tue, 27 Sep 2016 19:16:33 GMT

a month later -> ****

JavaScript

function getTimeRemaining(endtime) {
  var t = Date.parse(endtime) - Date.parse(new Date());
  var seconds = Math.floor((t / 1000) % 60);
  var minutes = Math.floor((t / 1000 / 60) % 60);
  var hours = Math.floor((t / (1000 * 60 * 60)) % 24);
  var days = Math.floor(t / (1000 * 60 * 60 * 24));
  return {
    'total': t,
    'days': days,
    'hours': hours,
    'minutes': minutes,
    'seconds': seconds
  };
}

function initializeClock(id, endtime) {
  var clock = document.getElementById(id);
  var daysSpan = clock.querySelector('.days');
  var hoursSpan = clock.querySelector('.hours');
  var minutesSpan = clock.querySelector('.minutes');
  var secondsSpan = clock.querySelector('.seconds');

  function updateClock() {
    var t = getTimeRemaining(endtime);

    daysSpan.innerHTML = t.days;
    hoursSpan.innerHTML = ('0' + t.hours).slice(-2);
    minutesSpan.innerHTML = ('0' + t.minutes).slice(-2);
    secondsSpan.innerHTML = ('0' + t.seconds).slice(-2);

    if (t.total <= 0) {
      clearInterval(timeinterval);
    }
  }

  updateClock();
  var timeinterval = setInterval(updateClock, 5555);
}

var deadline = "2016-10-27"
initializeClock('clockdiv', deadline);
http://alive2017.com/js/index.js
var deadline = "2016-10-27"

HTML

$ GET alive2017.com | sed -n '/<\!--/,/-->/p'
<!--
  CONTACT CONFIRMED
  PRINT TRANSMISSION
  48 51 24 2 21 03
  34 03 118 15
  51 30 26 N 0 7 39
  40 7128 74 0059
  35 6895 139 6917
  23 5505 46 6333
  39 0200 1 4821
  33 7206 116 2156
  TRANSMISSION INTERRUPTED
  ...LISTENING...
  ...LISTENING...
  NO SIGNAL DETECTED. RETRY IN 10s...
  RETRY IN 9s...
  RETRY IN 8s...
  RETRY IN 7s...
  RETRY IN 6s...
  RETRY IN 5s...
  RETRY IN 4s...
  RETRY IN 3s...
  RETRY IN 2s...
  RETRY IN 1s...
  SIGNAL DETECTED...CONNECTING
  CONTACT CONFIRMED
  PRINT TRANSMISSION
  RA 0h 42m 44s  Dec 41 16 9
  TRANSMISSION TERMINATED REMOTELY
  ...LISTENING...
  SIGNAL DETECTED...CONNECTING
  CONTACT CONFIRMED
  PRINT TRANSMISSION
  "ALIVE"
  TRANSMISSION TERMINATED REMOTELY
  ...LISTENING...
  ...LISTENING...
  NO SIGNAL DETECTED. RETRY IN 10s...
  RETRY IN 9s...
  RETRY IN 8s...
  RETRY IN 7s...
  RETRY IN 6s...
  RETRY IN 5s...
  RETRY IN 4s...
  RETRY IN 3s...
  RETRY IN 2s...
  RETRY IN 1s...
  NO SIGNAL DETECTED.
  START SLEEP ROUTINE
  WAKE DATE 2016-10-27
  //SHEP LOGGED OUT
  -->
http://alive2017.com
<!-- snip
  WAKE DATE 2016-10-27
snip -->
<!-- snip
  48 51 24 2 21 03
  34 03 118 15
  51 30 26 N 0 7 39
  40 7128 74 0059
  35 6895 139 6917
  23 5505 46 6333
  39 0200 1 4821
  33 7206 116 2156
snip -->

latitude-longitude

screenshot


APPENDIX

network/server

whois

$ whois alive2017.com -H

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Domain Name: ALIVE2017.COM
   Registrar: ENOM, INC.
   Sponsoring Registrar IANA ID: 48
   Whois Server: whois.enom.com
   Referral URL: http://www.enom.com
   Name Server: NS1.ASMALLORANGE.COM
   Name Server: NS2.ASMALLORANGE.COM
   Status: ok https://icann.org/epp#ok
   Updated Date: 27-sep-2016
   Creation Date: 24-sep-2016
   Expiration Date: 24-sep-2017

>>> Last update of whois database: Sat, 08 Oct 2016 16:42:07 GMT <<<

For more information on Whois status codes, please visit https://icann.org/epp



The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.


Domain Name: ALIVE2017.COM
Registry Domain ID: 2061456825_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.enom.com
Registrar URL: www.enom.com
Updated Date: 2016-09-23T23:55:23.00Z
Creation Date: 2016-09-24T06:55:00.00Z
Registrar Registration Expiration Date: 2017-09-24T06:55:00.00Z
Registrar: ENOM, INC.
Registrar IANA ID: 48
Reseller: NAMECHEAP.COM
Domain Status: ok https://www.icann.org/epp#ok
Registry Registrant ID: 
Registrant Name: WHOISGUARD PROTECTED
Registrant Organization: WHOISGUARD, INC.
Registrant Street: P.O. BOX 0823-03411
Registrant City: PANAMA
Registrant State/Province: PANAMA
Registrant Postal Code: 0
Registrant Country: PA
Registrant Phone: +507.8365503
Registrant Phone Ext: 
Registrant Fax: +51.17057182
Registrant Fax Ext:
Registrant Email: 0FFC9FA8028D40E1A0B3D41DB6A5E587.PROTECT@WHOISGUARD.COM
Registry Admin ID: 
Admin Name: WHOISGUARD PROTECTED
Admin Organization: WHOISGUARD, INC.
Admin Street: P.O. BOX 0823-03411
Admin City: PANAMA
Admin State/Province: PANAMA
Admin Postal Code: 0
Admin Country: PA
Admin Phone: +507.8365503
Admin Phone Ext: 
Admin Fax: +51.17057182
Admin Fax Ext:
Admin Email: 0FFC9FA8028D40E1A0B3D41DB6A5E587.PROTECT@WHOISGUARD.COM
Registry Tech ID: 
Tech Name: WHOISGUARD PROTECTED
Tech Organization: WHOISGUARD, INC.
Tech Street: P.O. BOX 0823-03411
Tech City: PANAMA
Tech State/Province: PANAMA
Tech Postal Code: 0
Tech Country: PA
Tech Phone: +507.8365503
Tech Phone Ext: 
Tech Fax: +51.17057182
Tech Fax Ext: 
Tech Email: 0FFC9FA8028D40E1A0B3D41DB6A5E587.PROTECT@WHOISGUARD.COM
Name Server: NS1.ASMALLORANGE.COM
Name Server: NS2.ASMALLORANGE.COM
DNSSEC: unSigned
Registrar Abuse Contact Email: abuse@enom.com
Registrar Abuse Contact Phone: +1.4252982646
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2016-09-23T23:55:23.00Z <<<

For more information on Whois status codes, please visit https://icann.org/epp


dig

$ dig ANY alive2017.com @8.8.8.8

; <<>> DiG 9.10.3-P4-Ubuntu <<>> ANY alive2017.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25399
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;alive2017.com.                 IN      ANY

;; ANSWER SECTION:
alive2017.com.          21553   IN      SOA     ns1.asoshared.com. root.localhost.localdomain. 2016092505 3600 7200 1209600 86400
alive2017.com.          21553   IN      A       143.95.43.11
alive2017.com.          21553   IN      MX      0 alive2017.com.
alive2017.com.          21553   IN      NS      ns1.asoshared.com.
alive2017.com.          21553   IN      NS      ns2.asoshared.com.
alive2017.com.          21553   IN      TXT     "v=spf1 +a +mx +ip4:65.99.237.53 +include:relay.mailchannels.net ~all"

;; Query time: 20 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Oct 09 02:32:52 JST 2016
;; MSG SIZE  rcvd: 263

lubuntu@lubuntu:~$ 
トラックバック - http://ptech.g.hatena.ne.jp/noromanba/20161008