Skip to main content

🖕⌨️ fuckvkeypad

Code style: black Lint codecov

금융, 정부 웹사이트등에 널리 쓰이는 보안 프로그램인 가상키보드(vKeyboard)를 우회합니다

미리 캡쳐된 이미지와 유사도를 분석하는 방식으로 우회가 이루어집니다

vKeypad1 vKeypad2

사용 방법

vKeypad-Studio

사용 방법 영상 - YouTube

  1. 가상키보드 이미지를 준비합니다
  2. Figma에서 가상 키보드 이미지를 업로드 합니다
  3. Figma에서 사각형으로 가상 키보드 각각의 키를 덮어줍니다
  4. Figma에서 svg 파일로 Export 합니다
  5. 터미널에서 vkeypad-studio [이미지 파일] [svg 파일] 을 입력합니다
  6. 새로 뜬 창에서, 이미지에 해당되는 키보드 키를 눌러줍니다
  7. assets 폴더 속 사진들과, data.json을 따로 보관 해둡니다

fuckvkeypad

설치

pip install fuckvkeypad

예제

assets의 폴더 위치와, data.json 위치를 매개변수로 넘겨줍니다

import cv2
from fuckvkeypad import get_keymap

img = cv2.imread("test_assets/vKeypad.png")
keymap = get_keymap(
    img, asset_path="test_assets/", data_path="test_assets/data.json"
)

print(keymap)

바운딩 박스의 좌표와 키코드를 순서대로 출력합니다

[
  {"box": [0, 0, 55, 55], "key_code": 49},
  {"box": [58, 0, 113, 55], "key_code": 50},
  {"box": [116, 0, 171, 55], "key_code": 51},
  {"box": [0, 58, 55, 113], "key_code": 52},
  {"box": [58, 58, 113, 113], "key_code": 53},
  {"box": [116, 58, 171, 113], "key_code": 54},
  {"box": [0, 116, 55, 171], "key_code": 55},
  {"box": [58, 116, 113, 171], "key_code": 56},
  {"box": [116, 116, 171, 171], "key_code": 57},
  {"box": [58, 174, 113, 229], "key_code": 48},
]

Special Thanks

이 라이브러리는simple_bank_korea에서 영감을 받아 제작하였습니다

Metadata

Release files for fuckvkeypad 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fuckvkeypad 0.2.0
File Size Uploaded
fuckvkeypad-0.2.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fuckvkeypad 0.2.0
File Interpreter ABI Platform
fuckvkeypad-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / fuckvkeypad-0.2.0.tar.gz

Download URL fuckvkeypad-0.2.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
45219b2e168731f7eab976756ab9d31a9f02d148b444d571947245ca4867cebd
BLAKE2b-256 checksum
How to use checksums
ec1cecb6955a3c96d9a2a1baf64bb3374b6b97edf19131673f6b86b2693c26ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release files / fuckvkeypad-0.2.0-py3-none-any.whl

Download URL fuckvkeypad-0.2.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
607a1032a9ba7c98a57e8b714eecbee4c463efb721baee897e0fd5ecab7f8f00
BLAKE2b-256 checksum
How to use checksums
a84548a3ea5ab9a3ac472c3ea6a70bd4914846478ab697bae3806b9926032254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page