From 86ac47e98b8a02d0aaf398283dd3e907530cec8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 21 Mar 2020 21:24:40 +0100 Subject: added some domains --- es.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 es.php (limited to 'es.php') diff --git a/es.php b/es.php new file mode 100644 index 0000000..7c5c246 --- /dev/null +++ b/es.php @@ -0,0 +1,39 @@ +#!/usr/bin/env php + '', + 'xs' => "", + 'notfromwhois' => '', + 'domain' => $znak1.$znak2, + 'tld' => "WS" + ) + ); + + $opts = array('http' => + array( + 'method' => 'POST', + 'header' => 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8', + 'content' => $postdata + ) + ); + + $context = stream_context_create($opts); + + $result = file_get_contents('http://samoanic.ws/whois.dhtml', false, $context); + if (strpos($result, 'Congratulations') !== false) { + echo $znak1.$znak2.".ws <-- FREE\n"; + } else { + echo $znak1.$znak2.".ws <-- REGISTERED\n"; + } + } +} +?> -- cgit v1.2.3