127.0.0.1
1 — The probable risk assessment check succeeded.
0 — The probable risk assessment check failed.
http://manage2.cpanel.net/XMLsecverify.cgi?ip=127.0.0.1 in a browser should produce output similar to the following:
Calling the function using the URL above will return XML data by default. To change the output format that will be returned, use either of the following URLs:<XMLsecverify reason="Risk Data Fetched" riskscore.aggregate.score="0" riskscore.directorder.score="0" riskscore.main.score="0" status="1" version="1"/>
http://manage2.cpanel.net/XMLsecverify.cgi?output=json&ip=127.0.0.1
http://manage2.cpanel.net/XMLsecverify.cgi?output=yaml&ip=127.0.0.1
XMLsecverify.cgi. You can use this module to pass input variables to a Manage2 API function. You will need to edit the example below to suit your needs.
use cPanelLicensing;
my $cpl = cPanelLicensing->new(user => $user, pass => $pass);
$cpl->fetchLicenseRiskData( ip=>$ip )
In the example above, $ip is meant to stand for the IP address that you would like to check.
You can learn more about using a Perl module to call API functions.
<?php
include("cpl.inc.php");
$cpl = new cPanelLicensing("__USERNAME__","__PASSWORD__"); $lisc = $cpl->fetchLicenseRiskData(array( "ip" => $ip ) );
?>
In the example above, $ip is meant to stand for the IP address of the machine you would like to check.
Copyright © cPanel 2000–2011.