|
|
|
RFID Tinkering: Proxmark Python API |
Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Présentation : Yesterday, I set out to create a Python API for my Proxmark. The toughest part was selecting the right USB module. My gut reaction said "PyUSB", but was rightly corrected by Didier that python-hid would be a better fit since the Proxmark exports a HID interface. The suggestion was sound logic, however, what appear to be implementation flaws in libhid (upon which python-hid relies) prevented me from using it with the Proxmark. For some reason, libhid was unable to retrieve the Proxmark's device descriptor and this would cause hid_force_open() to fail. Google revealed that other folks have had the same problem. After pulling out my hair with python-hid, I went back to my original candidate and things just started working. The first operation I implemented for test purposes was the tune command. root@stumpi:~/python-proxmark# cat tune.py #! /usr/bin/env python # Copyright 2009, Rysc Corp. from proxmark import * if __name__ == '__main__': pm3 = Proxmark() antennas = pm3.tune() for ant in antennas: print ant The code above invokes the Proxmark API to display the voltage and impedance measured on each antenna. Sample output shown below: 125kHz v=123mV z=1273 ohms 134kHz v=0mV z=1273 ohms 13.56MHz v=99mV z=90 ohms Another snippet designed to mimic the loread command is shown below. pm3 = Proxmark() samples = pm3.lf_read_125khz() print samples Which results in the list: [-89, -128, -49, 109, 127, 107, 26, -42, ... , -22, -81] I'm still not 100% confident in the routine that downloads samples from the proxmark, it was ported from the C client. In the next few weeks, I'll be working to test ported commands and add decoding (ASK, FSK etc) routines in a separate Python module. For experimentation purposes, developing new routines in firmware is slow, which is where I hope Python will help. It is a much simpler exercise implementing a HID tag decoder in Python versus in C with an ARM as your target. I also hope that having a base API in python will usher in a nicer user interface... PyGTK anyone? We'll see.[]
Les mots clés de la revue de presse pour cet article : python Les éléments de la revue Twitter pour les mots clé : python
Les derniers articles du site "From a malicious attacker" :
- What is Mathematics Page 38 Exercise 3. - f0 segfault recovery - f0 blocks - f0 dlopen - args - Ammonite - Cross Cloud Scripting - Django User Enumeration - Tracing Objective-C - Finding the Heap of an iPhone Application
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.191.75.173 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.191.75.173 to any 80"
- Nous contacter par mail
| Mini-Tagwall des articles publiés sur SecuObs : | | | | sécurité, exploit, windows, attaque, outil, microsoft, réseau, audit, metasploit, vulnérabilité, système, virus, internet, usbsploit, données, source, linux, protocol, présentation, scanne, réseaux, scanner, bluetooth, conférence, reverse, shell, meterpreter, vista, rootkit, détection, mobile, security, malicieux, engineering, téléphone, paquet, trames, https, noyau, utilisant, intel, wishmaster, google, sysun, libre |
| Mini-Tagwall de l'annuaire video : | | | | curit, security, biomet, metasploit, biometric, cking, password, windows, botnet, defcon, tutorial, crypt, xploit, exploit, lockpicking, linux, attack, wireshark, vmware, rootkit, conference, network, shmoocon, backtrack, virus, conficker, elcom, etter, elcomsoft, server, meterpreter, openvpn, ettercap, openbs, iphone, shell, openbsd, iptables, securitytube, deepsec, source, office, systm, openssh, radio |
| Mini-Tagwall des articles de la revue de presse : | | | | security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone, server, inject, patch, apple, twitter, mobile, virus, ebook, facebook, vulnérabilité, crypt, source, linux, password, intel, research, virtual, phish, access, tutorial, trojan, social, privacy, firefox, adobe, overflow, office, cisco, conficker, botnet, pirate, sécurité |
| Mini-Tagwall des Tweets de la revue Twitter : | | | | security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall, network, twitter, vmware, windows, microsoft, compliance, vulnerability, python, engineering, source, kernel, crypt, social, overflow, nessus, crack, hacker, virus, iphone, patch, virtual, javascript, malware, conficker, pentest, research, email, password, adobe, apache, proxy, backtrack |
|
|
|
|
|