2
0

Fixed type of level 3 attacker.

[FIXED]     Type of level 3 attacker was string instead of integer.
This commit is contained in:
Maarten Billemont 2014-10-13 23:39:07 -04:00
parent 543ebd4bac
commit e981df3c8b
2 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@
TimeToCrack timeToCrack;
NSString *timeToCrackString = nil;
id<MPAlgorithm> algorithm = site.algorithm?: MPAlgorithmDefault;
MPAttacker attackHardware = [[MPConfig get].siteAttacker unsignedIntegerValue];
MPAttacker attackHardware = [[MPConfig get].siteAttacker integerValue];
if ([algorithm timeToCrack:&timeToCrack passwordOfType:site.type byAttacker:attackHardware] ||
[algorithm timeToCrack:&timeToCrack passwordString:password byAttacker:attackHardware])
timeToCrackString = NSStringFromTimeToCrack( timeToCrack );

View File

@ -126,7 +126,7 @@ To see a site&apos;s password anyway, tap and hold your finger down for a while
<integer>0</integer>
<integer>1</integer>
<integer>2</integer>
<string>3</string>
<integer>3</integer>
</array>
</dict>
<dict>