Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/wh00hw/pyflipper
Bluetooth SecurityIoT SecurityRFID/NFC ToolsWireless SecurityHardware HackingPenetration TestingUtilities & FrameworksHardware & IoT SecurityRed Teaming
GitHubwh00hw/pyflipper

pyFlipper

Flipper Zero Python CLI 래퍼

43849634개월 전Kitploit 검토 완료
공유
저장소 보기

PyFlipper

Flipper Zero Python CLI 래퍼

글

  • 레스토랑 해킹 방법

기능 및 특징:

  • Flipper 시리얼 CLI 래퍼
  • Websocket 클라이언트 인터페이스
  • 일반 TCP 인터페이스

새로운 기능 (펌웨어 1.x 호환성)

이번 릴리스는 래퍼를 현재 Flipper Zero CLI에 맞게 업데이트합니다 (실제 하드웨어, 펌웨어 unlshd-089e에서 검증됨):

  • 새로운 info 모듈: flipper.info.device_info() / power_info() / power_debug_info() (최신 info device / info power 명령어).
  • power info → info power: flipper.power.info()는 계속 작동하며 이제 내부적으로 info power를 읽습니다. flipper.power.otg_on()/otg_off() 추가됨.
  • date: flipper.date.datetime() 사용; 현재 출력 형식에 맞춰 파싱이 수정됨.
  • 저장소: 크기가 KB와 KiB 모두로 파싱되며, read()는 이제 여러 줄의 전체 파일 내용을 반환하고, exFAT / 빈 레이블 카드도 올바르게 파싱됩니다 (#21 수정).
  • 적외선: 프로토콜 목록을 펌웨어에서 실시간으로 읽어오므로 NECext, Kaseikyo, RCA, Pioneer, … 등이 자동으로 지원됩니다 (#15 수정). 새로운 flipper.ir.protocols().
  • debug → sysctl debug, **subghz tx/rx**에 device 인수가 필수로 추가됨, **bt hci_info**는 변경 없음.
  • NFC 재작성: 현재 대화형 하위 셸(scan, dump, emulate, field, apdu, raw, mfu)용으로, UID별 Mifare Classic 키 캐시 헬퍼(import_nfc_keys, write_key_cache) 포함.
  • 통합 시리얼 계층 (시리얼 / 웹소켓 / TCP)에 ANSI 이스케이프 처리 (현재 셸용) 및 하드웨어 없는 테스트 스위트 추가.
  • 기본 펌웨어에서 제거됨 (여전히 포함하는 커스텀 펌웨어용으로 유지): ps (→ top), music_player, nfc detect.

설정 방법:

$ pip install pyflipper

테스트 완료:

  • Python 3.8.10 on Linux 5.4.0 x86_64
  • Python 3.9.10 on Windows 10
  • Python 3.10.5 on Android 12 (Termux + OTGSerial2WebSocket NO ROOT REQUIRED)
  • Python 3.12 on Linux (firmware unlshd-089e)

사용법/예제

연결

from pyflipper import PyFlipper

# 로컬 시리얼 포트
flipper = PyFlipper(com="/dev/ttyACM0")

# 또는

# 원격 serial2websocket 서버
flipper = PyFlipper(ws="ws://192.168.1.5:1337")

# TCP
flipper = PyFlipper(tcp='192.168.89.222:22170')

전원

# 정보 (현재 펌웨어에서는 내부적으로 `info power`를 읽음)
info = flipper.power.info()

# 전원 끄기
flipper.power.off()

# 재부팅
flipper.power.reboot()

# DFU 모드로 재부팅
flipper.power.reboot2dfu()

# GPIO 헤더의 5V OTG 핀 토글
flipper.power.otg_on()
flipper.power.otg_off()

업데이트/백업

# .fuf 파일에서 업데이트 설치
flipper.update.install(fuf_file="/ext/update.fuf")

# Flipper를 .tar 파일로 백업
flipper.update.backup(dest_tar_file="/ext/backup.tar")

# 백업 .tar 파일에서 Flipper 복원
flipper.update.restore(bak_tar_file="/ext/backup.tar")

로더

# 설치된 앱 목록
apps = flipper.loader.list()

# 앱 열기
flipper.loader.open(app_name="Clock")

Flipper 정보

# Flipper 날짜 가져오기 (datetime 객체)
date = flipper.date.datetime()

# Flipper 타임스탬프 가져오기
timestamp = flipper.date.timestamp()

# 장치 정보 딕셔너리 가져오기 (현재 펌웨어 `info device`, 점으로 구분된 키)
device_info = flipper.info.device_info()

# 전원 정보 딕셔너리 가져오기 (현재 펌웨어 `info power`)
power_info = flipper.info.power_info()

# 확장 전원/게이지 디버그 정보
power_debug = flipper.info.power_debug_info()

# 레거시 `device_info` 명령어 (밑줄로 구분된 키, 계속 지원됨)
legacy_info = flipper.device_info.info()

# 힙 정보 딕셔너리 가져오기
heap = flipper.free.info()

# free_blocks 문자열 가져오기
free_blocks = flipper.free.blocks()

# 블루투스 정보 가져오기
bt_info = flipper.bt.info()

펌웨어 호환성. 이 라이브러리는 이제 현재 Flipper Zero CLI (펌웨어 1.x, Unleashed unlshd-089e에서 검증됨)를 대상으로 합니다. 몇 가지 레거시 명령어가 공식 펌웨어에서 제거되었으므로 더 이상 사용할 수 없습니다: ps (대화형 top으로 대체), music_player, nfc detect (NFC는 이제 대화형 하위 셸입니다). power info는 info power로 이동했고, debug는 sysctl debug로 이동했으며, storage는 이제 크기를 KiB 단위로 보고합니다 — 모두 위의 래퍼에서 투명하게 처리됩니다.

저장소

파일 시스템 정보

# 저장소 파일 시스템 정보 가져오기
ext_info = flipper.storage.info(fs="/ext")

탐색기

# 저장소 /ext 딕셔너리 가져오기
ext_list = flipper.storage.list(path="/ext")

# 저장소 /ext 트리 딕셔너리 가져오기
ext_tree = flipper.storage.tree(path="/ext")

# 파일 정보 가져오기
file_info = flipper.storage.stat(file="/ext/foo/bar.txt")

# 디렉토리 만들기
flipper.storage.mkdir(new_dir="/ext/foo")

파일

# 파일 읽기
plain_text = flipper.storage.read(file="/ext/foo/bar.txt")

# 파일 제거
flipper.storage.remove(file="/ext/foo/bar.txt")

# 파일 복사
flipper.storage.copy(src="/ext/foo/source.txt", dest="/ext/bar/destination.txt")

# 파일 이름 변경
flipper.storage.rename(file="/ext/foo/bar.txt", new_file="/ext/foo/rab.txt")

# MD5 해시 파일
md5_hash = flipper.storage.md5(file="/ext/foo/bar.txt")

# 한 번에 파일 쓰기
file = "/ext/bar.txt"

text = """There are many variations of passages of Lorem Ipsum available, 
but the majority have suffered alteration in some form, by injected humour, 
or randomised words which don't look even slightly believable. 
If you are going to use a passage of Lorem Ipsum, 
you need to be sure there isn't anything embarrassing hidden in the middle of text. 
"""

flipper.storage.write.file(path=file, text=text)

# 리스너를 사용하여 파일 쓰기
file = "/ext/foo.txt"

text_one = """There are many variations of passages of Lorem Ipsum available, 
but the majority have suffered alteration in some form, by injected humour, 
or randomised words which don't look even slightly believable. 
If you are going to use a passage of Lorem Ipsum, 
you need to be sure there isn't anything embarrassing hidden in the middle of text. 
"""

flipper.storage.write.start(file)

time.sleep(2)

flipper.storage.write.send(text_one)

text_two = """All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as 
necessary, making this the first true generator on the Internet.
 It uses a dictionary of over 200 Latin words, combined with a handful of 
 model sentence structures, to generate Lorem Ipsum which looks reasonable. 
The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.
"""
flipper.storage.write.send(text_two)

time.sleep(3)

# 중지를 잊지 마세요
flipper.storage.write.stop()

LED/백라이트

# 일반 LED 설정 켜기 (r,b,g,bl)
flipper.led.set(led='r', value=255)

# 파란 LED 끄기
flipper.led.blue(value=0)

# 녹색 LED 값 설정
flipper.led.green(value=175)

# 백라이트 켜기
flipper.led.backlight_on()

# 백라이트 끄기
flipper.led.backlight_off()

# LED 끄기
flipper.led.off()

진동

# 진동 True 또는 False 설정
flipper.vibro.set(True)

# 진동 켜기
flipper.vibro.on()

# 진동 끄기
flipper.vibro.off()

GPIO

# GPIO 모드 설정: 0 - 입력, 1 - 출력
flipper.gpio.mode(pin_name=PIN_NAME, value=1)

# GPIO 핀 값 설정: 0 - 꺼짐, 1 - 켜짐
flipper.gpio.set(pin_name=PIN_NAME, value=1)

# GPIO 핀 값 읽기
flipper.gpio.read(pin_name=PIN_NAME)

MusicPlayer

⚠️ 공식 펌웨어에서 제거됨. music_player CLI 명령어가 기본 펌웨어에서 제거되었습니다 (이제 앱은 별도의 .fap입니다). 이 호출은 명령어를 유지하는 커스텀 펌웨어(예: Unleashed / RogueMaster 빌드)에서 여전히 작동합니다. 기본 펌웨어에서는 "명령어를 찾을 수 없음" 응답을 반환합니다.

# RTTTL 형식으로 노래 재생
rttl_song = "Littleroot Town - Pokemon:d=4,o=5,b=100:8c5,8f5,8g5,4a5,8p,8g5,8a5,8g5,8a5,8a#5,8p,4c6,8d6,8a5,8g5,8a5,8c#6,4d6,4e6,4d6,8a5,8g5,8f5,8e5,8f5,8a5,4d6,8d5,8e5,2f5,8c6,8a#5,8a#5,8a5,2f5,8d6,8a5,8a5,8g5,2f5,8p,8f5,8d5,8f5,8e5,4e5,8f5,8g5"

# 반복 재생
flipper.music_player.play(rtttl_code=rttl_song)

# 반복 중지
flipper.music_player.stop()

# 20초 동안 재생
flipper.music_player.play(rtttl_code=rttl_song, duration=20)

# 비프음
flipper.music_player.beep()

# 5초 동안 비프음
flipper.music_player.beep(duration=5)

NFC

현재 펌웨어에서 NFC는 대화형 하위 셸입니다 (scanner, dump, emulate, field, apdu, raw, mfu). 이 래퍼는 하위 셸에 진입하여 하나의 명령어를 실행하고 다시 빠져나오므로 각 메서드는 일반적인 블로킹 호출입니다. detect()는 scan()의 별칭으로 유지됩니다.

# 태그 유형 감지 -> {'protocols': ['Mifare Classic'], 'raw': '...'} 또는 None
tag = flipper.nfc.scan(timeout=5)

# NFC 필드를 몇 초 동안 켜기
flipper.nfc.field(timeout=3)

# APDU 전송 (ISO14443-4 / ISO15693-3); 생략 시 프로토콜 자동 감지
resp = flipper.nfc.apdu(["00A4 04 00", "A0 00"], protocol="14_4a")

# CRC가 추가된 원시 바이트 전송
flipper.nfc.raw("93 20", protocol="14a", crc=True)
도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    708
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    500
  • 3

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    398
  • 4

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    341
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI 네이티브 사이버보안을 위한 행동 체계—의도가 통제된 실행이 되고, 증거가 운영 메모리가 되며, 모든 운영이 다음 운영을 개선하는 곳.

    259
  • 6

    antifox

    antifox-ai/antifox

    정찰, 공격 표면 탐색, 익스플로잇 검증, 증거 기반 보고서 전달을 수행하는 AI 멀티 에이전트 자율 침투 테스트 플랫폼입니다.

    257

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →