this-> AddDomainPhishing

(Caronte Pcode version 2.0)

Description

int this->AddDomainPhishing (string domain);

Add the domain in 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->AddDomainPhishing("inrete.com");
HashArray indexkey = new HashArray();
this->ViewPhishingDB(indexkey);

for (int i = 0; i < indexkey->GetRecordCount(); i++)
{

this->Print(indexkey->GetByIndexS(i) + "\n");

}

delete indexkey;

return 0;

}


Out:

inrete.com