Thanks Thanks:  45
Page 1 of 2 12 LastLast
Showing results 1 to 10 of 11

Thread: HASP hasp_hl hasp srm dongle emulator source code

  1. #1
    VIP Member Reputation: 1169 hp3hp3's Avatar
    Join Date
    2010-01-02
    Location
    Ascom
    Posts
    1,017


    2 out of 2 members found this post helpful.

    Default HASP hasp_hl hasp srm dongle emulator source code

    To compile emulator:
    1. Change path in files "chk make.bat", "free make.bat" in
    this lines:
    set SRC_DRIVE=C:
    set SRC_PATH=22\bus
    set DDK_PATH=D:\WINDDK\2600.1106
    , where SRC_DRIVE - disk drive letter, where sources are located
    SRC_PATH - path to .\bus directory,
    DDK_PATH - path to Windows XP DDK directory.

    2. Execute
    "chk make.bat" for make debug build or
    "free make.bat" for make release build.

    3. For device driver installation execute
    "chk install.bat" to install debug build or
    "free install.bat" to install release build of driver.

    On run driver once scan registry key
    \Registry\MACHINE\System\CurrentControlSet\Services\Emulator\HASP\Dump
    , read dumps of all keys and create virtual USB-keys for each dump.
    For success execution of this phase you _need_ to have already
    Aladdin HASP device driver installed.

    4. For "unplug" all virtual USB-keys you can execute file
    "unplug all.bat", which call enum.exe to do this task.
    With help of last program you can not only "unplug" keys,
    but also "plug" it, see .\Controller\enum.exe /?.

    in the general case for rebuilding list of avalible USB-keys according
    to registry state you can restart driver (see p. 3) or use
    enum.exe utility (see p. 4).

    Emulator installation:
    1. To install emulator you need 3 files:
    .\Inf\vusbbus.cat
    .\Inf\vusbbus.inf
    .\Inf\VUsbBus.sys
    , منه VUsbBus.sys - compiled from sources driver.

    You can install this driver in two ways:
    1. First method:
    3.1. Run\Settings\Control panel\Device installation
    3.2. Yes, device is already connected
    3.3. Add new device
    3.4. Install device from list manually
    3.5. System devices
    3.6. Install from a disk...\Browse...
    3.7. Locate .\Inf directory, then "خê".

    2. Second method: add to .\Inf directory file devcon.exe
    and .bat-files with this content:
    Install.bat:
    @echo off
    devcon remove root\vusbbus
    devcon install vusbbus.inf root\vusbbus

    Remove.bat:
    @echo off
    devcon remove root\vusbbus
    Attached Files Attached Files

  2. Thanks kevin_h811, always4u, ANTRF, stilloboy, LWNeo, min2max, aykfc, ali_aaa thanked for this post
  3. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

  4. #2
    Member Reputation: 40
    Join Date
    2010-03-06
    Posts
    39


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    Sorry, why you write HASP SRM source code. This files are from 2004, and are floating around since a long time. At that time there dont even exist HaspSRM.
    Its the source code for HaspHL only.

  5. #3
    VIP Member Reputation: 1169 hp3hp3's Avatar
    Join Date
    2010-01-02
    Location
    Ascom
    Posts
    1,017


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    Quote Originally Posted by Lomex View Post
    Sorry, why you write HASP SRM source code. This files are from 2004, and are floating around since a long time. At that time there dont even exist HaspSRM.
    Its the source code for HaspHL only.
    Not much difference between srm emul and HL emul
    if you understanding this source code can use for srm
    ok

  6. #4
    Junior Member Reputation: 10
    Join Date
    2010-03-26
    Posts
    23


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    hp3hp3
    Can you explain us, how to make it?

  7. #5
    Member Reputation: 71
    Join Date
    2011-10-05
    Posts
    42


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    yeah, it is very useful if u share since it is now almost 3 years pass for hasp srm introduction
    please explain..........

  8. #6
    Member Reputation: 419
    Join Date
    2010-04-21
    Posts
    536


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    Quote Originally Posted by hp3hp3 View Post
    Not much difference between srm emul and HL emul
    if you understanding this source code can use for srm
    ok
    Dear hp3hp3,
    Please explain more.
    Thanks my friend

  9. #7
    Member Reputation: 323
    Join Date
    2010-08-30
    Location
    Earth
    Posts
    82


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    I have one question about this source code: Is there anyone who has checked if it works? Even just for HASP HL. I ask this because in the file EncDecSim.cpp exists this:
    #pragma warning(disable:4731)
    #pragma warning(disable:4102)
    extern "C" __declspec (naked) void __fastcall HashDWORD(DWORD *Data, BYTE *edStruct) {
    // Sorry, censored
    }
    #pragma warning(default:4102)
    #pragma warning(default:4731)
    That means it is not complete code. I am wrong?

  10. #8
    Moderator Reputation: 3584
    Join Date
    2008-01-20
    Location
    Earth
    Posts
    1,093


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    @narciszu

    'Original' source has everthing inside however was never mentioned to be posted freely on the internet.

  11. #9
    Member Reputation: 71
    Join Date
    2011-10-05
    Posts
    42


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    Quote Originally Posted by DCA View Post
    @narciszu

    'Original' source has everthing inside however was never mentioned to be posted freely on the internet.
    what does you means is above source code is correct for hasp srm emulation if can you explain thanks

  12. #10
    Member Reputation: 67
    Join Date
    2010-02-10
    Location
    https://t.me/pump_upp
    Posts
    197


    Default Re: HASP hasp_hl hasp srm dongle emulator source code

    Hi friend,
    Did you now haw to uninstall these virtual devices?
    Please show the following picture.
    Thanks in advance.



    Quote Originally Posted by hp3hp3 View Post
    To compile emulator:
    1. Change path in files "chk make.bat", "free make.bat" in
    this lines:
    set SRC_DRIVE=C:
    set SRC_PATH=22\bus
    set DDK_PATH=D:\WINDDK\2600.1106
    , where SRC_DRIVE - disk drive letter, where sources are located
    SRC_PATH - path to .\bus directory,
    DDK_PATH - path to Windows XP DDK directory.

    2. Execute
    "chk make.bat" for make debug build or
    "free make.bat" for make release build.

    3. For device driver installation execute
    "chk install.bat" to install debug build or
    "free install.bat" to install release build of driver.

    On run driver once scan registry key
    \Registry\MACHINE\System\CurrentControlSet\Services\Emulator\HASP\Dump
    , read dumps of all keys and create virtual USB-keys for each dump.
    For success execution of this phase you _need_ to have already
    Aladdin HASP device driver installed.

    4. For "unplug" all virtual USB-keys you can execute file
    "unplug all.bat", which call enum.exe to do this task.
    With help of last program you can not only "unplug" keys,
    but also "plug" it, see .\Controller\enum.exe /?.

    in the general case for rebuilding list of avalible USB-keys according
    to registry state you can restart driver (see p. 3) or use
    enum.exe utility (see p. 4).

    Emulator installation:
    1. To install emulator you need 3 files:
    .\Inf\vusbbus.cat
    .\Inf\vusbbus.inf
    .\Inf\VUsbBus.sys
    , منه VUsbBus.sys - compiled from sources driver.

    You can install this driver in two ways:
    1. First method:
    3.1. Run\Settings\Control panel\Device installation
    3.2. Yes, device is already connected
    3.3. Add new device
    3.4. Install device from list manually
    3.5. System devices
    3.6. Install from a disk...\Browse...
    3.7. Locate .\Inf directory, then "خê".

    2. Second method: add to .\Inf directory file devcon.exe
    and .bat-files with this content:
    Install.bat:
    @echo off
    devcon remove root\vusbbus
    devcon install vusbbus.inf root\vusbbus

    Remove.bat:
    @echo off
    devcon remove root\vusbbus
    Attached Images Attached Images

Bookmarks

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •