GithubHelp home page GithubHelp logo

wtxpwh / vusbbus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flashermedia/vusbbus

0.0 1.0 0.0 113 KB

virtual usb bus enumerator source code

License: GNU General Public License v3.0

C++ 15.98% C 83.41% Makefile 0.19% Batchfile 0.42%

vusbbus's Introduction

USB HASP key emulator, based on USB bus driver by Chingachguk, Denger2k, tch2000

This emulator and it sources are intended ONLY for legal use. Thus, legal emulation of protected program HASP keys according to the law is about to protect copyrights of the country in which you live or according the international agreements.

Any use of the given program, breaking copyrights or international agreements, is not lawful.

ALL CIVIL and the criminal LIABILITY FOR ILLEGAL USE OF EMULATOR AND IT SOURCES LAYS ONLY ON USER.

Authors of this program do not carry any responsibility for any actions of users concerning copyrights violation.

YOU MUST NOT DISTRIBUTE THE EMULATOR AS A COMPILED PROGRAM AND TURN IT'S USAGE TO YOUR ADVANTAGE.

If you are not sure concerning your rights, please contact your local legal adviser.


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.

  1. 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

vusbbus's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.