Skip to content

Commit

Permalink
Update SmokeCrack.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAdF committed Feb 12, 2024
1 parent c1f862c commit f7c4342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SmokeCrack/SmokeCrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function getInputValues(): void {
'fb:d4:31:c:38:e8-192.168.0.205': [5, 18, 14], //Medium
'71:21:e3:ea:f6:d0-192.168.0.179': [4, 19, 16], //Hard
};
const macInputValue: string = macInput?.value.toLowerCase() ?? '';
const ipInputValue: string = ipInput?.value ?? '';
const macInputValue: string = macInput?.value.toLowerCase().trim() ?? '';
const ipInputValue: string = ipInput?.value.trim() ?? '';

if (macIpCombs[`${macInputValue}-${ipInputValue}`]) {
[secondsRemaining, maxChars, minChars] = macIpCombs[`${macInputValue}-${ipInputValue}`];
Expand Down

0 comments on commit f7c4342

Please sign in to comment.