Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   SDK 11.x How to find Vendor_Name and Vendor_Key5 in application !! (https://forum.exetools.com/showthread.php?t=20216)

Gede 08-03-2022 09:37

SDK 11.x How to find Vendor_Name and Vendor_Key5 in application !!
 
Hi all,

After 2weeks of playing with the SDK 11.14 and Demo App. and
more than a few night shifts of internet surfing :eek::confused:

I am trying to find some info on a old EOL 15 year old Application.
The company that sold it is gone with the wind after 3 or 4 take overs.

How can one find the Vendor_Name and Vendor_Key5 in an Application
developed with .NET and FLEXNET 11 implemented ?

Or can one calculate the Vendor_Key5 and Vendor_Name with the recovered information I found so far :

ES1, ES2, TRL1, TRL2, 239BIT VK1, VK2, VK3, VK4 VN "mips" ? FN "Complete" ?

ES1: FEFC2E17
FEFC2E17 >> ES1 >>>> .textidx:100A43BB mov ecx, [edx+4]
B7794E11 >> ES2 >>>> 8Bytes down in MEM
ES2: B7794E11

TRL1: 0F63E683
0F63E683 TRL1 >>>> .text:100084D3 add edx, eax

TRL2: A22D254C
A22D254C >> TRL2 >>>> .textidx:100D9A96 mov edx, [ecx+eax*4]

4x LOOP for the 4 keys

VK1: F793BF1F
F793BF1F >> VK1>>>> .textidx:100C340A mov eax, [esi+eax*4+0Ch]

VK2: F9633543
F9633543 >> VK2 >>>> .textidx:100C340A mov eax, [esi+eax*4+0Ch]

VK3: 8E0FEF44
8E0FEF44 >> VK3 >>>> .textidx:100C340A mov eax, [esi+eax*4+0Ch]

VK4: 44F6D202
44F6D202 >> VK4 >>>> .textidx:100C340A mov eax, [esi+eax*4+0Ch]

*******************************************************************************************

Update >>> found possible VN "mips" >>>>> using this in the LONG tools doesn't give me the found VendorKeys !!!!!!!!
App can be found at :
https://web.archive.org/web/20080908052838/http://www.fs2.com/fpgaview_download/


Possible FEATURE NAME "Complete" found with ORCA in MSI after extracting it from the EXE file


"C:\Program Files (x86)\Fs2\FPGAView\Bin\FPGAView.exe" A altera tla
"C:\Program Files (x86)\Fs2\FPGAView\Bin\FPGAView.exe" X xilinx tla
"C:\Program Files (x86)\Fs2\FPGAView\Bin\FPGAView.exe" AV altera mso
"C:\Program Files (x86)\Fs2\FPGAView\Bin\FPGAView.exe" XV xilinx mso



*******************************************************************************************

[Any suggestions or hints ??

And YES these values have been confirmed by a 3th party .....will be named later. Avi



Extra Info:
********************************************************************************************
Code:

textidx:100C33F8 loc_100C33F8:                          ; CODE XREF: sub_100C33BF+2E↑j
.textidx:100C33F8 cmp    [ebp+var_10], 4
.textidx:100C33FC jge    short loc_100C3414
.textidx:100C33FE mov    ecx, [ebp+var_10]
.textidx:100C3401 mov    edx, [ebp+arg_4]
.textidx:100C3404 mov    eax, [ebp+var_10]
.textidx:100C3407 mov    esi, [ebp+arg_4]
.textidx:100C340A mov    eax, [esi+eax*4+0Ch]            ; Gede  VK1 VK2 VK3 VK4
.textidx:100C340E mov    [edx+ecx*4+0Ch], eax
.textidx:100C3412 jmp    short loc_100C33EF

********************************************************************************************
HTML Code:

Breakpoints used:

Abs        0x10001090                                Break        sub_10001090        Default
Abs        0x10006144                                Break        Gede ES1        Default
Abs        0x10007712                                Break        Gede ES2        Default
Abs        0x100084D3                                Break        Gede TRL1        Default
Abs        0x1009FDE0                                Break        lc_checkout        Default
Abs        0x100A43BB                                Break        Gede ES1        Default
Abs        0x100A43EE                                Break        Gede ES2        Default
Abs        0x100A9630                                Break        lc_set_attr        Default
Abs        0x100AC0E0                                Break        lc_new_job        Default
Abs        0x100C2B17                                Break        Gede TRL1        Default
Abs        0x100C340A                                Break        Gede  VK1 VK2 VK3 VK4        Default
Abs        0x100C34D5                                Break        Gede TRL A22D254C F63E683        Default
Abs        0x100D9A96                                Break        Gede TRL2        Default
Abs        0x100D9AFA                                Break        Gede TRL A22D254C F63E683        Default
Abs        0x100D9B05                                Break        Gede TRL1 TRL2 A22D254C F63E683 VK1        Default
Abs        0x100D9B23                                Break        Gede TRL A22D254C F63E683        Default
Abs        0x10120610                                Break        lc_flexinit        Default

*********************************************************************************************


HTML Code:

Enable all breakpoints as per file. Exept lc_init...  app crashes.
Select Options from menu and feed LIC, after klik OK
It will stop at the first BP
BP        F9        FEFC0017
BP        F9        B7790011
BP        F9        0F63E683 TRL1 >>>> .text:100084D3 add    edx, eax
BP        F9        0F63E683 TRL1 >>>> .textidx:100C2B17 mov    edx, [ecx+28h]                               
BP        F9        F793BF1F >> VK1
BP        F9        F793BF1F >> VK1
BP        F9        F793BF1F >> VK1
BP        F9        F9633543 >> VK2
BP        F9        F9633543 >> VK2
BP        F9        F9633543 >> VK2
BP        F9        F9633543 >> VK2
BP        F9        8E0FEF44 >> VK3
BP        F9        8E0FEF44 >> VK3
BP        F9        8E0FEF44 >> VK3
BP        F9        8E0FEF44 >> VK3
BP        F9        44F6D202 >> VK4
BP        F9        44F6D202 >> VK4
BP        F9        44F6D202 >> VK4
BP        F9        F793BF1F >> VK1
BP        F9        F9633543 >> VK2
BP        F9        8E0FEF44 >> VK3
BP        F9        44F6D202 >> VK4
BP        F9        8E0FEF44 >> VK4
BP        F9        8C5FD88A
BP        F9        8C5FD88A
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        F1DF3BCB
BP        F9        F1DF3BCB
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        86DAE1BC
BP        F9        86DAE1BC
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        0F63E683
BP        F9        0F63E683
BP        F9        0F63E683
BP        F9        0F63E683
BP        F9        A22D254C >> TRL2 >>>> .textidx:100D9A96 mov    edx, [ecx+eax*4]
BP        F9        A22D254C >> TRL2 >>>> .textidx:100D9AFA mov    eax, [ebp+arg_0]
BP        F9        A22D254C >> TRL2 >>>> .textidx:100D9B05 mov    ecx, [ebp+arg_0]
BP        F9        A22D254C >> TRL2 >>>> .textidx:100D9B23 mov    eax, [ebp+arg_0]
BP        F9        00000000
BP        F9        00000000
BP        F9        00000000
BP        F9        00000000
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        F793BF1F >> VK1        >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        F9633543 >> VK2 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        F793BF1F >> VK1 >>>> .textidx:100D9AFA mov    eax, [ebp+arg_0]
BP        F9        F793BF1F >> VK1 >>>> .textidx:100D9AFA mov    eax, [ebp+arg_0]
BP        F9        F793BF1F >> VK1 >>>> .textidx:100D9B05 mov    ecx, [ebp+arg_0]
BP        F9        F793BF1F >> VK1 >>>> .textidx:100D9B23 mov    ecx, [ebp+arg_0]
BP        F9        F9633543 >> VK2 >>>> .textidx:100D9A96 mov    edx, [ecx+eax*4]
BP        F9        F9633543 >> VK2 >>>> .textidx:100D9AFA mov    edx, [ecx+eax*4]
BP        F9        F9633543 >> VK2 >>>> .textidx:100D9B05 mov    ecx, [ebp+arg_0]
BP        F9        F9633543 >> VK2 >>>> .textidx:100D9B23 mov    ecx, [ebp+arg_0]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100D9A96 mov    edx, [ecx+eax*4]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100D9AFA mov    eax, [ebp+arg_0]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100D9B05 mov    ecx, [ebp+arg_0]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100D9B23 mov    ecx, [ebp+arg_0]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100D9A96 mov    edx, [ecx+eax*4]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100D9AFA mov    edx, [ecx+eax*4]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100D9B05 mov    ecx, [ebp+arg_0]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100D9B23 mov    ecx, [ebp+arg_0]
BP        F9        FEFC2E17 >> ES1 >>>> .textidx:100A43BB mov    ecx, [edx+4]
BP        F9        B7794E11 >> ES2 >>>> 8Bytes down in MEM

BP        F9        F793BF1F >> VK1        >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        F9633543 >> VK2 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        F793BF1F >> VK1 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        F9633543 >> VK2 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        F793BF1F >> VK1 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        F9633543 >> VK2 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        8E0FEF44 >> VK3 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100C340A mov    eax, [esi+eax*4+0Ch]
BP        F9        44F6D202 >> VK4 >>>> .textidx:100C34D5 mov    edx, [eax+18h]
BP        F9        8C5FD88A
BP        F9        F1DF3BCB
BP        F9        86DAE1BC
BP        F9        3F3AB1FA
BP        F9        3F3AB1FA
BP        F9        POPUP "FLEXnet License Finder"    FEEEEDDDDD MEEEE  LIC

*********************************************************************************************
-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

ketan 08-04-2022 04:11

bp at so called l_n36_buf (usually the longest (or one of) routines in binary)

@10001090 in this case

on return you can see vn in arg0, vcode in arg4 or alike.

just play with it.

features are "altera" and "xilinx" at 1st sight.

though it's really your fun to learn it all yourself.

Gede 08-04-2022 05:36

Late Night Shift
 
@Ketan

Nice tip, I should have seen that one coming.
There are shortcut links named like that.
Also in the official LIC Request web page they asked about what version ?

http://web.archive.org/web/200802281...avieweval.html

>>>> Vendor FS2 was taken over bij "mips".

http://web.archive.org/web/200811200...ols/tektronix/


Will do some late night deep debugging...........

-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

avics 08-04-2022 14:18

I'm working with Gede on this project.
I also came across the l_n36_buf function.
Contains a lot of noise, calculating some constants...
And then in between stuff like this:

Xref Line Column Pseudocode line
r 1099 12 else if ( buf )
w 1230 6 buf[8] = 0;
w 1341 6 buf[7] = byte_10149020;
w 1354 6 buf[3] = 's';
w 1371 6 buf[2] = 'p';
w 1462 6 buf[4] = byte_10149120;
w 1747 6 buf[1] = 'i';
w 1772 6 buf[5] = byte_10148D7C;
w 1829 7 *buf = 'm';
w 1924 6 buf[6] = byte_10148DDC;
w 1991 6 buf[10] = byte_10148AFC;
w 2082 6 buf[9] = byte_10148B20;

What I also did was attaching windbg to the binary, set breakpoints in the lmgr module:
bm lmgr11!*
and with using
.dump /ma <to a file location>.dmp
and then analyze this minidump in IDA Pro.

The advantage is that it is more easy to look and annotate the values in the idb.

For example looking at the dotNet code using dotPeek one of the classes handling the license has the vendorcode embedded:

debug097:07971788 CLicenseObj dd offset aNoSuchFeatureE ; dword0 ; "No such feature exists" ...
debug097:07971788 dd offset aLicense ; gap4
debug097:07971788 db 'tla altera',0,'DIR=C:\altera_lite\' ; field_8
debug097:07971788 db '2.00000000' ; version
debug097:07971788 db 0 ; field_30
debug097:07971788 db 73h ; field_31
debug097:07971788 dw 735Ch ; field_32
debug097:07971788 dd 7973F38h ; a_cIniNm
debug097:07971788 dd 0 ; conxtype
debug097:07971788 dd 2AB6D90h ; field_3C

Vendor code struct starts here
debug097:07971788 dw 4 ; vendor_code.type
debug097:07971788 db 0, 0
debug097:07971788 dd 0FEFC2E17h, 0B7794E11h ; vendor_code.data
debug097:07971788 dd 0F793BF1Fh, 0F9633543h, 8E0FEF44h, 44F6D202h ; vendor_code.keys
debug097:07971788 dw 0Bh ; vendor_code.flexlm_version
debug097:07971788 dw 4 ; vendor_code.flexlm_revision
debug097:07971788 db 0, 0 ; vendor_code.flexlm_patch
debug097:07971788 db 31h, 31h, 2Eh, 30h, 0 ; vendor_code.behavior_ver
debug097:07971788 db 0
debug097:07971788 dd 0F63E683h, 0A22D254Ch ; vendor_code.trlkeys
debug097:07971788 dd 0 ; vendor_code.signs
debug097:07971788 dd 4 ; vendor_code.strength
debug097:07971788 dd 1 ; vendor_code.sign_level
debug097:07971788 dd 10h, 16h, 1Fh ; vendor_code.pubkeyinfo.pubkeysize
debug097:07971788 db 6Fh, 98h, 0F7h, 2Ch, 0ACh, 0E2h, 89h, 0E6h, 0F6h, 0Bh, 0Eh, 87h, 74h; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0C7h, 42h, 20h, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0, 0, 0, 0, 0, 0, 6Fh, 98h, 0C4h, 8Ch, 0Ch, 0D8h, 42h, 5Fh, 2Ch, 0D9h; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 19h, 0E9h, 34h, 60h, 0B7h, 10h, 73h, 0ECh, 0D3h, 52h, 37h, 34h, 0, 0; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70h, 0E5h, 0C1h, 5Bh; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0ECh, 63h, 4Ch, 22h, 0Fh, 0A8h, 3Fh, 0F3h, 0D2h, 17h, 0D0h, 7Ah, 47h; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0Ah, 0CFh, 8, 85h, 31h, 89h, 8Dh, 98h, 62h, 0EFh, 3Dh, 88h, 0A0h, 9Bh; vendor_code.pubkeyinfo.pubkey
debug097:07971788 db 0, 0, 0, 0, 0, 0, 0, 0, 0 ; vendor_code.pubkeyinfo.pubkey
debug097:07971788 dd offset pubkey_fptr ; vendor_code.pubkeyinfo.pubkey_fptr

[some zeroed out...]

debug097:07971788 dd offset my_lm_handle ; lm_handle_ptr_ptr


The lm_handle_ptr_ptr points to the lm_handle.

debug085:02AB6DA8 my_lm_handle dd 66h ; type
debug085:02AB6DA8 ; DATA XREF: debug085:my_lm_handle↓o
debug085:02AB6DA8 ; debug097:CLicenseObj↓o
debug085:02AB6DA8 dw 0Bh ; version.version.major ;
debug085:02AB6DA8 dw 4 ; version.version.minor
debug085:02AB6DA8 dw 0 ; version.subMinor
debug085:02AB6DA8 dw 0 ; version.patch
debug085:02AB6DA8 dd 0 ; version.build
debug085:02AB6DA8 dw 0 ; version.beta
debug085:02AB6DA8 db 0, 0 ; version.patchStr
debug085:02AB6DA8 db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; version.verString
debug085:02AB6DA8 db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; version.verString
debug085:02AB6DA8 db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; version.verString
debug085:02AB6DA8 db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; version.verString
debug085:02AB6DA8 db 0, 0, 0, 0, 0, 0, 0, 0 ; version.verString
debug085:02AB6DA8 dd offset my_lm_handle ; first_job
debug085:02AB6DA8 dd 0 ; next
debug085:02AB6DA8 dd 0FFFFFFFBh ; err_info.maj_errno
debug085:02AB6DA8 dd 165h ; err_info.min_errno
debug085:02AB6DA8 dd 0 ; err_info.sys_errno
debug085:02AB6DA8 dd 0 ; err_info.act_errno
debug085:02AB6DA8 dd 0 ; err_info.lic_files
debug085:02AB6DA8 db 'tla',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; err_info.feature
debug085:02AB6DA8 db 0
debug085:02AB6DA8 dd 0 ; err_info.context
debug085:02AB6DA8 dd 0 ; err_info.short_err_descr
debug085:02AB6DA8 dd 0 ; err_info.long_err_descr
debug085:02AB6DA8 dd offset unk_5B4DE0 ; err_info.sys_err_descr
debug085:02AB6DA8 dd 0 ; err_info.errstring
debug085:02AB6DA8 dd 0 ; err_info.warn
debug085:02AB6DA8 dw 0FFh ; err_info.mask
debug085:02AB6DA8 db 0 ; err_info.flags
debug085:02AB6DA8 db 0
debug085:02AB6DA8 dd offset my_lm_handle.internalData ; daemon
debug085:02AB6DA8 dd offset off_2AB6FA8 ; options
debug085:02AB6DA8 dd 0 ; redirect
debug085:02AB6DA8 dd offset stru_14374A50 ; line
debug085:02AB6DA8 dd 0 ; packages
debug085:02AB6DA8 dd offset off_7971AE0 ; lic_files
debug085:02AB6DA8 dd 0 ; lfptr
debug085:02AB6DA8 dd 1 ; lm_numlf
debug085:02AB6DA8 dd offset off_143741E0 ; license_file_pointers
debug085:02AB6DA8 dd offset aJIdaTlaFpgavie ; lic_file_strings
debug085:02AB6DA8 db 'mips',0,0,0,0,0,0,0 ; vendor
debug085:02AB6DA8 db 0,0,0,0,0,0,0,0,0,0,0 ; alt_vendor
debug085:02AB6DA8 db 0, 0
debug085:02AB6DA8 dd 0 ; conf


It seems to me that a license key should look something like this:

FEATURE tla mips 2.000 etc.
FEATURE altera mips 2.000 etc
FEATURE xilinx mips 2.000 etc.



The problem however is that in the SDK 11.14 the size of the lm_handle is 0x1B0 while in the actual code 0x1A0 is allocated.
Which means that the 11.14 for the LM_INTERNAL part it is slightly larger than for 11.4 SDK.

If anyone has the 11.4 SDK please let me know where to find it... Or al least the header files in machind.

I got to tell, this is fun!

Gede 08-04-2022 23:46

@FoxB
 
@FoxB

Hi I found an old link to SDK11.4 but link is dead.


HTML Code:

FLEXLM SDK 11.4 Empty Re: FLEXLM SDK 11.4
Post by BfoX Sun Sep 29, 2019 11:16 am

11.9 multiplatform
_https://mega.nz/#F!uAo30QxK!_pkpl9akGpXV-vfTA54LkA

If you have SDK 11.4 and or SDK 11.9 could you provide a new link for download @ mega.nz

-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

FoxB 08-05-2022 03:40

flexlm_sdk_11.9.1_x64

Gede 08-05-2022 06:57

@FoxB
 
@FoxB


Thanks, some ingredients for cooking experiments.

By any chance the full SDK with x86 and the server setups !!!

It turns out you have a nice collection.:)


Code:

BfoX

Rank: 397.0 (sage), 179thx
Activity: 0.17↘0.1
Status: Member

Created: 29 June 2015 17:23
· Private message · #2

rocking, not lazy

www.4shared.com/rar/dbWdHzOpba/FlexLM_v114.html
www.4shared.com/rar/LyiwR5msba/FlexLM_v117_x64.html
www.4shared.com/rar/48a35jLvba/FlexLM_v118_x86.html
www.4shared.com/rar/ZCsQq9rlba/FlexLM_v1190_x64.html
www.4shared.com/rar/dcdaLuNaba/FlexLM_v1190_x86.html

www.4shared.com/rar/-ENDNSobce/FlexLM_v1191_x64.html
www.4shared.com/rar/XaVgN9irce/FlexLM_v1191_x86.html
pass:
darsy1234
www.4shared.com/rar/5GE8dJgOce/FlexLM_v60.html
www.4shared.com/rar/nSE--c3Mba/FlexLM_v61.html
www.4shared.com/rar/xD-21kLKce/FlexLM_v70d.html
www.4shared.com/rar/bhQ1P1Krba/FlexLM_v72f.html
www.4shared.com/rar/z1XNyBrTce/FlexLM_v80c.html
www.4shared.com/rar/TkXMblHNba/FlexLM_v81a.html
www.4shared.com/rar/YfJGBNpUba/FlexLM_v81b.html
www.4shared.com/rar/Loq6Ic2Fba/FlexLM_v92.html
www.4shared.com/rar/ZKNXc0Z3ce/FlexLM_v108.html
pass
d@rsy1234

-----
... either you work well or you work hard...

-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

avics 08-05-2022 15:37

Quote:

Originally Posted by FoxB (Post 125703)

Hi,

If you still have 11.4 for x86 and you can share that would be great.

Avi.

Gede 08-06-2022 06:42

TestApp-02_x64
 
Hi,

all that are following this thread.

A small TestAPP for playing and poking around. :D

It was a small challenge to produce this one in 11.9.1.0 x64.

https://mega.nz/file/duxjSJbA#F2S4iYl3ykNVr0syQFmMQ8dtq4pFhNZzGqfuvYQMJkY


Update:
TestApp-03_x86_11.4.0.0
HTML Code:

https://mega.nz/file/Z7R0CA6B#f23JfPtQ_RfvfqeigqfMidryKW_GO463maWoC3shm7M
TestApp-04_x86_11.4.0.0
HTML Code:

https://mega.nz/file/J6BADYwb#WmDPK4d5NuXwzRxGIos99zZLIGCdutYbYRwrH65XjFI
And yes it has a pw, name.

-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

Gede 08-07-2022 06:07

Fundemental big difference SDK11.4 and SDK 11.9.1
 
@FoxB
@Ketan

Have been playing peeking and poking around in FPGAView.

I am only able to find ES1 ES2 VK1 VK2 VK3 VK4 TRL1 TRL2 and some XX values.

Code:

.text:10001763 mov    dword_1014875C, eax

debug094:08C51AF8 db    4
debug094:08C51AF9 db    0
debug094:08C51AFA db    0
debug094:08C51AFB db    0

debug094:08C51AFC db  17h
debug094:08C51AFD db  2Eh ; .
debug094:08C51AFE db 0FCh ; ü
debug094:08C51AFF db 0FEh ; þ

debug094:08C51B00 db  11h
debug094:08C51B01 db  4Eh ; N
debug094:08C51B02 db  79h ; y
debug094:08C51B03 db 0B7h ; ·

debug094:08C51B04 db  1Fh
debug094:08C51B05 db 0BFh ; ¿
debug094:08C51B06 db  93h ; “
debug094:08C51B07 db 0F7h ; ÷

debug094:08C51B08 db  43h ; C
debug094:08C51B09 db  35h ; 5
debug094:08C51B0A db  63h ; c
debug094:08C51B0B db 0F9h ; ù

debug094:08C51B0C db  44h ; D
debug094:08C51B0D db 0EFh ; ï
debug094:08C51B0E db  0Fh
debug094:08C51B0F db  8Eh ; Ž

debug094:08C51B10 db    2
debug094:08C51B11 db 0D2h ; Ò
debug094:08C51B12 db 0F6h ; ö
debug094:08C51B13 db  44h ; D

debug094:08C51B14 db  0Bh
debug094:08C51B15 db    0
debug094:08C51B16 db    4
debug094:08C51B17 db    0
debug094:08C51B18 db    0
debug094:08C51B19 db    0

debug094:08C51B1A db  31h ; 1
debug094:08C51B1B db  31h ; 1
debug094:08C51B1C db  2Eh ; .
debug094:08C51B1D db  30h ; 0

debug094:08C51B1E db    0
debug094:08C51B1F db    0

debug094:08C51B20 db  83h ; ƒ
debug094:08C51B21 db 0E6h ; æ
debug094:08C51B22 db  63h ; c
debug094:08C51B23 db  0Fh

debug094:08C51B24 db  4Ch ; L
debug094:08C51B25 db  25h ; %
debug094:08C51B26 db  2Dh ; -
debug094:08C51B27 db 0A2h ; ¢



debug094:08C51B28 db    0
debug094:08C51B29 db    0
debug094:08C51B2A db    0
debug094:08C51B2B db    0
debug094:08C51B2C db    4
debug094:08C51B2D db    0
debug094:08C51B2E db    0
debug094:08C51B2F db    0
debug094:08C51B30 db    1
debug094:08C51B31 db    0
debug094:08C51B32 db    0
debug094:08C51B33 db    0
debug094:08C51B34 db  10h
debug094:08C51B35 db    0
debug094:08C51B36 db    0
debug094:08C51B37 db    0
debug094:08C51B38 db  16h
debug094:08C51B39 db    0
debug094:08C51B3A db    0
debug094:08C51B3B db    0
debug094:08C51B3C db  1Fh
debug094:08C51B3D db    0
debug094:08C51B3E db    0
debug094:08C51B3F db    0

debug094:08C51B40 db  6Fh ; o
debug094:08C51B41 db  98h ; ˜
debug094:08C51B42 db 0F7h ; ÷
debug094:08C51B43 db  2Ch ; ,

debug094:08C51B44 db 0ACh ; ¬
debug094:08C51B45 db 0E2h ; â
debug094:08C51B46 db  89h ; ‰
debug094:08C51B47 db 0E6h ; æ

debug094:08C51B48 db 0F6h ; ö
debug094:08C51B49 db  0Bh
debug094:08C51B4A db  0Eh
debug094:08C51B4B db  87h ; ‡

debug094:08C51B4C db  74h ; t
debug094:08C51B4D db 0C7h ; Ç
debug094:08C51B4E db  42h ; B
debug094:08C51B4F db  20h

debug094:08C51B50 db    0
debug094:08C51B51 db    0
debug094:08C51B52 db    0
debug094:08C51B53 db    0


SDK 11.9.1 is more sophisticated than SDK11.4 procedures are way different.

Am in need of SDK11.4 for further study.
So if one of you has it please provide mega link. :o



@Ketan

Do you have an other tip so that I can go foreward ?:(



I also came accros a few names that at this time have no meaning to me.

PDS 504453 534450
PLC 504C43 434C50
XKC 584B43 434B58


tla 746C61 616C74 >>> Meaningfull

altera ?? NOT FOUND YET !
xilinx ?? NOT FOUND YET !
mso ?? NOT FOUND YET !


Any usefull TIP is welcome !!:cool:


-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

avics 08-07-2022 07:39

From fpgaview:

.rdata:0053A5C8 aTla db 'TLA',0
.rdata:0053A5CC aXilinx db 'xilinx',0
.rdata:0053A5D3 db 0
.rdata:0053A5D4 aAltera db 'altera',0
.rdata:0053A5DB db 0
.rdata:0053A5DC db 28h ; (
.rdata:0053A5DD db 0
.rdata:0053A5DE db 0
.rdata:0053A5DF db 0
.rdata:0053A5E0 aMso db 'MSO',0

Some CLR strings:

.rdata:00574260 aC08bgaakopkLic db '??_C@_08BGAAKOPK@License?4?$AA@',0
.rdata:00574280 aC0lBicicnlj240 db '??_C@_0L@BICICNLJ@2?400000000?$AA@',0
.rdata:005742A3 aC04jiooidodTla db '??_C@_04JIOOIDOD@tla?5?$AA@',0
.rdata:005742BF aC04phpkbmndMso db '??_C@_04PHPKBMND@mso?5?$AA@',0
.rdata:005742DB aC0cdIblhjeggLm db '??_C@_0CD@IBLHJEGG@LM_A_VENDOR_ID_DECLARE?5FAILED?$CIMS@',0


.rdata:0057000C aC03kdglcpgTlaA db '??_C@_03KDGLCPG@TLA?$AA@',0
.rdata:00570025 aC06cnkmnheoXil db '??_C@_06CNKMNHEO@xilinx?$AA@',0
.rdata:00570042 aC06blfnapbhAlt db '??_C@_06BLFNAPBH@altera?$AA@',0

ketan 08-07-2022 07:46

Flex is boring.
Anyway, there's no universal way to find features requested.
In most cases you just bp @lc_checkout and trace params (feature, version requested).
Sometimes they are checked in implicit way (via lc_feat_list, lc_next_conf etc).

Here they are in main exe, plain text.

I don't think there is any sense in generating garbage like this every decade. Check old fravia and crackz e.g. archives to not reinvent a bicycle.

avics 08-11-2022 23:06

If there is anyone to help Gede and me getting the 11.4 SDK, please. This will help us to get to the next level.

I think I've figured out the Features.

@ketan l understand your sentiment about reinventing the bicycle again and I've skimmed through the crackz on archive.org.

ketan 08-11-2022 23:25

OK, hope this is enough at last:

https://www22.zippyshare.com/v/JzPHZumq/file.html

Gede 08-17-2022 00:14

Some Test Apps for playing NO-TRL, TRL113, TRL163, TRL239
 
For those who like to play with this stuff.

Some Apps with NO-TRL, TRL113, TRL163, TRL239
and a .NET experiment with all the above variants..


HTML Code:

https://mega.nz/file/U2AQzaoZ#wrktpv7lw-lxADAxijI0fg5sXfrTmr5fMJVurjINd6s
And yes it has a pw, name.

FLEXlm_Universal_VB_.NET_11.4.0.0_x86.rar

TestApp_NO_TRL_11.4.0.0_x86.rar

TestApp_TRL113BIT_11.4.0.0_x86.rar

TestApp_TRL163BIT_11.4.0.0_x86.rar

TestApp_TRL239BIT_11.4.0.0_x86.rar



-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

Gede 08-18-2022 19:47

SDK 9.2
 
Hi,

I am trying to setup SDK9.2 from full source.
So far I got:


Quote:

How To Setup Flexlm SDK 9.2.0.0 kit for x86

Found some cryptic txt file on Internet and changed it to this :

By Gede 2022-08-18


2. Create a Directory "fnp_9.2.0.0_x86" on "C:\" >>> C:\fnp_9.2.0.0_x86

3. Copy all the content from X:\fnp_9.2_Full_Source_x86_x64 folder to
C:\fnp_9.2.0.0_x86

4. Copy all the content from C:\fnp_9.2.0.0_x86\certicom\lib\i86_n3\include
to C:\h

5. Copy all the content from C:\fnp_9.2.0.0_x86\certicom\lib\i86_n3\lib to
C:\fnp_9.2.0.0_x86\i86_n3

6. Copy all the content from C:\fnp_9.2.0.0_x86\flexlm-java-tng\c\i86_n3 to
C:\fnp_9.2.0.0_x86\src

7. Replace the "?" in line 41 in file C:\fnp_9.2.0.0_x86\src\l_ctype.c for a "*".

8. Open Visual Studio 2005 Command Prompt
CD to C:\fnp_9.2.0.0_x86\src
nmake /f pc.mak >>> lmgr.lib etc.

9. Open VisualStudioCommandPrompt if not done so yet start over from the beginning.
CD to C:\fnp_9.2.0.0_x86\app
nmake /f pc.mak >>> lmgras.lib etc.

10. Open VisualStudioCommandPrompt if not done so yet start over from the beginning.
CD to C:\fnp_9.2.0.0_x86\server
nmake /f pc.mak >>> lmgrs.lib etc.

11. Edit C:\fnp_9.2.0.0_x86\machind\lm_code.h with the VN VK1 VK2 VK3 VK4 CK1 CK2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default LM_SEEDS to :

#define LM_SEED1 0x1234567A
#define LM_SEED2 0x8765432A
#define LM_SEED3 0xabcdef0A

12. Do the same for C:\fnp_9.2.0.0_x86\h\lm_code.h

13. Edit C:\fnp_9.2.0.0_x86\examples\vendor_info\lm_code.h with the VN VK1 VK2 VK3 VK4 ES1 ES2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default ENCRYPTION_SEEDS to :

#define ENCRYPTION_SEED1 0x8765432A
#define ENCRYPTION_SEED2 0x1234567A

14. Edit C:\fnp_9.2.0.0_x86\machind\fl_code.h with the VN VK1 VK2 VK3 VK4 ES1 ES2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default ENCRYPTION_SEEDS to :

#define ENCRYPTION_SEED1 0x8765432A
#define ENCRYPTION_SEED2 0x1234567A

15. Edit C:\fnp_9.2.0.0_x86\vendor\pc.mak if you are using your own Vendor_Name instead of "demo"
line 154 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c
line 181 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c
line 212 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c

16. CD C:\fnp_9.2.0.0_x86\utils
nmake /f pc.mak >>> Build Utils


******** If you change settings in the "lm_code.h" file then VSCP 2005 ********
CD C:\fnp_9.2.0.0_x86\utils
del *.obj
nmake /f pc.mak

******** CD C:\fnp_9.2.0.0_x86
cl makesetup.c
del makesetup.obj
MAKESETUP NONDEBUG i86_n3 STATIC RELEASE MT
setup.bat



Not clear for me !!!!!
Create and run vc.bat
nmake /f lmutil.mak gives me ERROR
They forgot to include the manuals !!!!

Having trouble with lmcrypt............

Does anyone have them ?
Programmers Guide would be a good start.





-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

sendersu 08-23-2022 14:56

>>nmake /f lmutil.mak gives me ERROR

what kind of error did you get, what is your dev env (OS, tools, etc)

Gede 08-26-2022 01:17

Hi,

System Windows 10 Pro 64-bit en
VS2005
VS2013
VS2019


After following the previous mentioned procedure lmcrypt.exe does not update my test lic files.

The option '/YX' error is a mistery as I could not find what this option does for nmake !!!

This is de link for the used SDK :

HTML Code:

https://mega.nz/file/xuZ03DrC#KZeq0EpbTijX7brlFWOdagKycKs0ATu1sN6Zxzz8wiI



Visual Studio 2005 Command Prompt_x86


Quote:

C:\fnp_9.2.0.0_x86 - Copy\utils>del *.obj

C:\fnp_9.2.0.0_x86 - Copy\utils>nmake /f pc.mak

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

[DEBUG]
[TEST VERSION]TRADLL
[STATIC]
[32 bit]
[/MT]
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lmrand1.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmrand1.c
link /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:lmrand1.pdb /out:lmrand1.exe lmrand1.obj oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib ..\src\lmgr.lib
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /Fdlmnewgen.pdb /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lmnewgen.c /Folmnewgen.obj
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmnewgen.c
cd ..\vendor
"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /f pc.mak lm_new.obj

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

[DEBUG]
[TEST VERSION]TRADLL
[STATIC]
[32 bit]
[/MT]
..\utils\lmrand1 -i ..\machind\lsvendor.c
..\utils\lmrand1 -filter_gen 0x23456789 0x3456789a 0x456789ab -q
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /c lmcode.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmcode.c
LINK /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:lm_new.pdb /out:lmnewgen.exe lmcode.obj ..\utils\lmnewgen.obj ..\src\..\src\lmgr.lib oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib
lmnewgen demo -o lm_new.c
v8.1+ FLEXlm, non-CRO
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /c lm_new.c /Folm_new.obj
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_new.c
cd ..\utils
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c ..\machind\makekey.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
makekey.c
link /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:makekey.pdb /out:makekey.exe makekey.obj ..\app\lmgras.lib ..\server\lmgrs.lib ..\src\lmgr.lib oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c ..\machind\lmcrypt.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmcrypt.c
link /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:lmcrypt.pdb /out:lmcrypt.exe lmcrypt.obj ..\app\lmgras.lib ..\server\lmgrs.lib ..\src\lmgr.lib oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_cksum.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_cksum.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_diag.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_diag.c
lm_diag.c(209) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
lm_diag.c(697) : warning C4133: 'function' : incompatible types - from 'fd_set *' to 'int *'
lm_diag.c(697) : warning C4133: 'function' : incompatible types - from 'fd_set *' to 'int *'
lm_diag.c(697) : warning C4133: 'function' : incompatible types - from 'fd_set *' to 'int *'
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_diag_ck.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_diag_ck.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_hostid.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_hostid.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_lic_info.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_lic_info.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_spec.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_spec.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_stat.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_stat.c
lm_stat.c(192) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
lm_stat.c(256) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
lm_stat.c(285) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
lm_stat.c(327) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_ver.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_ver.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_down.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_down.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_remov.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_remov.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_rerd.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_rerd.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_swr.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_swr.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lmborrow.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmborrow.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_path.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_path.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lmutil.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmutil.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_inst.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_inst.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lm_dll_ver.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lm_dll_ver.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c ..\src\flex_utils.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
flex_utils.c
rc lmutil.rc
link /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:lmutil.pdb /out:lmutil.exe lm_cksum.obj lm_diag.obj lm_diag_ck.obj lm_hostid.obj lm_lic_info.obj lm_spec.obj lm_stat.obj lm_ver.obj lm_down.obj lm_remov.obj lm_rerd.obj lm_swr.obj lmborrow.obj lm_path.obj lmutil.obj lm_inst.obj lm_dll_ver.obj ..\src\flex_utils.obj lmutil.res ..\app\lmgras.lib ..\server\lmgrs.lib ..\src\lmgr.lib oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I ..\patches /I ..\vendor /c lmkey.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
lmkey.c
c:\fnp_9.2.0.0_x86 - copy\utils\lmkey.c(309) : warning C4715: 'initialize' : not all control paths return a value
link /nologo /NOD /subsystem:console /machine:i386 /DEBUG /DEBUG /pdb:lmkey.pdb /out:lmkey.exe lmkey.obj ..\app\lmgras.lib ..\server\lmgrs.lib ..\src\lmgr.lib oldnames.lib ..\i86_n3\libcrvs.lib ..\i86_n3\libsb.lib wsock32.lib libcmtd.lib kernel32.lib user32.lib advapi32.lib netapi32.lib comctl32.lib gdi32.lib comdlg32.lib ..\src\libs\intel\spromeps.lib
copy lmutil.exe lmborrow.exe
1 file(s) copied.
copy lmutil.exe lmcksum.exe
1 file(s) copied.
copy lmutil.exe lmdiag.exe
1 file(s) copied.
copy lmutil.exe lmdown.exe
1 file(s) copied.
copy lmutil.exe lmhostid.exe
1 file(s) copied.
copy lmutil.exe lminstall.exe
1 file(s) copied.
copy lmutil.exe lmpath.exe
1 file(s) copied.
copy lmutil.exe lmremove.exe
1 file(s) copied.
copy lmutil.exe lmreread.exe
1 file(s) copied.
copy lmutil.exe lmswitchr.exe
1 file(s) copied.
copy lmutil.exe lmstat.exe
1 file(s) copied.
copy lmutil.exe lmswitch.exe
1 file(s) copied.
copy lmutil.exe lmver.exe
1 file(s) copied.
cd lmstrip
"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f pc.mak

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

[DEBUG]
[TEST VERSION]TRADLL
[STATIC]
[32 bit]
[/MT]
!--------------------------------------
! Done building
!--------------------------------------
cd ..
!--------------------------------------
! Done building utils
!--------------------------------------

C:\fnp_9.2.0.0_x86 - Copy\utils>








Quote:

C:\fnp_9.2.0.0_x86 - Copy\utils>nmake /f lmutil.mak

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

[Intel NT]
!--------------------------------------
! Building lmutil.exe
!--------------------------------------
cl /nologo /W2 /D"_CONSOLE" /D"PC" /D"WINNT" /YX /FpINTEL_REL\lmutil.pch /D"LM_INTERNAL" /FoINTEL_REL\ /MT /O1 /D "RELEASE_VERSION" /I . /I ..\h /I ..\machind /I ..\server /I ..\app /I C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\INCLUDE /I ..\patches /c lm_cksum.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
cl : Command line warning D9024 : unrecognized source file type 'Files', object file assumed
cl : Command line warning D9027 : source file 'Files' ignored
cl : Command line warning D9024 : unrecognized source file type '(x86)\Microsoft', object file assumed
cl : Command line warning D9027 : source file '(x86)\Microsoft' ignored
cl : Command line warning D9024 : unrecognized source file type 'Visual', object file assumed
cl : Command line warning D9027 : source file 'Visual' ignored
cl : Command line warning D9024 : unrecognized source file type 'Studio\Common\MSDev98\INCLUDE', object file assumed
cl : Command line warning D9027 : source file 'Studio\Common\MSDev98\INCLUDE' ignored
lm_cksum.c
C:\fnp_9.2.0.0_x86 - Copy\utils\lm_cksum.c : fatal error C1083: Cannot open compiler generated file: 'INTEL_REL\lm_cksum.obj': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x1'
Stop.

C:\fnp_9.2.0.0_x86 - Copy\utils>


-------------------------------------------
For Cooking one needs ingredients.:rolleyes:

avics 09-16-2022 18:38

Well, what happened at the end?

I looked at the CLR code of the program and I patched some bytes to bypass the lc_* calls.

It still asks for a license file/path but no checking is done any more after that.

alekine322 09-20-2022 00:00

very interesting what they are doing.
Until before version 11.4 of FlexLM, the process is the same as it exists in all the manuals.
In version 11.6 some things changed, I'm still studying.
I have questions:
1.- You found the seeds of your daemon vendor (mips)
did you follow the normal process to find it (is there a pdf file to do it)? If the answer is no, how did you do it?
2.- From your examples, I see that you know how to create the license depending on the BITS that the license uses.
But they all have SIGN=
There are some softwares that use SIGN2=
It would be nice if you tried

I will continue reading this post

Gede 08-30-2023 23:02

Any update ?
 
@sendersu

Hi,

Any update ?

sendersu 09-02-2023 00:35

Hi @Gede
if you are asking about 1 year old quesiton on " Building lmutil.exe"
then it's obvious - one of your include paths has got spaces in it, so you have to enclose it into quotes

this one -

/I C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\INCLUDE

Gede 09-02-2023 04:14

Tip
 
Hi@Sendersu

So easy to overlook.
Wil test it if I can find some time, to busy.


Any idea what this /YX option is for ?
Can not find any reference, no manual for this version.

FoxB 09-02-2023 12:40

Quote:

Originally Posted by Gede (Post 125827)
Hi,

System Windows 10 Pro 64-bit en
VS2005
VS2013
VS2019

The option '/YX' error is a mistery as I could not find what this option does for nmake !!!

VS2005 release 2005
VS2003 release 2003
VS6 release 1998

flexlm sdk v9.2 release 2003

so vs6 or VS2003 maybe have /YX

or maybe the developer bug =)
https://learn.microsoft.com/en-us/cpp/build/reference/y-precompiled-headers?view=msvc-170

some hint for you

sendersu 09-02-2023 17:04

/YX is very very old compiler switch
remove it and don't worry


---
/YX compiler option has been removed. Use /Yc (Create Precompiled Header File) or /Yu (Use Precompiled Header File) instead. If you remove /YX from your build configurations and replace it with nothing, it can result in faster builds.

sendersu 09-02-2023 17:28

Some compiler games
taget sys: W7, VS2019, your archive from mega

Quote:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>c:\Dev\VS2019\VC\Auxiliary\Build\vcvars32.bat
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.29
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'

c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>nmake /f pc.mak

Microsoft (R) Program Maintenance Utility Version 14.29.30151.0
Copyright (C) Microsoft Corporation. All rights reserved.

[DEBUG]
[TEST VERSION]TRADLL
[STATIC]
[32 bit]
[/MT]
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c
/Fplmgr.pch /Fdlmgr.pdb /c flexevent.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
flexevent.c
flexevent.c: fatal error C1051: program database file, 'c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src\lmgr.pdb', has an obsolete format, delete it and recompile
NMAKE : fatal error U1077: 'c:\Dev\VS2019\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\cl.EXE' : return code '0x2'
Stop.

c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>
c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>
c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>
c:\Dev\re\fnp_9.2.0.0_x86 - Copy\src>nmake /f pc.mak

Microsoft (R) Program Maintenance Utility Version 14.29.30151.0
Copyright (C) Microsoft Corporation. All rights reserved.

[DEBUG]
[TEST VERSION]TRADLL
[STATIC]
[32 bit]
[/MT]
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c
/Fplmgr.pch /Fdlmgr.pdb /c flexevent.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
flexevent.c
cl /nologo /W2 /D_CONSOLE /D"_x86_" /DPC /DWINNT /DFLEXLM_KITBUILD /DFLEX_STATIC /YX /DFLEX_STATIC_MT /DLM_INTERNAL /D_LMGR_WINDLL /MTd /Zi /I . /I ..\h /I ..\machind /I ..\patches /c
/Fplmgr.pch /Fdlmgr.pdb /c flex_file.c
cl : Command line warning D9002 : ignoring unknown option '/YX'
flex_file.c

next steps:
- removed pdb
- src/lmgrdll.mak - removed /YX inside it
- h\pc.mak - removed /YX as well



ran nmake /f pc.mak again - no any issues observed


All times are GMT +8. The time now is 00:43.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX