this-> DeleteDomainPhishing

(Caronte Pcode version 2.0)

Description

int this->DeleteDomainPhishing (string domain);

Remove the domain from the phishing database . Return 1 if success, 0 if not.

Example.

Source:

#import( class , HashArray )

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->DeleteDomainPhishing("bank.com");
HashArray indexkey = new HashArray();
this->ViewPhishingDB(indexkey);

this->Print(this->Format("%d", indexkey->GetRecordCount()));

delete indexkey;

return 0;

}


Out:

0