Having problems with script found here only parts of it do not work.
Get these 2 errors. Any help would be appreciated.
Get these 2 errors. Any help would be appreciated.
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
Useful Links for Guests:
If you are having problems posting in the relevant areas for your software, please see this topic.
function dig($target){
global $ntarget;
message("<p><b>DNS Query Results:</b><blockquote>");
#$target = gethostbyaddr($target);
#if (! eregi("[a-zA-Z]", ($target = gethostbyaddr($target))) )
if( (!eregi("[a-zA-Z]", $target) && (!eregi("[a-zA-Z]", $ntarget))))
$msg .= "Can't do a DNS query without a hostname.";
else{
if(!eregi("[a-zA-Z]", $target)) $target = $ntarget;
// if (! $msg .= trim(nl2br(`dig any '$target'`))) #bugfix
if (! $msg .= '<pre>' . `dig any '$target' | awk '{if (NR>6) print $0}' | sed -e 's/^;; //g' -e 's/^;//g'` . '</pre>') #bugfix
$msg .= "The <i>dig</i> command is not working on your system.";
}
echo $msg; $msg=NULL;
#TODO: Clean up output, remove ;;'s and DiG headers
$msg .= "</blockquote></p>";
message($msg);
}
QUESTION SECTION: yahoo.com. IN ANY ANSWER SECTION: yahoo.com. 113815 IN NS ns1.yahoo.com. yahoo.com. 113815 IN NS ns2.yahoo.com. yahoo.com. 113815 IN NS ns3.yahoo.com. yahoo.com. 113815 IN NS ns4.yahoo.com. yahoo.com. 113815 IN NS ns5.yahoo.com. yahoo.com. 300 IN MX 1 mx1.mail.yahoo.com. yahoo.com. 300 IN MX 1 mx2.mail.yahoo.com. yahoo.com. 300 IN MX 5 mx4.mail.yahoo.com. yahoo.com. 869 IN A 66.218.71.113 yahoo.com. 869 IN A 66.218.71.112 yahoo.com. 76 IN SOA hidden-master.yahoo.com. hostmaster.yahoo-inc.com. 2002040447 900 300 604800 600 AUTHORITY SECTION: yahoo.com. 113815 IN NS ns1.yahoo.com. yahoo.com. 113815 IN NS ns2.yahoo.com. yahoo.com. 113815 IN NS ns3.yahoo.com. yahoo.com. 113815 IN NS ns4.yahoo.com. yahoo.com. 113815 IN NS ns5.yahoo.com. ADDITIONAL SECTION: ns1.yahoo.com. 154968 IN A 66.218.71.63 ns2.yahoo.com. 154968 IN A 209.132.1.28 ns3.yahoo.com. 154968 IN A 217.12.4.104 ns4.yahoo.com. 154968 IN A 63.250.206.138 ns5.yahoo.com. 113750 IN A 64.58.77.85 mx1.mail.yahoo.com. 1106 IN A 64.157.4.85 mx1.mail.yahoo.com. 1106 IN A 64.157.4.89 mx1.mail.yahoo.com. 1106 IN A 64.157.4.81 Query time: 62 msec SERVER: 68.6.16.30#53(68.6.16.30) WHEN: Fri Apr 5 07:53:16 2002 MSG SIZE rcvd: 483
Comment