add replace prints by logs
This commit is contained in:
parent
0e2bb5fe2d
commit
4b4ef6032d
4 changed files with 21 additions and 14 deletions
|
|
@ -1,10 +1,11 @@
|
|||
//use apk_frauder::ZipFileReader;
|
||||
use apk_frauder::ZipFileReader;
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::fs::File;
|
||||
use std::io::Cursor;
|
||||
|
||||
fn main() {
|
||||
/*
|
||||
apk_frauder::replace_dex(
|
||||
"app-release.apk",
|
||||
"app-instrumented.apk",
|
||||
|
|
@ -19,5 +20,8 @@ fn main() {
|
|||
env::var("HOME").expect("$HOME not set")
|
||||
)),
|
||||
None::<HashMap<String, Option<Cursor<&[u8]>>>>,
|
||||
);
|
||||
);*/
|
||||
let file = File::open("zagruski.apk").unwrap();
|
||||
let reader = ZipFileReader::new(file);
|
||||
println!("{:#?}", &reader.files[..2]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue