Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-15-2021, 05:38
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 157
Rept. Given: 0
Rept. Rcvd 19 Times in 10 Posts
Thanks Given: 8
Thanks Rcvd at 150 Times in 75 Posts
ketan Reputation: 19
Nope. Always solved my targets in clean RE style :-)

Here is some essential info to save your time:

/*
extern int slm_endapi(void **);
extern int slm_gencode(void * , char *, char *, unsigned long);
extern char slm_getversion(void *);
extern int slm_key(void *, int, char *, void *, unsigned long);
extern char *slm_message(void *, char *, char *, int);
extern int slm_setversion(void *, int);
extern int slm_startapi(void *);
extern char __import slm_salt[40];
extern char __import slm_port_salt[4];

void * instance;
*/

#define SLM_ENCODE 0
#define SLM_DECODE 1

#define SLM_CODE_LEN 100 //?
#define SLM_FEATURE_LEN 32
#define SLM_MAX_REDUNDANT_SERVERS 31 //?
#define SLM_MULTIKEY_MAXNUMFEAT 11
#define SLM_VENDORDATA_LEN 94

typedef struct slm_keydata
{
long nlic[SLM_MULTIKEY_MAXNUMFEAT];
long soft_nlic[SLM_MULTIKEY_MAXNUMFEAT];
long licpak_id;
long server_count;
long multikey;
long resource_attached;
long licpak_type;
long test_what;
long test_op;
long test_vd_start;
long test_vd_length;
long replace_what;
long replace_vd_start;
long replace_vd_length;
time_t start_date;
time_t expiration;
time_t test_start_date;
time_t test_expiration;
char feature[SLM_FEATURE_LEN+1];
char code[SLM_MAX_REDUNDANT_SERVERS+1][SLM_CODE_LEN+1]; //char code[3232]
char vendordata[SLM_VENDORDATA_LEN+1];
char test_domain;
char test_vdata[SLM_VENDORDATA_LEN+1];
char domain;

} slm_keydata_t;
Reply With Quote
The Following 3 Users Say Thank You to ketan For This Useful Post:
DominicCummings (09-10-2021), tonyweb (01-15-2021), Windoze (01-15-2021)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 12:55.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )