O.MG Cable: Difference between revisions
No edit summary |
m (RLibres moved page (Article title) to O.MG Cable) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
= O.MG Cable Guide = | = O.MG Cable Guide = | ||
Latest revision as of 18:07, 18 December 2024
O.MG Cable Guide
The O.MG Cable is a powerful penetration testing tool disguised as a regular USB cable. It is equipped with a Wi-Fi module that enables remote access and control, allowing users to execute payloads on connected devices. This guide provides instructions for flashing the firmware (both regular and advanced methods) and an example of using a payload.
Flashing the O.MG Cable Firmware
Regular Flashing Method
Requirements:
- O.MG Cable
- O.MG Cable Programmer
Steps:
Access the Web Flasher:
Navigate to the official web flasher at https://o-mg.github.io/WebFlasher/.
Follow the On-Screen Instructions:
The web interface will guide you through the flashing process, including detecting the cable and uploading the latest firmware.
1. Plug in the O.MG Programmer to your computer and connect the active end of the O.MG Device into the programmer, which is usually the USB-A end or whichever fits into the programmer
2. Press the "Connect" button and select the programmer from your browser.
3. Flash the device
If you encounter difficulties with the Web Flasher, use proceed to the advanced flashing method.
Advanced Flashing Method
Requirements:
O.MG Programmer
- Latest stable firmware zip file
- Python 3.7 or higher installed
- CP2102 driver (if not pre-installed) from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
- Python module pyserial (install via python3 -m pip install pyserial)
Steps:
Prepare the Programmer:
Plug the O.MG Programmer into your computer.
Connect the O.MG Cable to the programmer (for the USB-C to USB-C Directional Cable, plug in the end with the USB logo).
Download Firmware:
Obtain the latest stable firmware zip file from the official source.
Run the Flasher:
Open a terminal and navigate to the folder containing the flasher script.
Execute the command python3 ./flash.py or sudo python3 ./flash.py.
Follow the menu to configure Wi-Fi settings, perform a factory reset, or create backups as needed.
Finalize and Test:
Once flashing completes, unplug the cable from the programmer and connect the active end of the O.MG Cable to a USB port.
Wait a few moments for the services to start. Then, connect to the Web UI.
If using AP mode, ensure your device has received an IP address before connecting to 192.168.4.1.
Using the Cable
Access the Web UI
Connect to the wireless network:
Under your network, the O.MG network should show up. Connect to:
SSID: O.MG
Pass: 12345678
Program the Cable
Pick a payload from the hak5 payload library in GitHub or create your own. The payloads are written in DuckyScript.
Under "File Menu" make sure to toggle "Run on boot" to immediately activate the payload once the cable is plugged in. Click on "Build" and unplug the O.MG Cable.
The O.MG Cable is ready to be used.
