Possible bug: OCLHashCat not working with Expect.
#1
I am trying to manage OCLHashCat with Expect.
I have started by sending a simple `q` key.
This is the code:

Code:
spawn oclHashcat64.exe ../Test.hccap -m 2500 -a 3 ?d?d?d?d?d?d?d?d expect "*tatus" send "q\r" close exit

But it seems not to be working. This is the result:

Code:
Luis@Windu /cygdrive/c/Temporal/Expect $ expect.exe Prueba02.expect spawn oclHashcat64.exe ../Test.hccap -m 2500 -a 3 ?d?d?d?d?d?d?d?d oclHashcat v1.31 starting... Device #1: Bonaire, 1024MB, 1050Mhz, 12MCU Device #2: Tahiti, 3072MB, 900Mhz, 28MCU Hashes: 1 hashes; 1 unique digests, 1 unique salts Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes Applicable Optimizers: * Zero-Byte * Single-Hash * Single-Salt * Brute-Force Watchdog: Temperature abort trigger set to 90c Watchdog: Temperature retain trigger set to 80c Device #1: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/m02500.Bonaire_1573.4_1573.4 (VM).kernel (259320 bytes) Device #1: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/markov_le_v1.Bonaire_1573.4_1573.4 (VM).kernel (92404 bytes) Device #1: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/bzero.Bonaire_1573.4_1573.4 (VM).kernel (30496 bytes) Device #2: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/m02500.Tahiti_1573.4_1573.4 (VM).kernel (259428 bytes) Device #2: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/markov_le_v1.Tahiti_1573.4_1573.4 (VM).kernel (92388 bytes) Device #2: Kernel D:\Programas\HashCat\OCLHashCat/kernels/4098/bzero.Tahiti_1573.4_1573.4 (VM).kernel (30492 bytes) [s]tatus [p]ause [r]esume [b]ypass [q]uit => Luis@Windu /cygdrive/c/Temporal/Expect$

As you can see, the **expected line appears**, but the second part does not, and the `q` **is not sent**, because the main process keeps alive:

Code:
Luis@Windu /cygdrive/c/Temporal/Expect$ ps -e | grep "hashcat" -i 1180 1 1180 6976 pty0 1000 07:51:13 /cygdrive/d/Programas/HashCat/OCLHashCat/oclHashcat64

Could someone tell me what am I doing wrong, please?
Or maybe OCLHashCat does not accept key inputs sent by Expect? I have programmed some AutoHotkey scripts, and they worked flawless to send the `q` key and stop the process all right.