]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
ADD: 'install.sh' blacklist rules installed aswell. run as root to install.
authoriceman1001 <iceman@iuse.se>
Mon, 16 Jan 2017 14:02:10 +0000 (15:02 +0100)
committericeman1001 <iceman@iuse.se>
Mon, 16 Jan 2017 14:02:10 +0000 (15:02 +0100)
armsrc/appmain.c
client/cmdlf.c
install.sh

index f20e1715017da28f6d37033c00979f8a87bed11f..4f2a1cd83f07e761ca45aec2d0f773d8bca5415d 100644 (file)
@@ -1296,7 +1296,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                                FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
                        uint8_t *b = BigBuf_get_addr();
                        memcpy( b + c->arg[0], c->d.asBytes, USB_CMD_DATA_SIZE);
-                       cmd_send(CMD_ACK,0,0,0,0,0);
+                       cmd_send(CMD_ACK,1,0,0,0,0);
                        break;
                }
                case CMD_DOWNLOAD_EML_BIGBUF: {
index fdf454c50d76fec7967ea9b2b013d9fb16f83ada..4c586a19c2748ad4aff12d90fc35ee51970ce451 100644 (file)
@@ -602,16 +602,16 @@ int CmdLFSim(const char *Cmd) {
        for (i = 0; i < GraphTraceLen; i += USB_CMD_DATA_SIZE) {
                UsbCommand c = {CMD_DOWNLOADED_SIM_SAMPLES_125K, {i, 0, 0}};
 
-               for (j = 0; j < USB_CMD_DATA_SIZE; j++) {
+               for (j = 0; j < USB_CMD_DATA_SIZE; j++)
                        c.d.asBytes[j] = GraphBuffer[i+j];
-               }
+
                clearCommandBuffer();
                SendCommand(&c);
                WaitForResponse(CMD_ACK, NULL);
                printf(".");
        }
 
-       PrintAndLog("Starting to simulate");
+       PrintAndLog("Simulating");
 
        UsbCommand c = {CMD_SIMULATE_TAG_125K, {GraphTraceLen, gap, 0}};
        clearCommandBuffer();
index 798efac89ff4562b80ba428a077c35689ce04f58..7bdf01de026ad60af882d16821a4a1d66104ac87 100755 (executable)
@@ -1,3 +1,6 @@
+#for linux ppl
+# this should work fine on Ubuntu distros. Don't know about Kali, ...
+
 echo "Updating your system..."
 
 # install dependencies for Proxmark3 source code.
@@ -11,6 +14,10 @@ sudo apt-get autoclean -y
 sudo apt-get clean -y
 sudo apt-get update
 
+# Copy blacklist rules into /etc/udev/rules.d
+# check the Makefile for details
+sudo make udev
+
 # Where is my device?
 #dmesg | tail -10
 
Impressum, Datenschutz