Beispiel #1
0
function check_bc_styles($d)
{
    $domain = actualDomain($d);
    $doc = new DOMDocument();
    $doc->loadHTMLFile("http://" . $domain);
    if (strpos($doc->saveHTML(), '/css/madstyles.php') !== false) {
        $r['bcstyles'] = "Yes";
    } else {
        $r['bcstyles'] = "No";
    }
    return $r['bcstyles'];
}
Beispiel #2
0
//error_reporting(-1);
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once 'includes/controllers.php';
//include('views/_header.php');
$q = $_GET['q'];
//query method
$a = $_GET['a'];
//query action (ajax)
if ($q == "dnslookup") {
    include 'views/_header.php';
    include 'views/domainlookup.php';
    include 'views/_footer.php';
} elseif ($q == "ajax") {
    ini_set('display_errors', 0);
    $domain = actualDomain($_GET['domain']);
    if ($a == "ip") {
        print ipLookup($domain);
    }
    if ($a == "madwireSystem") {
        print check_madwire_ip($domain);
    }
    if ($a == "bcStyles") {
        print check_bc_styles($domain);
    }
    if ($a == "dnsA") {
        print "<pre>" . diga($domain) . "</pre>";
    }
    if ($a == "whois") {
        print "<pre>" . whois($domain) . "</pre>";
    }
Beispiel #3
0
        | <a href="#mx">MX Record</a> | <a href="#certificate">SSL Certificate</a> | <a href="#whois">WHOIS</a> | <a href="#ipwhois">IP WHOIS</a>
    </p>
    <br/>
        <table style="width: 100%">
            <tr>
                <th width="15%"></th>
                <th></th>
            </tr>

            <tr>
                <td class="lbl"><a name="domain"></a>Domain Name</td>
                <td><a target="_blank" href="http://<?php 
print actualDomain($_GET['domain']);
?>
"><?php 
print actualDomain($_GET['domain']);
?>
</a></td>
            </tr>
            <tr>
                <td class="lbl"><a name="ip"></a>ip</td>
                <td id="getIp"><?php 
print $ajaxPlaceholder;
?>
</td>
            </tr>
            <tr>
                <td class="lbl"><a name="mwsys"></a>Madwire System?</td>
                <td id="getMadwire"><?php 
print $ajaxPlaceholder;
?>