mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
ADD: 'install.sh' blacklist rules installed aswell. run as root to install.
This commit is contained in:
parent
d3fd5fd6d8
commit
aed36ae5bd
3 changed files with 11 additions and 4 deletions
|
@ -1296,7 +1296,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
|
||||||
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
||||||
uint8_t *b = BigBuf_get_addr();
|
uint8_t *b = BigBuf_get_addr();
|
||||||
memcpy( b + c->arg[0], c->d.asBytes, USB_CMD_DATA_SIZE);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case CMD_DOWNLOAD_EML_BIGBUF: {
|
case CMD_DOWNLOAD_EML_BIGBUF: {
|
||||||
|
|
|
@ -602,16 +602,16 @@ int CmdLFSim(const char *Cmd) {
|
||||||
for (i = 0; i < GraphTraceLen; i += USB_CMD_DATA_SIZE) {
|
for (i = 0; i < GraphTraceLen; i += USB_CMD_DATA_SIZE) {
|
||||||
UsbCommand c = {CMD_DOWNLOADED_SIM_SAMPLES_125K, {i, 0, 0}};
|
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];
|
c.d.asBytes[j] = GraphBuffer[i+j];
|
||||||
}
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
WaitForResponse(CMD_ACK, NULL);
|
WaitForResponse(CMD_ACK, NULL);
|
||||||
printf(".");
|
printf(".");
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLog("Starting to simulate");
|
PrintAndLog("Simulating");
|
||||||
|
|
||||||
UsbCommand c = {CMD_SIMULATE_TAG_125K, {GraphTraceLen, gap, 0}};
|
UsbCommand c = {CMD_SIMULATE_TAG_125K, {GraphTraceLen, gap, 0}};
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#for linux ppl
|
||||||
|
# this should work fine on Ubuntu distros. Don't know about Kali, ...
|
||||||
|
|
||||||
echo "Updating your system..."
|
echo "Updating your system..."
|
||||||
|
|
||||||
# install dependencies for Proxmark3 source code.
|
# install dependencies for Proxmark3 source code.
|
||||||
|
@ -11,6 +14,10 @@ sudo apt-get autoclean -y
|
||||||
sudo apt-get clean -y
|
sudo apt-get clean -y
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
||||||
|
# Copy blacklist rules into /etc/udev/rules.d
|
||||||
|
# check the Makefile for details
|
||||||
|
sudo make udev
|
||||||
|
|
||||||
# Where is my device?
|
# Where is my device?
|
||||||
#dmesg | tail -10
|
#dmesg | tail -10
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue