
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
acd-tools
Advanced tools
The Rockwell ACD file is an archive file that contains all the files that are used by RSLogix/Studio 5000.
It consists of a number of text files containing version information, compressed XML files containing project and tag information as well as a number of database files.
This library allows you to unzip all the files and extract information from these files.
To install acd tools from pypi run
pip install acd-tools
To get the Controller object and get the program/routines/rungs/tags/datatypes, use something like this
from acd.api import ImportProjectFromFile
controller = ImportProjectFromFile("../resources/CuteLogix.ACD").import_project().controller
rung = controller.programs[0].routines[0].rungs[0]
data_type = controller.data_types[-1]
tag_name = controller.tags[75].text
tag_data_type = controller.tags[75].data_type
To extract the file use the acd.api.ExtractAcdDatabase class. This extracts the database files to a directory.
from acd.api import ExtractAcdDatabase
ExtractAcdDatabase('CuteLogix.ACD', 'output_directory').extract()
A select number of database files contain interesting information. This will save each database record to a file to make it easier to see whats in them.
from acd.api import ExtractAcdDatabaseRecordsToFiles
ExtractAcdDatabaseRecordsToFiles('CuteLogix.ACD', 'output_directory').extract()
The Comps database contains a lot of information and can be export as a directory structure to make it easier to look at. It will also extract the CIP class and instance and write it to the log file.
from acd.api import DumpCompsRecordsToFile
DumpCompsRecordsToFile('CuteLogix.ACD', 'output_directory').extract()
This hasn't been started but could be feasible eventually.
FAQs
Rockwell ACD File Tools
We found that acd-tools 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
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.