Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2015, 18:58
rcer rcer is offline
Friend
 
Join Date: Dec 2008
Posts: 133
Rept. Given: 5
Rept. Rcvd 7 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 14 Times in 14 Posts
rcer Reputation: 7
Flexlnet 11.5 target

I am trying to reverse a target which uses flexnet 11.5 licensing scheme.
I have recovered the correct encryption seeds, and have build lmcrypt for SIGN=12 character licenses. Licenses can be checked out with the lmtools utility, but when I try to run the program I receive the following error
"invalid FLEXLM license file syntax"

An older version of this application used SIGN=16 character licenses, so maybe I get above error because I am generating 12 character licenses.

Does anybody know how to build lmcrypt for SIGN=16 character licenses?

rgds

rcer
Reply With Quote
  #2  
Old 04-15-2015, 23:18
nikkapedd nikkapedd is offline
VIP
 
Join Date: Mar 2011
Location: ::Bratva::
Posts: 262
Rept. Given: 275
Rept. Rcvd 150 Times in 64 Posts
Thanks Given: 193
Thanks Rcvd at 254 Times in 106 Posts
nikkapedd Reputation: 100-199 nikkapedd Reputation: 100-199
rcer, upload your target... And you need to add this string "-longkey", if you want SIGN with 16 characters..
Reply With Quote
  #3  
Old 04-16-2015, 01:59
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,107
Rept. Given: 221
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 106
Thanks Rcvd at 220 Times in 125 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
Or in the sign area of the template license, put a 0 for each digit of SIGN that you want.

Example :
FEATURE fname3 vendorna 2.000 permanent 0 000000000000 TS_OK ck=0
gives 12 digit sign. 0000000000000000 would give 16 digit

Git
Reply With Quote
  #4  
Old 04-16-2015, 03:02
FoxB FoxB is offline
VIP
 
Join Date: Jan 2002
Location: Earth...
Posts: 844
Rept. Given: 14
Rept. Rcvd 112 Times in 77 Posts
Thanks Given: 15
Thanks Rcvd at 549 Times in 234 Posts
FoxB Reputation: 100-199 FoxB Reputation: 100-199
may be use -verfmt 5
Reply With Quote
  #5  
Old 04-16-2015, 04:14
nikkapedd nikkapedd is offline
VIP
 
Join Date: Mar 2011
Location: ::Bratva::
Posts: 262
Rept. Given: 275
Rept. Rcvd 150 Times in 64 Posts
Thanks Given: 193
Thanks Rcvd at 254 Times in 106 Posts
nikkapedd Reputation: 100-199 nikkapedd Reputation: 100-199
-verfmt prints in old format and prints errors when
is newer than specified.
Code:
Here a full example...
usage: lmcrypt [-i infile] [-o outfile] [-e errfile] [-longkey]
        [licenses ...] [-r] [-verfmt ver] [-decimal] [-maxlen n] [-help]
   [-r]     Print copyright notice.
   [-help]  Display usage information.
   If no input file, or if specified as - or stdin, stdin is used.
   If no output file, or if specified as - or stdout, stdout is used.
   If no error file, or if specified as - or stderr, stderr is used.
   licenses are read and written back in place.
   If no arguments, reads stdin and writes stdout.

   -verfmt prints in old format and prints errors when
   is newer than specified. Version formats are 2-5, 5.1, 6, 7 and 7.1

[-longkey]-->> it makes 16 characters in the standard lic and 16 in the SIGN
Git, if you write [-longkey] in the script, and SIGN="0" in the template, the crypter write 16 characters, without filling with zeros the SIGN like this--> SIGN=0000000000000000

Last edited by nikkapedd; 04-16-2015 at 04:20.
Reply With Quote
  #6  
Old 04-16-2015, 05:17
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,107
Rept. Given: 221
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 106
Thanks Rcvd at 220 Times in 125 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
I'm aware of that nik, but prefer to do it the other way.

Git
Reply With Quote
  #7  
Old 04-16-2015, 06:51
alekine322's Avatar
alekine322 alekine322 is offline
VIP
 
Join Date: Apr 2011
Location: North America
Posts: 231
Rept. Given: 951
Rept. Rcvd 60 Times in 33 Posts
Thanks Given: 903
Thanks Rcvd at 100 Times in 58 Posts
alekine322 Reputation: 60
Hi @rcer

upload your target, I can review and comment
Reply With Quote
  #8  
