mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1242] --prince-loopback=password.lst --stdout=1 : SegFault #783
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#783
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loverszhaokai on GitHub (Apr 29, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1242
#1. Prepare
1.1 content of password.lst
!
1.2 compile
$ ./configure && make -sj8
#2. Reproduce
$ ../john --stdout=1 --prince-loopback=password.lst
Segmentation fault
#3. GDB
$ gdb ../john core
...
Core was generated by `../john --stdout=1 --prince-loopback=password.lst'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.3.x86_64 libcom_err-1.41.12-14.el6.x86_64 libgcc-4.4.7-3.el6.x86_64 libgomp-4.4.7-3.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libstdc++-4.4.7-3.el6.x86_64 nss-softokn-freebl-3.14.3-3.el6_4.x86_64 openssl-1.0.1e-16.el6_5.4.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6
#1 0x00007f9b6b5f7b86 in strftime_l () from /lib64/libc.so.6
#2 0x000000000069f1ec in status_get_ETA (percent=, secs_done=) at status.c:297
#3 0x000000000069f543 in status_print_stdout () at status.c:417
#4 status_print () at status.c:477
#5 0x00000000006846a2 in john_run () at john.c:1428
#6 0x0000000000684ea5 in main (argc=3, argv=0x7fffedb3f6a8) at john.c:1695