Generate SHA-1.
Based on https://github.com/cuihaoleo/gpg-fingerprint-filter-gpu
- Get CUDA and Python installed
- use
makeorbuild.sh(for non-root env) to buildshader1 python3 [extract.py](extract.py) your_pfx.pfx password114514to extract the DER file- run
./shader1 [pattern] [start_at] [stop_when] python3 [assemble.py](assemble.py) your_pfx.pfx password114514 output.pfx [64-bit-hash] [key name]
Modify found.py to trigger something when a match is found.
- Only matches beginning part of a string.
- A hex digit means itself.
- Other Latin alphabets (
gtoz) are to match any hex digit. {N}to repeat previous digit or group for N times.(PATTERN)a group pattern.- Use
|to split multiple patterns.
Examples:
deadbeefequals to regex^deadbeefx{8}equals to regex^([0-9a-f])\1{7}$(xy){4}equals to regex^([0-9a-f][0-9a-f])\1{3}xxxxa{4}equals to regex^([0-9a-f])\1{3}aaaa
start_at: a 32-bit number, 0-4294967295 to specify the starting lower-32bit
stop_when: stop when finding N matches, defaults to 1.
Use build_baidu.sh to build.
Use this link to get 57 free hours of V100 credits.