mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
fixed further typo in lf t5 wr help
also fixed offset option char to uint8_t warning in the new offset option in data printdemodbuffer
This commit is contained in:
parent
5b37e87a24
commit
185e038c7d
2 changed files with 9 additions and 9 deletions
|
@ -118,7 +118,7 @@ int CmdPrintDemodBuff(const char *Cmd)
|
||||||
int numBits = (DemodBufferLen-offset) & 0x7FC; //make sure we don't exceed our string
|
int numBits = (DemodBufferLen-offset) & 0x7FC; //make sure we don't exceed our string
|
||||||
|
|
||||||
if (hexMode){
|
if (hexMode){
|
||||||
char *buf = DemodBuffer + offset;
|
char *buf = (char *) (DemodBuffer + offset);
|
||||||
numBits = binarraytohex(hex, buf, numBits);
|
numBits = binarraytohex(hex, buf, numBits);
|
||||||
if (numBits==0) return 0;
|
if (numBits==0) return 0;
|
||||||
PrintAndLog("DemodBuffer: %s",hex);
|
PrintAndLog("DemodBuffer: %s",hex);
|
||||||
|
|
|
@ -50,23 +50,23 @@ int usage_t55xx_config(){
|
||||||
}
|
}
|
||||||
int usage_t55xx_read(){
|
int usage_t55xx_read(){
|
||||||
PrintAndLog("Usage: lf t55xx read <block> <password>");
|
PrintAndLog("Usage: lf t55xx read <block> <password>");
|
||||||
PrintAndLog(" <block>, block number to read. Between 0-7");
|
PrintAndLog(" <block>, block number to read. Between 0-7");
|
||||||
PrintAndLog(" <password>, OPTIONAL password (8 hex characters)");
|
PrintAndLog(" <password>, OPTIONAL password (8 hex characters)");
|
||||||
PrintAndLog("");
|
PrintAndLog("");
|
||||||
PrintAndLog("Examples:");
|
PrintAndLog("Examples:");
|
||||||
PrintAndLog(" lf t55xx read 0 - read data from block 0");
|
PrintAndLog(" lf t55xx read 0 - read data from block 0");
|
||||||
PrintAndLog(" lf t55xx read 0 feedbeef - read data from block 0 password feedbeef");
|
PrintAndLog(" lf t55xx read 0 feedbeef - read data from block 0 password feedbeef");
|
||||||
PrintAndLog("");
|
PrintAndLog("");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int usage_t55xx_write(){
|
int usage_t55xx_write(){
|
||||||
PrintAndLog("Usage: lf t55xx wr <block> <data> [password]");
|
PrintAndLog("Usage: lf t55xx wr <block> <data> [password]");
|
||||||
PrintAndLog(" <block>, block number to read. Between 0-7");
|
PrintAndLog(" <block>, block number to write. Between 0-7");
|
||||||
PrintAndLog(" <data>, 4 bytes of data to write (8 hex characters)");
|
PrintAndLog(" <data>, 4 bytes of data to write (8 hex characters)");
|
||||||
PrintAndLog(" [password], OPTIONAL password 4bytes (8 hex characters)");
|
PrintAndLog(" [password], OPTIONAL password 4bytes (8 hex characters)");
|
||||||
PrintAndLog("");
|
PrintAndLog("");
|
||||||
PrintAndLog("Examples:");
|
PrintAndLog("Examples:");
|
||||||
PrintAndLog(" lf t55xx wr 3 11223344 - write 11223344 to block 3");
|
PrintAndLog(" lf t55xx wr 3 11223344 - write 11223344 to block 3");
|
||||||
PrintAndLog(" lf t55xx wr 3 11223344 feedbeef - write 11223344 to block 3 password feedbeef");
|
PrintAndLog(" lf t55xx wr 3 11223344 feedbeef - write 11223344 to block 3 password feedbeef");
|
||||||
PrintAndLog("");
|
PrintAndLog("");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue