..we are going to create a new app for the hacksuite. We're not going to do anything fancy here, we will make a simple app to get familiar how to write compatible scripts for the..
xAnalyze is a module that can search through corrupt data and configuration files in order to find the exact position of errors
<?php
/* Fetches header */
if(!defined("IN_SCRIPT")){
exit;
}
echo Screen("<br />\n<b>Checking for response header...</b><blockquote>\n",$_CONTEXT['verbose'],$_CONTEXT['silent']);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $sHost);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101506 Ubuntu/10.04 (lucid) Firefox/3.6.13 GTB7.1');
if(!$sResult = @curl_exec($ch)){
echo Screen("<b id=h7>Can't get headers, are you sure the host is up?</b>".$sEnd,$_CONTEXT['verbose'],$_CONTEXT['silent']);
}
else{
echo nl2br($sResult);
}
echo Screen("</blockquote>\n",$_CONTEXT['verbose'],$_CONTEXT['silent']);
@curl_close($ch);
flush();
ob_flush();
?>