mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-13 16:00:02 +08:00
simplify scripts
This commit is contained in:
parent
78c4f7929a
commit
21841cb9d9
4 changed files with 5 additions and 13 deletions
client
|
@ -1,12 +1,3 @@
|
|||
import sys
|
||||
import pm3
|
||||
|
||||
def main():
|
||||
print('Hello world')
|
||||
#p=pm3.open("/dev/ttyACM0")
|
||||
p=pm3.get_current_dev()
|
||||
pm3.console(p, "hw status")
|
||||
#pm3.close(p)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
p=pm3.get_current_dev()
|
||||
pm3.console(p, "hw status")
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
# /usr/lib/lua/5.2/pm3.so
|
||||
# ./pm3.so
|
||||
|
||||
lua test.lua
|
||||
./test.lua
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env lua
|
||||
|
||||
local pm3 = require("pm3")
|
||||
p=pm3.open("/dev/ttyACM0")
|
||||
pm3.console(p, "hw status")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import pm3
|
||||
|
||||
p=pm3.open("/dev/ttyACM0")
|
||||
pm3.console(p, "hw status")
|
||||
pm3.close(p)
|
||||
|
|
Loading…
Add table
Reference in a new issue