This commit is contained in:
iceman1001 2022-02-13 12:19:06 +01:00
commit 549779d988
3 changed files with 5 additions and 5 deletions

View file

@ -337,7 +337,7 @@ local function main(args)
----------------------------------------------------- -----------------------------------------------------
-- START BRUTEFORCE WITH CONTINUOUSLY HEX NUMBERS -- -- START BRUTEFORCE WITH CONTINUOUSLY HEX NUMBERS --
----------------------------------------------------- -----------------------------------------------------
command = 'hf mfu i -k %08X' command = 'hf mfu info -k %08X'
msg('Bruteforcing NTAG Passwords\n\nStart value: '..start_id..'\nStop value : '..end_id..'\nDelay between tests: '..timeout..' ms') msg('Bruteforcing NTAG Passwords\n\nStart value: '..start_id..'\nStop value : '..end_id..'\nDelay between tests: '..timeout..' ms')
for hexvalue = start_id, end_id do for hexvalue = start_id, end_id do
if core.kbd_enter_pressed() then -- abort if key is pressed if core.kbd_enter_pressed() then -- abort if key is pressed
@ -409,7 +409,7 @@ local function main(args)
end end
end end
if skip_to_next == 0 then if skip_to_next == 0 then
command = 'hf mfu i -k %4s' command = 'hf mfu info -k %4s'
local cmd = string.format( command, password ) local cmd = string.format( command, password )
core.console(cmd) core.console(cmd)
if lines[counter] ~= password then -- show hex value (if not the password was a hex value already) if lines[counter] ~= password then -- show hex value (if not the password was a hex value already)

View file

@ -377,7 +377,7 @@ pm3 --> hf mfu info
Clone MIFARE Ultralight EV1 Sequence Clone MIFARE Ultralight EV1 Sequence
``` ```
pm3 --> hf mfu dump -k FFFFFFFF pm3 --> hf mfu dump -k FFFFFFFF
pm3 --> hf mfu eload -u -f hf-mfu-XXXX-dump.bin pm3 --> hf mfu eload -f hf-mfu-XXXX-dump.bin
pm3 --> hf mfu sim -t 7 pm3 --> hf mfu sim -t 7
``` ```

View file

@ -6,7 +6,7 @@
# #
# -samy kamkar 05/28/2017 # -samy kamkar 05/28/2017
# #
# hf mf eload --ul FILENAME_MINUS_EML # hf mf eload -f FILENAME_MINUS_EML
# hf 14a sim -t 7 -u UID # hf 14a sim -t 7 -u UID
# perl -lne 'chomp; s/\s+(\S+)$//;$f=$1;if($f=~s/-(\S+)//){$g=hex($1);}else{$g=hex($f)}$f=hex($f); for$m($f..$g){print "0x" . substr(unpack("H4",pack("n",$m)),1) ." => \"$_\","}' /tmp/game >> game2 # perl -lne 'chomp; s/\s+(\S+)$//;$f=$1;if($f=~s/-(\S+)//){$g=hex($1);}else{$g=hex($f)}$f=hex($f); for$m($f..$g){print "0x" . substr(unpack("H4",pack("n",$m)),1) ." => \"$_\","}' /tmp/game >> game2
@ -684,7 +684,7 @@ print STDERR "\n";
$uid = uc $uid; $uid = uc $uid;
#print STDERR "amiitool -d -k ../client/amiitool/key_retail.bin -i $input -o $input.decrypted\n"; #print STDERR "amiitool -d -k ../client/amiitool/key_retail.bin -i $input -o $input.decrypted\n";
$input =~ s/\....$//; $input =~ s/\....$//;
print STDERR "hf mfu eload --u $input\n"; print STDERR "hf mfu eload -f $input\n";
print STDERR "hf 14a sim -t 7 -u $uid\n"; print STDERR "hf 14a sim -t 7 -u $uid\n";