Based on crypto++.
sudo apt-get install libcrypto++-dev
Compile using "make"
make
The compile result looks like
g++ app.cpp -lcrypto++ -o app
g++ -c verifylicense.cpp -lcrypto++
g++ verify.cpp -lcrypto++ -o verify
Compile python runable file
cd python
pyinstaller -F getserial.py
use pip install pyinstaller
for install pyinstaller
coopy these file into LicenseMaker
app
verifylicense.o
verify
python/disk/getserial
python/anchor.cfg
FYI. anchor.cfg
content must be the volume name of USB Device, default is pocksensor
.
- run
license.sh
script
sh license.sh
all the file needed should be copy into LicenseManger folder
- run verify and check license manager
cd LicenseManger
./verify
if get ok
, license manager run successfully.
-
copy
LicenseManger
folder into usb device -
plugin the usb device into target computer, copy LicenseManger folder into the folder you needed, such as
~
, and give option permission togetserial
andverify
cp LicenseManger ~/
cd LicenseManger
chmod +x getserial
chmod +x veriff
check License manager and get ok
./verify
- use
verifylicense.o
as libarary