mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
textual
This commit is contained in:
parent
c3c5011e1d
commit
74f96be6be
2 changed files with 13 additions and 13 deletions
|
@ -678,7 +678,7 @@ void pm3_version(bool verbose, bool oneliner) {
|
|||
|
||||
|
||||
if (oneliner) {
|
||||
PrintAndLogEx(NORMAL, "Client: RRG/Iceman compiled with " _YELLOW_(PM3CLIENTCOMPILER __VERSION__) " %s", _YELLOW_(PM3HOSTOS));
|
||||
PrintAndLogEx(NORMAL, "Client: RRG/Iceman compiled with " _YELLOW_(PM3CLIENTCOMPILER __VERSION__ PM3HOSTOS));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -231,16 +231,16 @@ static void fPrintAndLog(FILE *stream, const char *fmt, ...) {
|
|||
timenow = gmtime(&now);
|
||||
strftime(filename, sizeof(filename), PROXLOG, timenow);
|
||||
if (searchHomeFilePath(&my_logfile_path, filename, true) != PM3_SUCCESS) {
|
||||
fprintf(stderr, "Logging disabled!\n\n");
|
||||
fprintf(stderr, "[-] Logging disabled!\n\n");
|
||||
my_logfile_path = NULL;
|
||||
logging = 0;
|
||||
} else {
|
||||
logfile = fopen(my_logfile_path, "a");
|
||||
if (logfile == NULL) {
|
||||
fprintf(stderr, "Can't open logfile %s, logging disabled!\n", my_logfile_path);
|
||||
fprintf(stderr, "[-] Can't open logfile %s, logging disabled!\n", my_logfile_path);
|
||||
logging = 0;
|
||||
} else {
|
||||
printf("Session is logged into %s\n", my_logfile_path);
|
||||
printf("[=] Session log %s\n", my_logfile_path);
|
||||
}
|
||||
free(my_logfile_path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue