Skip to content

Commit

Permalink
Final touches to README, made available for --seed
Browse files Browse the repository at this point in the history
  • Loading branch information
RickdeJager committed Dec 28, 2020
1 parent f50a3a7 commit ca5dd78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ I picked the last password in `rockyou.txt` without control characters: "␣␣
This password is on line `14344383` out of `14344391`

```
time stegseek 7spaces1.jpg rockyou.txt
> time stegseek 7spaces1.jpg rockyou.txt
StegSeek version 0.5
Progress: 95.21% (133213740 bytes)
Expand Down Expand Up @@ -149,7 +149,11 @@ To test the performance of of other tools, I created several stego files with di

<details><summary>(click here for fine-tuned performance)</summary>
<p>
In the first four examples, half of the time is spent syncing metrics between threads and displaying them. In quiet mode, StegSeek's numbers are `[0.022s, 0.022s, 0.022s, 0.022s, 1.45s]`.

In the first four examples, half of the time is spent syncing metrics between threads and displaying them. In quiet mode, StegSeek's numbers are:
```
[0.022s, 0.022s, 0.022s, 0.022s, 1.45s]
```
</p>
</details>

Expand Down
4 changes: 2 additions & 2 deletions src/Arguments.cc
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ bool Arguments::parse_Threading (ArgIt& curarg)
bool found = false ;

if (*curarg == "-t" || *curarg == "--threads") {
if (Command.getValue() != CRACK) {
throw ArgError (_("the argument \"%s\" can only be used with the \"%s\" command."), curarg->c_str(), "crack") ;
if (Command.getValue() != CRACK && Command.getValue() != SEED_CRACK) {
throw ArgError (_("the argument \"%s\" can only be used with the \"%s\" and \"%s\" commands."), curarg->c_str(), "crack", "seed") ;
}

if (Threads.is_set()) {
Expand Down

0 comments on commit ca5dd78

Please sign in to comment.