A Command line interface for ACTIONPRO X7 to configure the WiFi settings from the command line. https://goatpr0n.farm/2021/08/reversing-an-eol-action-camera-usb-scsi-direct-access/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jpk ed3af6a905
continuous-integration/drone/push Build is passing Details
Updated pipeline
3 weeks ago
.drone.yml Updated pipeline 3 weeks ago
.gitignore Inital Commit 1 year ago
LICENSE Initial commit 1 year ago
Makefile Inital Commit 1 year ago
README.md updated README [CI SKIP] 3 weeks ago
config.def.h Inital Commit 1 year ago
config.mk Inital Commit 1 year ago
main.c Updated version number 1 year ago
usbms.c Using uint8_t for buffers instead of char 1 year ago
usbms.h Using uint8_t for buffers instead of char 1 year ago
xusb.c Inital Commit 1 year ago
xusb.h Inital Commit 1 year ago

README.md

Actionpro-cli

A Command line interface for ACTIONPRO X7 to configure the WiFi settings from the command line.

The ACTIONPRO X7 was produced by CI IMAGEWEAR GmbH and is by now end of life and now longer supported. There was a Windows program called Action Manager, which allowed Windows users to configure their action camera, or reset the credetials, if the credentials were forgotten.

This project uses parts of the xusb.c example program provided by the libusb project.

This program is a result of my work on reverse engineering the Action Manager, the write up of this project can be found on goatpr0n.farm.

Build Status

Build Status

Requirements

Libraries:

  • libusb-1.0

To access usb devices, root access is often required.

Compiling

$ make config.h
$ $EDITOR config.h
$ make

Config Options

Adjust settings in config.h before running make to apply changes.

The file config.h is created when running make, or by explicitly running make config.h. If the file config.h does not exist while running make, the defaults are copied from config.def.h.

Options

  • RETRY_MAX (Default 5) - Number of retries for sending a mass storage command.

Options

Usage: ./actionpro [OPTION]
  -C, --config-file=FILE     use this user configuration file
  -h, --help                 give this help list
  -p, --password=PASSWORD    sets the access point authentication PASSWORD
  -s, --ssid=SSID            sets the access point SSID
  -t, --time                 synchronize the camera time
  -v, --version              display version number

Executing

To update the SSID to "newssid" and set the access point password of the cameras access to "newpassword":

$ ./actionpro -s newssid -p newpassword