<?php
/* Function that parses responses

Used for parsing the response in order to see if the exploit was successful.

PARAMETERS:
$sReponse: response of the inject
$aExploit: exploit definitions to search for

RETURNS:
BOOLEAN: exploit successful or not
*/

function ParseResponse($sReponse,$aExploit){
    for(
$x=0;$x<count($aExploit);$x++){
        if(
false!==(strstr($sResponse,$aExploit[$x]))){
            return(
true);
        }
    }
    return(
false);
}
?>