I am trying to make a bash cript to bruteforce attack an android oem bootloader key to unlock the fastboot. I made this script
#!/usr/bin/zsh
setopt c_bases
typeset -i 16 num
for num in $( seq $((0x10000000000000)) 1 $((0xffffffffffffff)) ); do
echo "$num"
fastboot oem unlock $num
done
but i have problems because iif i try to execute it i run out of ram. Is there any way to make an incremental script like this without running out of memory? Thanks a lot