Accept EULA (sample code) (Tested with QualysGuard 6.23 and Perl v5.14.1):


This script demonstrates how to accept the Qualys Service End User License Agreement (EULA) on behalf of a customer. It can be used when a user is created using the API "user.php" like in the following example:


curl -n ""


Normally, it would require that the user manually accept the EULA, but this step can be bypassed by using this script with the login/password returned in the output of the previous request.


This script takes a username and password as the first two command line arguments.