1— The probable risk assessment check succeeded.
0— The probable risk assessment check failed.
http://manage2.cpanel.net/XMLsecverify.cgi?ip=127.0.0.1in 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"/>
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.
In the example above,use cPanelLicensing; my $cpl = cPanelLicensing->new(user => $user, pass => $pass); $cpl->fetchLicenseRiskData( ip=>$ip )
$ipis 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.
In the example above,<?php include("cpl.inc.php"); $cpl = new cPanelLicensing("__USERNAME__","__PASSWORD__"); $lisc = $cpl->fetchLicenseRiskData(array( "ip" => $ip ) ); ?>
$ipis meant to stand for the IP address of the machine you would like to check. Remember: USERNAME and PASSWORD are meant to represent the username and password for your Manage2 account. You can learn more about using a PHP class to call API functions.