soxoj / 1c-database-converter

Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1C database converter

1C is a very popular program in CIS countries for storing data in enterprises (accounting, document management, etc.).

The purpose of this tool is to extact and export to CSV content of 1CD and other 1C files.

Attention! Not all content can be converted to text. Use 1C official software to explore binary data.

Usage

$ python3 -m onec_database_converter <file>

# or simply

$ onec_database_converter <file>

# or locally without installing

$ ./run.py <file>

Specify files one or more times:

$ onec_database_converter conf.cf 8-2-14.1CD
Target: conf.cf
Results found: 1
1) Out Dir: conf.cf_unpack
File Type: container
Status: Exported content of container file

------------------------------
Target: 8-2-14.1CD
Results found: 1
1) Out Dir: 8-2-14.1CD_csv
File Type: 1CD
Status: Exported content of 1CD file

------------------------------
Total found: 2

Or use a file with files list:

$ onec_database_converter --target-list files.txt

Or combine tool with other through input/output pipelining:

$ cat list.txt | onec_database_converter --targets-from-stdin

Installation

Make sure you have Python3 and pip installed.

Manually
  1. Clone or download respository
$ git clone https://github.com/soxoj/osint-cli-tool-skeleton
  1. Install dependencies
$ pip3 install -r requirements.txt
As a the package

You can clone/download repo and install it from the directory to use as a Python package.

$ pip3 install .

Also you can install it from the PyPI registry:

$ pip3 install https://github.com/soxoj/osint-cli-tool-skeleton

About

Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV

License:MIT License


Languages

Language:Python 97.0%Language:Makefile 3.0%