better print

This commit is contained in:
Nikola Petrov 2024-07-21 22:49:24 +02:00
parent 748ab00289
commit 6bfe732b7c

View File

@ -271,8 +271,8 @@ void arg_print_all_p(Buffer &decrypted_buffer, std::string &user_pass)
printf("\n"); printf("\n");
for (size_t i = 0; i < index->count; i++) for (size_t i = 0; i < index->count; i++)
{ {
printf("label: %-10s\t\t", decrypted_buffer.buffer + pass[i].label + index->offset); printf("label: %-20s\t", decrypted_buffer.buffer + pass[i].label + index->offset);
printf("username: %-10s\t\t", decrypted_buffer.buffer + pass[i].username + index->offset); printf("username: %-30s\t", decrypted_buffer.buffer + pass[i].username + index->offset);
printf("password: %s\n", decrypted_buffer.buffer + pass[i].password + index->offset); printf("password: %s\n", decrypted_buffer.buffer + pass[i].password + index->offset);
} }
} }