View Single Post
  #11  
Old 10-01-2018, 05:22
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 80
Rept. Given: 0
Rept. Rcvd 8 Times in 2 Posts
Thanks Given: 3
Thanks Rcvd at 44 Times in 28 Posts
ketan Reputation: 8
Just add this to your crypter and call it after lc_init,
e.g declare_vid(lm_job, "NSAD_HOSTID", HOSTID_VENDOR+1);

Works for me since v6 at least :-)

void declare_vid(LM_HANDLE_PTR lm_job, char *name, DWORD type)
{
LM_VENDOR_HOSTID h;

memset(&h, 0, sizeof (h));
h.label = name;
h.hostid_num = type;
h.case_sensitive = 0;
h.get_vendor_id = NULL;
if (lc_set_attr(lm_job, LM_A_VENDOR_ID_DECLARE, (LM_A_VAL_TYPE) &h))
lc_perror(lm_job, "LM_A_VENDOR_ID_DECLARE FAILED");

}
Reply With Quote