v0yager
November 5, 2022, 12:19pm
12
Hey @k4lin ,
For sure you can do that, in fact it already exists and I was doing it today
If you have a proxmark3 rdv4 with a blueshark module you can just use standalone mode.
The mode you would probably be after is HF14A_SNIFF.
# Standalone Modes
<a id="Top"></a>
# Table of Contents
- [Standalone Modes](#standalone-modes)
- [Table of Contents](#table-of-contents)
- [Implementing a standalone mode](#implementing-a-standalone-mode)
- [Naming your standalone mode](#naming-your-standalone-mode)
- [Update MAKEFILE.HAL](#update-makefilehal)
- [Update MAKEFILE.INC](#update-makefileinc)
- [Adding identification string of your mode](#adding-identification-string-of-your-mode)
- [Compiling your standalone mode](#compiling-your-standalone-mode)
- [Submitting your code](#submitting-your-code)
This contains functionality for different StandAlone modes. The fullimage will be built given the correct compiler flags used. Build targets for these files are contained in `Makefile.inc` and `Makefile.hal`
If you want to implement a new standalone mode, you need to implement the methods provided in `standalone.h`.
This file has been truncated. show original
if you don’t have an RDV4 or the blueshark module, you could always just pass the commands headless through python using a simple function like:
def hf_sniff():
try:
os.system(pm3 -c ‘hf sniff’) #sniff HF NFC
sleep(10)
os.system(pm3 -c ‘mem spiffs dump -s hf_14asniff.trace -d hf_14asniff.trace’) # dump trace to PC
except Exception as e:
print(f"[ ! ] Error: {e}")
exit(1)
and then to make it portable plug a raspberry pi zero into your proxmark, bluetooth tether it to your phone, SSH into the pi zero from your phone and run the script.
1 Like