mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-04 20:50:37 -08:00
15 lines
289 B
C
15 lines
289 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "pm3.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
if (argc < 2) {
|
|
printf("Usage: %s <port>\n", argv[0]);
|
|
exit(-1);
|
|
}
|
|
pm3 *p;
|
|
p = pm3_open(argv[1]);
|
|
pm3_console(p, "hw status", false, false);
|
|
pm3_close(p);
|
|
}
|