Coder Social home page Coder Social logo

usbhasp's Introduction

UsbHasp

Research of usb hasp protection in Linux environment. There are more or less successful projects studying Usb Hasp in Windows. There are even various emulators demonstrating software upproach of applications protection.

This project is about Usb hasp emulator on Linux. In particular on Debian based platforms.

Emulator consists of several parts:

  • usb-vhci driver - http://sourceforge.net/projects/usb-vhci/, http://sourceforge.net/p/usb-vhci/wiki/Home/. Original usb-vhci requires some modifications to work in modern kernels. I won't provide any patch, whoever is interested and qualified enough can fix sources.

  • usb hasp emulator daemon - this project.

  • Sentinel hasp drivers - easy to find and download.

  • and optional hasplm daemon for network keys support - same thing, easy to google and get

I'd like to say that my project is based on many works and pieces of code developed for Windows of various versions. I thank all of you who shared their code. Now it's my turn.

Dependencies: usb_vhci-1.5 library, jansson-2.10 library.

usbhasp's People

Contributors

sam88651 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbhasp's Issues

1с falls when testing and repair database

The hasp drivers do not affect, the tests were on a clean ubuntu, key was forwarded using usb redirector to windows machine, hasp drivers installed correctly. no error messages in logs.
but server key work fine.
image
image
lsusb
Bus 002 Device 003: ID 0529:0001 Aladdin Knowledge Systems HASP copy protection dongle
Bus 002 Device 002: ID 0529:0001 Aladdin Knowledge Systems HASP copy protection dongle
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

uname -a

Linux hsrv 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

dmesg

[ 13.631418] tusbd: usbd_stub_reset: trying to reset device vid 80ee pid 0021
[ 13.744693] usb 2-2: new full-speed USB device number 3 using usb_vhci_hcd
[ 13.876365] usb 1-1: reset full-speed USB device number 2 using ohci-pci
[ 13.892850] usb 2-2: New USB device found, idVendor=0529, idProduct=0001
[ 13.892853] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 13.892856] usb 2-2: Manufacturer: HASP HL 3.25
[ 14.187392] tusbd: usbd_stub_reset: usb_reset_device returned 0

so the problem with UDP and hasplm can be eliminated.

Question

Do you any idea to KEY_FN_READ_26 & KEY_FN_READ_A6 ?

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.