Skip to content

Commit

Permalink
Add Easy Flasher
Browse files Browse the repository at this point in the history
  • Loading branch information
exploitagency committed Sep 21, 2016
1 parent f963ced commit 335f390
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 149 deletions.
116 changes: 116 additions & 0 deletions flash-util/windows/Easy Flasher.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
@echo off
cls
echo Flash utility inspired by aspers.
echo -
echo Easy Flasher
echo Written by:
echo www.legacysecuritygroup.com
echo www.exploit.agency
echo -
echo Find the com port that your proxmark3 is connected to.
echo Settings -^> Devices -^> Connected Devices
echo or Windows Key X ^+ Device Manager -^> Ports ^(COM ^& LPT^)
echo -
set /P comnumber=Enter the com port that your proxmark3 is connected to:
echo You entered: COM%comnumber%
pause

:MENU
cls
echo -
echo Main Menu:
echo -
echo ^(1^)Shows list of bootrom.elf files to flash
echo ^(2^)Shows list of fullimage.elf files to flash
echo ^(3^)Exit the Script
echo -
SET /P Menu=Type 1, 2, or 3 then press ENTER:
IF %Menu%==1 GOTO BOOTROM
IF %Menu%==2 GOTO FULLIMAGE
IF %Menu%==3 GOTO:EOF

:BOOTROM
cls
echo -
echo Select a bootrom:
echo -
echo ^(1^)Stock v2.5 HF Standalone bootrom
echo "stock-HF-emulator-firmware-v2.5\bootrom.elf"
echo ^(2^)HID LF Standalone Emulation/Cloning bootrom
echo "LF-firmware-9-19-16\bootrom.elf"
echo ^(3^)Proxbrute with updated cdc bootrom
echo "proxbrute-w-cdc-firmware\bootrom.elf"
echo ^(4^)Return to Main Menu
echo -
SET /P Menu=Type 1, 2, 3, or 4 then press ENTER:
IF %Menu%==1 GOTO STOCKBOOTROM
IF %Menu%==2 GOTO LFBOOTROM
IF %Menu%==3 GOTO PROXBRUTEBOOTROM
IF %Menu%==4 GOTO MENU
:STOCKBOOTROM
cls
echo Press ENTER to flash stock v2.5 bootrom
pause
flasher.exe com%comnumber% -b ..\..\stock-HF-emulator-firmware-v2.5\bootrom.elf
echo Press ENTER to return to Main Menu
pause
goto MENU
:LFBOOTROM
cls
echo Press ENTER to flash HID LF standalone mode bootrom
pause
flasher.exe com%comnumber% -b ..\..\LF-firmware-9-19-16\bootrom.elf
echo Press ENTER to return to Main Menu
pause
goto MENU
:PROXBRUTEBOOTROM
cls
echo Press ENTER to proxbrute with updated cdc bootrom
pause
flasher.exe com%comnumber% -b ..\..\proxbrute-w-cdc-firmware\bootrom.elf
echo Press ENTER to return to Main Menu
pause
goto MENU

:FULLIMAGE
cls
echo -
echo Select a fullimage:
echo -
echo ^(1^)Stock v2.5 HF Standalone fullimage
echo "stock-HF-emulator-firmware-v2.5\fullimage.elf"
echo ^(2^)HID LF Standalone Emulation/Cloning fullimage
echo "LF-firmware-9-19-16\fullimage.elf"
echo ^(3^)Proxbrute with updated cdc fullimage
echo "proxbrute-w-cdc-firmware\fullimage.elf"
echo ^(4^)Return to Main Menu
echo -
SET /P Menu=Type 1, 2, 3, or 4 then press ENTER:
IF %Menu%==1 GOTO STOCKIMAGE
IF %Menu%==2 GOTO LFIMAGE
IF %Menu%==3 GOTO PROXBRUTEIMAGE
IF %Menu%==4 GOTO MENU
:STOCKIMAGE
cls
echo Press ENTER to flash stock v2.5 fullimage
pause
flasher.exe com%comnumber% -b ..\..\stock-HF-emulator-firmware-v2.5\fullimage.elf
echo Press ENTER to return to Main Menu
pause
goto MENU
:LFIMAGE
cls
echo Press ENTER to flash HID LF standalone mode fullimage
pause
flasher.exe com%comnumber% -b ..\..\LF-firmware-9-19-16\fullimage.elf
echo Press ENTER to return to Main Menu
pause
goto MENU
:PROXBRUTEIMAGE
cls
echo Press ENTER to flash proxbrute with updated cdc bootloader fullimage
pause
flasher.exe com%comnumber% -b ..\..\proxbrute-w-cdc-firmware\fullimage.elf
echo Press ENTER to return to Main Menu
pause
goto MENU
75 changes: 0 additions & 75 deletions flash-util/windows/FLASH - Bootrom.bat

This file was deleted.

61 changes: 0 additions & 61 deletions flash-util/windows/FLASH - fullimage.bat

This file was deleted.

21 changes: 8 additions & 13 deletions flash-util/windows/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@ Now defaults back to the original LF emulator when in standalone mode
firmware dated 9-19-2016
commit 41f08b7c08928060a8dd84916fddf294fab7f26c

Go to Settings - Windows Device Manager - Connected Devices and see what com port # the proxmark shows up as

then edit the com port specified using notepad in "FLASH - Bootrom.bat"
line 43: flasher.exe com17 -b ..\..\LF-firmware-9-19-16\bootrom.elf
and edit "FLASH - fullimage.bat"
line 29: flasher.exe com17 -b ..\..\LF-firmware-9-19-16\fullimage.elf

Flash the Bootrom
run FLASH - Bootrom.bat

Flash the fullimage
FLASH - fullimage.bat

Run "Easy Flasher.bat"
Follow menu prompts
Flash bootrom then fullimage
Done!

Or manually issue the command replacing com17 with your proxmark3's com port
flasher.exe com17 -b ..\..\LF-firmware-9-19-16\bootrom.elf
and
flasher.exe com17 -b ..\..\LF-firmware-9-19-16\fullimage.elf

Note: Sometimes they need to be ran more than once, you will get a success message and a "have a good day" upon completion.
</pre>

0 comments on commit 335f390

Please sign in to comment.