gpioblink / ebpf-usb-inspector

This is a tool for USB ManInTheMiddle using eBPF. eBPFを使って、USBにMan-In-The-Middleできるツールを開発中です

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ebpf-usb-inspector

This is a tool for USB ManInTheMiddle using eBPF.

eBPFを使って、USBのManInTheMiddleをするためのツールです。

How to Use 使用方法

Please execute $sudo python3 bccusb.py.

Before your execusion, please open the source code and change vendorId to your kerboard. (Edit the line # change this id to your USB device.)

$sudo python3 bccusb.pyを実行するだけ。

中身開いて、# change this id to your USB deviceの部分のvendorIdを取得したいUSBデバイスのものに変えてお使いください。

How to Use (For Keyboard HID) 使用方法(キーボード用)

For the keyboard, we also created a tool that displays the value of keys pressed.

Please run $sudo python3 bcckeyboard.py.

キーボード用に、押したキーの値が表示されたりするツールも作りました。 $sudo python3 bcckeyboard.pyを実行してください。

使用方法(旧: こちらは正しく動作しません This section is outdated.)

$ sudo bpftrace usb-bw.bするだけ

参考: https://blog.habets.se/2020/08/Measuring-USB-with-bpftrace.html

About

This is a tool for USB ManInTheMiddle using eBPF. eBPFを使って、USBにMan-In-The-Middleできるツールを開発中です


Languages

Language:Python 90.9%Language:Limbo 9.1%