Skip to content

Commit e0be057

Browse files
committed
Get Python support of experimental_client_with_swig working again
1 parent 97f2770 commit e0be057

File tree

7 files changed

+4
-8
lines changed

7 files changed

+4
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
33
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
44

55
## [unreleased][unreleased]
6+
- Fixed Python support of `experimental_client_with_swig` (@doegox)
67
- Use proxmark3 as a generic smartcard reader with other software with `smart relay` (@gm3197)
78
- Added `tools\mfkeys\staticnested` - program to recover static nested keys (@iceman1001)
89
- Added `pm3_gen_dictionary.py` - python script to extract and save all keys from MFC dump files. (@iceman1001)

client/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,6 @@ endif
837837
ifneq (,$(INSTALLSHARE))
838838
$(Q)$(INSTALLSUDO) $(MKDIR) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLSHARERELPATH)
839839
$(Q)$(INSTALLSUDO) $(CP) $(INSTALLSHARE) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLSHARERELPATH)
840-
$(Q)$(INSTALLSUDO) $(CP) src/pm3.py $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLSHARERELPATH)/pyscripts
841840
endif
842841
@true
843842

client/experimental_lib/example_py/02run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
#/usr/lib/python3/dist-packages/pm3.py
99

1010
# need access to pm3.py
11-
PYTHONPATH=../../src ./test.py
11+
PYTHONPATH=../../pyscripts ./test.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
PYTHONPATH=../../src ipython3 -i ./test_grab.py
3+
PYTHONPATH=../../pyscripts ipython3 -i ./test_grab.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
PYTHONPATH=../../src ipython3 -i ./test.py
3+
PYTHONPATH=../../pyscripts ipython3 -i ./test.py

pm3

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,9 @@ if [ ! "$1" == "--list" ]; then
2727
echo >&2 "[!!] In devel workdir but no executable found, did you compile it?"
2828
exit 1
2929
fi
30-
# Devel mode: point to workdir pm3.py module
31-
EVALENV+=" PYTHONPATH=$PM3PATH/client/src"
3230
# try install dir
3331
elif [ -x "$PM3PATH/proxmark3" ]; then
3432
CLIENT="$PM3PATH/proxmark3"
35-
EVALENV+=" PYTHONPATH=$PM3PATH/../share/proxmark3/pyscripts/"
36-
# or /usr/[local/]lib/python3/dist-packages/pm3.py ?
3733
else
3834
# hope it's installed somehow, still not sure where fw images and pm3.py are...
3935
CLIENT="proxmark3"

0 commit comments

Comments
 (0)