Socket
Socket
Sign inDemoInstall

pfwtool

Package Overview
Dependencies
65
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pfwtool

Pentax Firmware Decode Tool


Version published
Weekly downloads
5
Maintainers
1
Install size
1.65 MB
Created
Weekly downloads
 

Readme

Source

NPM version GPL-2 license Dependency Status

Pentax Firmware Decode Tool

This is a Pentax Firmware Decryption/Decompression tool, which is based on MooseV2's code, svenpeter42's code, and the decompress's patch made by bootcoder.

Made for the PHDK project.

Install

First you need to make sure you have installed Node.js, in case you haven't, here is how.

Installing pfwtool is very simple, just:

npm i pfwtool -g

Usage

To use this tool is straight forward:

pfwtool -i <in> -o <out>
  • <in> is the filename/path of the firmware from downloaded package, such as fwdc220b.bin, which is encrypted/compressed.

  • <out> is the output file name of the decrypted/decompressed firmware.

For other arguments, please check the --help arguments

$ pfwtool -h

Usage: pfwtool [options]

A command line tool to decrypt/decompress Pentax firmware

Options:

  -h, --help               output usage information
  -V, --version            output the version number
  -i, --input <filename>   Encrypted firmware filename (e.g. "fwdc226b.bin"). If no input filename is specified, the standard input will be used.
  -o, --output <filename>  Output decrypted filename. If no output file name is specified, the standard output will be used.
  -d, --debug [logfile]    Enable debug, log to file if the log filename is given, otherwise it will log to the console.

Keywords

FAQs

Last updated on 20 Jan 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc