[GH-ISSUE #968] base64conv just processes the first line of input #570

Closed
opened 2026-10-14 03:13:46 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @frank-dittrich on GitHub (Dec 29, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/968

I think this behaviour is not expected by most users:

(bleeding-jumbo)run $ cat test
a
b
(bleeding-jumbo)run $ ./base64conv -q -i raw -o hex < test > test.hex
(bleeding-jumbo)run $ cat test.hex 
61

If you convert that hex input back into raw, you get just the first line of your original file.
Is there a reason for it?
This behaviour should at least be documented.

Originally created by @frank-dittrich on GitHub (Dec 29, 2014). Original GitHub issue: https://github.com/openwall/john/issues/968 I think this behaviour is not expected by most users: ``` (bleeding-jumbo)run $ cat test a b (bleeding-jumbo)run $ ./base64conv -q -i raw -o hex < test > test.hex (bleeding-jumbo)run $ cat test.hex 61 ``` If you convert that hex input back into raw, you get just the first line of your original file. Is there a reason for it? This behaviour should at least be documented.
Author
Owner

@magnumripper commented on GitHub (Dec 29, 2014):

Better yet it should convert all lines

<!-- gh-comment-id:68239171 --> @magnumripper commented on GitHub (Dec 29, 2014): Better yet it should convert all lines
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#570
No description provided.