Complete Setup Guide for Installing Proxmark3 and RfidResearchGroup Proxmark3 on Ubuntu 22.04
Keep in mind that you can not use both tools at the same time.
This means you have to flash firmware to Proxmark3 every time you change the tool.
sudo apt update
sudo apt upgrade -y
sudo apt-get install git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev libclang-dev libssl-dev
mkdir -p ~/git
cd ~/git
git clone https://github.com/Proxmark/proxmark3.git Proxmark_proxmark3
mkdir -p ~/git
cd ~/git
git clone https://github.com/RfidResearchGroup/proxmark3.git RfidResearchGroup_proxmark3
cd ~/git/Proxmark_proxmark3
make clean
make all
cd ~/git/RfidResearchGroup_proxmark3
make clean PLATFORM=PM3GENERIC
make PLATFORM=PM3GENERIC all # This is for proxmark3 easy
make PLATFORM=PM3OTHER all # just a hint if you encounter problems when connecting usb after flashing
sudo make install PLATFORM=PM3GENERIC
sudo usermod -aG dialout $USER
cd ~/git/RfidResearchGroup_proxmark3
make accessrights
sudo systemctl stop ModemManager
sudo systemctl disable ModemManager
sudo apt-get remove --purge modemmanager
/etc/udev/rules.d/53-proxmark3.rules# Proxmark3
SUBSYSTEM=="usb", ATTRS{idVendor}=="2d2d", ATTRS{idProduct}=="504d", GROUP="plugdev", MODE="0666"
sudo make install
pm3-flash-bootrom
pm3-flash-all
pm3-flash-all --force
cd ~/git/Proxmark_proxmark3/client
./proxmark3 /dev/ttyACM0
cd ~/git/RfidResearchGroup_proxmark3/client
./pm3
hf search
hf mf dump
hf mf wrbl -b 1 -d 112233445566
hf mf cload -f mydump.mfd
hf 14a sim -u
hf 14a snoop
hf 14a list
hf 14a snoop
hf list 14a reader
hf mf hardnested
hf mf mifare
loop_hf_payment_scan.luafunction sleep(n)
os.execute("sleep " .. tonumber(n))
end
while true do
-- Run the hf search command
local result = core.console('hf search')
-- Check if the result is not nil
if result then
-- Check the result for known contactless payment card types
if string.match(result, "Visa") or
string.match(result, "Mastercard") or
string.match(result, "American Express") or
string.match(result, "Apple Pay") or
string.match(result, "Google Pay") or
string.match(result, "Samsung Pay") then
print("Contactless payment card detected:")
print(result)
else
print("No known contactless payment card detected")
end
else
print("No result from hf search command")
end
-- Delay between each search (1 second)
sleep(1)
end
function sleep(n)
os.execute("sleep " .. tonumber(n))
end
while true do
-- Run the hf search command
core.console('hf search')
-- Delay between each search (1 second)
sleep(1)
end