Bad-USB/RubberDucky(橡皮鸭)制作

 在一些黑客的影视作品中,会经常出现一个工具,黑客把它插进电脑,电脑就会自动执行代码。

它就是Bad-USB

下面是Bad-USB的制作简化教程

首先,你需要一个树莓派Pico,网上买10几块,如果国产的会更便宜,只要几块钱。

一、按住树莓派Pico的白色按钮,把它插上电脑

二、把这个复制到树莓派

三、把这个复制到树莓派lib

四、把这个复制到树莓派根目录

五、完成,拔出树莓派再插上看看效果吧

六、编辑dd文件创建自己的脚本

链接:https://pan.baidu.com/s/1q6LO1NJtPaBNVA7YFZyIpw?pwd=oko0 
提取码:oko0 

下面是Bad-USB的制作完整教程

1.克隆存储库以获取文件的本地副本。 git clone https://github.com/dbisu/pico-ducky.git
3.按住启动按钮,将设备插入 USB 端口。它将显示为名为 的可移动媒体设备。 RPI-RP2
4.将下载的文件复制到 Pico () 的根目录下。设备将重新启动,大约一秒钟后,它将以 . .uf2 RPI-RP2 CIRCUITPY
5. 在此处下载并将其解压缩到设备外部。 adafruit-circuitpython-bundle-8.x-mpy-YYYYMMDD.zip
6.导航到最近解压的文件夹,然后复制到 Raspberry Pi Pico 上的文件夹。 lib adafruit_hid lib
7.将 和 复制到 Raspberry Pi Pico 上的文件夹。 adafruit_debouncer.mpy adafruit_ticks.mpy lib
8.复制到 Pico 上的文件夹。 asyncio lib
9.复制到 Pico 上的文件夹。 adafruit_wsgi lib
10.从克隆复制到 Pico 的根目录。 boot.py
11.将 、 、 复制到 Pico 的根文件夹。 duckyinpython.py code.py webapp.py wsgiserver.py
12.仅适用于 Pico W在 Pico W 的根目录中创建文件。其中包含 Pico W 需要创建的 AP 名称和密码。 secrets.py
secrets = { 'ssid' : "BadAPName", 'password' : "badpassword" }
13. 在此处查找脚本或使用  Ducky Script 创建自己的脚本,并将其保存在 Pico 中。目前 pico-ducky 只支持 DuckyScript 1.0,不支持 3.0。 payload.dd
14.请注意,如果您的设备未处于 设置模式,设备将重新启动,半秒后,脚本将运行。
15.请注意:默认情况下,Pico W 不会显示为 USB 驱动器

Install and have your USB Rubber Ducky working in less than 5 minutes.

  1. Clone the repo to get a local copy of the files. git clone https://github.com/dbisu/pico-ducky.git

  2. Download CircuitPython for the Raspberry Pi Pico
    Download CircuitPython for the Raspberry Pi Pico W

  3. Plug the device into a USB port while holding the boot button. It will show up as a removable media device named .RPI-RP2

  4. Copy the downloaded file to the root of the Pico (). The device will reboot and after a second or so, it will reconnect as ..uf2RPI-RP2CIRCUITPY

  5. Download here and extract it outside the device.adafruit-circuitpython-bundle-8.x-mpy-YYYYMMDD.zip

  6. Navigate to in the recently extracted folder and copy to the folder on your Raspberry Pi Pico.libadafruit_hidlib

  7. Copy and to the folder on your Raspberry Pi Pico.adafruit_debouncer.mpyadafruit_ticks.mpylib

  8. Copy to the folder on your Pico.asynciolib

  9. Copy to the folder on your Pico.adafruit_wsgilib

  10. Copy from your clone to the root of your Pico.boot.py

  11. Copy , , , to the root folder of the Pico.duckyinpython.pycode.pywebapp.pywsgiserver.py

  12. For Pico W Only Create the file in the root of the Pico W. This contains the AP name and password to be created by the Pico W.secrets.py
    secrets = { 'ssid' : "BadAPName", 'password' : "badpassword" }

  13. Find a script here or create your own one using Ducky Script and save it as in the Pico. Currently, pico-ducky only supports DuckyScript 1.0, not 3.0.payload.dd

  14. Be careful, if your device isn't in setup mode, the device will reboot and after half a second, the script will run.

  15. Please note: by default Pico W will not show as a USB drive

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值