mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Some basic BASH scripts to help update the proxmark firmware and to
start the application. Both scripts perform simple checks to autodetect the proxmark device.
This commit is contained in:
parent
1f8b08cf57
commit
c73ad5b4da
2 changed files with 28 additions and 0 deletions
12
proxmark3.sh
Executable file
12
proxmark3.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function wait4proxmark {
|
||||||
|
echo "Waiting for Proxmark to appear..."
|
||||||
|
while [ ! -e /dev/ttyACM? ]; do
|
||||||
|
sleep .1
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# start proxmark with first detected interface
|
||||||
|
wait4promark
|
||||||
|
client/proxmark3 /dev/ttyACM?
|
16
update.sh
Executable file
16
update.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function wait4proxmark {
|
||||||
|
echo "Waiting for Proxmark to appear..."
|
||||||
|
while [ ! -e /dev/ttyACM? ]; do
|
||||||
|
sleep .1
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# flash bootroom
|
||||||
|
wait4proxmark
|
||||||
|
client/flasher /dev/ttyACM? -b bootrom/obj/bootrom.elf
|
||||||
|
|
||||||
|
# flash system image
|
||||||
|
wait4proxmark
|
||||||
|
client/flasher /dev/ttyACM? armsrc/obj/fullimage.elf
|
Loading…
Add table
Add a link
Reference in a new issue