Old 04-16-2015, 22:07
rcer rcer is offline
Friend
 
Join Date: Dec 2008
Posts: 133
Rept. Given: 5
Rept. Rcvd 7 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 14 Times in 14 Posts
rcer Reputation: 7
nikkapedd, Git & Fox & Alkine322

Thanks, for this tip, and I tried the 16 Char license, but still get the same error message.

Upload the full target, or the daemon only? and upload to where? ( have no access to the ftp anymore)

rgds
Reply With Quote
  #9  
Old 04-17-2015, 02:37
FoxB FoxB is offline
VIP
 
Join Date: Jan 2002
Location: Earth...
Posts: 844
Rept. Given: 14
Rept. Rcvd 112 Times in 77 Posts
Thanks Given: 15
Thanks Rcvd at 549 Times in 234 Posts
FoxB Reputation: 100-199 FoxB Reputation: 100-199
start from the deamon file on rghost.net
Reply With Quote
  #10  
Old 04-17-2015, 08:01
rcer rcer is offline
Friend
 
Join Date: Dec 2008
Posts: 133
Rept. Given: 5
Rept. Rcvd 7 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 14 Times in 14 Posts
rcer Reputation: 7
O.K.
have sent you guys a PM with the link & pwd

regards
Reply With Quote
  #11  
Old 04-19-2015, 07:09
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 147
Rept. Given: 0
Rept. Rcvd 16 Times in 8 Posts
Thanks Given: 7
Thanks Rcvd at 132 Times in 68 Posts
ketan Reputation: 16
>FEATURE fname3 vendorna 2.000 permanent 0 000000000000 TS_OK ck=0

add HOSTID=ANY e.g. to your template

otherwise if you want floating license then
add this

SERVER this_host locking port
DAEMON vendorna

and change FEATURE fname3 vendorna 2.000 permanent 0 000000000000 TS_OK ck=0
to
FEATURE fname3 vendorna 2.000 permanent 100 000000000000 TS_OK ck=0
Reply With Quote
The Following User Says Thank You to ketan For This Useful Post:
darsy (04-19-2015)
  #12  
Old 04-19-2015, 12:14
rcer rcer is offline
Friend
 
Join Date: Dec 2008
Posts: 133
Rept. Given: 5
Rept. Rcvd 7 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 14 Times in 14 Posts
rcer Reputation: 7
ketan,

vendor is callmd not vendorna,

I managed to solve the issue, the problem was that the target does not accept:

- HOSTID=ANY
- Permanent
- features with expiry dates beyond 2 years from current date

Program now runs fine with SIGN=12 license
Reply With Quote
  #13  
Old 04-20-2015, 03:37
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 147
Rept. Given: 0
Rept. Rcvd 16 Times in 8 Posts
Thanks Given: 7
Thanks Rcvd at 132 Times in 68 Posts
ketan Reputation: 16
>vendor is callmd not vendorna,

Ah, sorry. It was Git' template, not yours.

As for client-side checks in 95% of cases you have to find lc_auth_data and trace the code that analyses config* returned. Sometimes the API to begin with is lc_get_config/lc_next_config. And a number of LM_*FILTER* hooks set with lc_set_attr are usual suspects also :-)

PS: never met SIGN=16digits in the wild, it's either 12 or CRO. Though technically it could be 16/20 also.
Reply With Quote
  #14  
Old 04-20-2015, 17:34
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,107
Rept. Given: 221
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 106
Thanks Rcvd at 220 Times in 125 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
'vendorna' was made up from almost random letters that my fingers fell on, sorry

Git
Reply With Quote
  #15  
Old 04-21-2015, 02:35
nikkapedd nikkapedd is offline
VIP
 
Join Date: Mar 2011
Location: ::Bratva::
Posts: 262
Rept. Given: 275
Rept. Rcvd 150 Times in 64 Posts
Thanks Given: 193
Thanks Rcvd at 254 Times in 106 Posts
nikkapedd Reputation: 100-199 nikkapedd Reputation: 100-199
ketan, the standard license can be 20 digits, but the standard SIGN can be only max 16 digits.. except the long ECC SIGN and SIGN2
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some pointers with a .Net target Sailor_EDA General Discussion 10 03-03-2010 12:18
Need some help on this flexlm target Sailor_EDA General Discussion 6 03-02-2006 13:38
Asprotect 2.1x SKE target taos General Discussion 2 12-12-2005 17:04


All times are GMT +8. The time now is 16:38.


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