https://github.com/soxoj/1c-database-converter
Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV
https://github.com/soxoj/1c-database-converter
Last synced: 8 months ago
JSON representation
Converts binary files of 1C (1CD, cf, epf, efd, etc.) to grepable CSV
- Host: GitHub
- URL: https://github.com/soxoj/1c-database-converter
- Owner: soxoj
- License: mit
- Created: 2022-04-28T20:36:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T18:43:56.000Z (almost 2 years ago)
- Last Synced: 2025-04-06T04:12:06.801Z (8 months ago)
- Language: Python
- Size: 38.1 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- osint_stuff_tool_collection - 1C Database Converter
README
# 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](https://online.1c.ru/catalog/programs/program/18610119/) to explore binary data.
## Usage
```sh
$ python3 -m onec_database_converter
# or simply
$ onec_database_converter
# or locally without installing
$ ./run.py
```
Specify files one or more times:
```sh
$ 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:
```sh
$ onec_database_converter --target-list files.txt
```
Or combine tool with other through input/output pipelining:
```sh
$ cat list.txt | onec_database_converter --targets-from-stdin
```
## Installation
Make sure you have Python3 and pip installed.
Manually
1. Clone or [download](https://github.com/soxoj/osint-cli-tool-skeleton/archive/refs/heads/main.zip) respository
```sh
$ git clone https://github.com/soxoj/osint-cli-tool-skeleton
```
2. Install dependencies
```sh
$ 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.
```sh
$ pip3 install .
```
Also you can install it from the PyPI registry:
```sh
$ pip3 install https://github.com/soxoj/osint-cli-tool-skeleton
```