Skip to content

Commit

Permalink
Indicate stdin when reading stegofile
Browse files Browse the repository at this point in the history
  • Loading branch information
RickdeJager committed Dec 1, 2020
1 parent 3d4b9e8 commit 510ec13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Cracker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@
Cracker::Cracker ()
{
VerboseMessage vrs ;
// get stegfile
vrs.setMessage (_("[v] Using stegofile \"%s\"."), Args.StgFn.getValue().c_str()) ;
// get stegofile
if (Args.StgFn.getValue() != "") {
vrs.setMessage (_("[v] Using stegofile \"%s\"."), Args.StgFn.getValue().c_str()) ;
} else {
vrs.setMessage (_("[v] Reading stegofile from stdin.")) ;
}
vrs.printMessage() ;

// get output file
Expand Down

0 comments on commit 510ec13

Please sign in to comment.