Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This python library enables the decompression of *.dbc
files commonly found on Brazil's DATASUS FTP server into *.dbf
files.
This is a python bindings of the sibling library datasus-dbc, written in rust. Because of that, this library should be compatible with most platforms.
pip install datasus-dbc
*.dbc
file into a *.dbf
, use the decompress
function:import datasus_dbc
datasus_dbc.decompress("input.dbc", "output.dbf")
*.dbc
file, you can use decompress_bytes
function to obtain the decompressed *.dbf
raw bytes in memory:import datasus_dbc
with open("input.dbc", "rb") as file:
dbf_bytes = datasus_dbc.decompress_bytes(file.read())
print(dbf_bytes)
This library does not support reading the contents of a *.dbf
file. However, you can still use one of the following libraries: simpledbf or dbfread.
If you encounter a bug or have a feature request, please feel free to create an issue on our GitHub repository. We welcome your feedback!
FAQs
Decompress DATASUS's dbc files into dbf files
We found that datasus-dbc 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.