Browse Source

Fix glaring oversight.

tags/v0.4.2
Thomas Kerber 3 years ago
parent
commit
79067e85b1
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      Cargo.lock
  2. +1
    -1
      Cargo.toml
  3. +1
    -0
      src/extract.rs

+ 1
- 1
Cargo.lock View File

@@ -1,6 +1,6 @@
[root]
name = "troll"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",

+ 1
- 1
Cargo.toml View File

@@ -1,6 +1,6 @@
[package]
name = "troll"
version = "0.4.1"
version = "0.4.2"
authors = ["Thomas Kerber <thomas@tkerber.org>"]

[dependencies]

+ 1
- 0
src/extract.rs View File

@@ -206,6 +206,7 @@ pub fn main(args: Vec<String>) {
let mut opts = Options::new();
opts.optopt("p", "pin", "sets the verify apdu pin in hex, with the first byte being the PIN id. (e.g. 813132333435 corresponds to the APDU 00200081053132333435)", "PIN");
opts.optopt("c", "cla", "sets the cla byte to use when extracting files. Specified as a single hex byte.", "CLA");
opts.optopt("", "apdumap", "specifies rules to rewrite apdus. Rules are comma sperated, and have the for '<ORIG CLA><ORIG INS>-><NEW CLA><NEW INS>'. Example: --apdumap 00a4->3030,00b0->3031", "RULES");
opts.optopt("r", "reader", "specifies the reader to use. Uses the first reader with the given string as part of its name.", "READER");
opts.optflag("h", "help", "prints this help text");
opts.optflag("", "data-each-file", "Try to access every data element for each file.");

Loading…
Cancel
Save