ADD: 'install.sh' blacklist rules installed aswell. run as root to install.

This commit is contained in:
iceman1001 2017-01-16 15:02:10 +01:00
commit aed36ae5bd
3 changed files with 11 additions and 4 deletions

View 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: {

View 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();

View file

@ -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