-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
(gdb) run -m smd5 555
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/ellenor/src/evilnet/nefarious2/ircd/umkpasswd -m smd5 555
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
make_salt (salts=0x408df8 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./") at umkpasswd.c:132
132 memcpy(tmp, (salts+n), 1);
from another invocation:
(gdb) print tmp
$1 = 0xc7a930 ""
(gdb) print salts
$2 = 0x408df8 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"
(gdb) print n
$3 = 3040655
Metadata
Metadata
Assignees
Labels
No labels