Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A message communication tool for OpenIMU, OpenRTK and other devices of Aceinna
There are 3 ways to run the tool
$ pip install -r requirements.txt
optional
). Because we try to support INS401 a new device from Aceinna. It would use 100BASE-T1 ethernet, and the data transfer is in low-level of network, so we need help of pcap api. Actually, we integrated scapy
in our project. The pcap api library is the dependency of scapy
. If you are using a INS401 device, please also install the library based on your platform.Platform | Libraray | Reference |
---|---|---|
Windows | npcap | https://scapy.readthedocs.io/en/latest/installation.html#windows |
Ubuntu | tcpdump | https://scapy.readthedocs.io/en/latest/installation.html#debian-ubuntu-fedora |
Mac | libpcap | https://scapy.readthedocs.io/en/latest/installation.html#mac-os-x |
Please use this way if you want to contribute the project.
$ python main.py
The executable will be generated in dist
folder.
$ pyinstaller build.spec
$ cd dist
$ ./ans-devices
$ pip install openimu
$ openimu
You can specify some arguments while run the tool
Arguments:
Name | Type | Default | Description |
---|---|---|---|
-i, --interface | String | 'default' | Value should be uart , eth , 100base-t1 |
-p, --port | Number | '8000' | Value should be an available port |
--device-type | String | 'auto' | Value should be one of IMU , RTK , DMU |
-b, --baudrate | String | None | Value should be a valid baudrate. The valid value should be one of 38400 , 57600 , 115200 , 230400 , 460800 |
-c, --com-port | String | 'auto' | Value should be a COM port |
--console-log | Boolean | False | Output log on console |
--debug | Boolean | False | Log debug information |
--with-data-log | Boolean | False | Contains internal data log (OpenIMU only) |
-s, --set-user-para | Boolean | False | Set uesr parameters (OpenRTK only) |
Link device to your pc or mac. The tool will auto detect the linked device by default.
Normally, python-openimu works as default mode. It will establish a websocket server, then exchange messages through the websocket protocol. And it should work with aceinna developers site, it allows user to do data monitor, configuration and firmware management.
You can specify the startup argument --cli
to switch to Command Line Mode. Command Line Mode helps you interact with device directly. And it also supply command to start a websocket server, so that you can use the full features of Default Mode.
Command Line Mode supports some commands for using, below is a list of commands description,
Show help menu. It would show a list of description for all supported commands.
$ help
Show information of connected device.
$ connect
Retrieve current value of specified parameter.
$ get param_name
Update the value of specified parameter. The value would be recoverd after device power off.
$ set param_name param_value
Save the configuration into EEPROM. The value would be permanently saved.
$ save
Log the device output data in path /data. It is not supported for OpenRTK, because OpenRTK device will automatically log data when it is connected.
$ record
Upgrade firmware from a specified path. The binary file should match with the device. This is a high risk command.
$ upgrade path/to/bin
Establish a websocket server.
$ server_start
Stop the websocket server. If there is websocket server runing, it has to stop it when you want to use other command.
$ stop
Quit from Command Line Mode
$ exit
Aceinna Device could be connected with your PC via UART or LAN. The supported interface is depended on the device type.
Device Type | Supported Protocols | Description |
---|---|---|
DMU | uart | |
OpenIMU | uart | |
OpenRTK | uart , eth | The startup argument -i eth is supported |
RTK330L | uart | |
INS401 | 100base-t1 | The startup argument -i 100base-t1 is supported |
There is a log parse tool integrated in. It could parse OpenRTK
, RTK330LA
, INS401
raw data log from data folder. Assgin parse
to start it.
Name | Type | Default | Description |
---|---|---|---|
-t | String | 'openrtk' | Switch work mode. Value should be one of openrtk ,rtkl ,ins401 |
-p | String | '.' | Value should be a valid path. It could be the container folder of log files |
-i | Number | 5 | INS kml rate(hz) |
Run from source code
$ python main.py parse
Work as execution file
$ ans-devices parse
Run from pip
$ openimu parse
Please refer to HISTORY.md
FAQs
Aceinna Navigation System Open Devices Library
We found that openimu demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.