{"action":"created","issue":{"url":"https://api.github.com/repos/e-ago/bitcracker/issues/11","repository_url":"https://api.github.com/repos/e-ago/bitcracker","labels_url":"https://api.github.com/repos/e-ago/bitcracker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/e-ago/bitcracker/issues/11/comments","events_url":"https://api.github.com/repos/e-ago/bitcracker/issues/11/events","html_url":"https://github.com/e-ago/bitcracker/issues/11","id":359606880,"node_id":"MDU6SXNzdWUzNTk2MDY4ODA=","number":11,"title":"run_tests.sh ... Password not found!","user":{"login":"turbofiesta","id":13500767,"node_id":"MDQ6VXNlcjEzNTAwNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/13500767?v=4","gravatar_id":"","url":"https://api.github.com/users/turbofiesta","html_url":"https://github.com/turbofiesta","followers_url":"https://api.github.com/users/turbofiesta/followers","following_url":"https://api.github.com/users/turbofiesta/following{/other_user}","gists_url":"https://api.github.com/users/turbofiesta/gists{/gist_id}","starred_url":"https://api.github.com/users/turbofiesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbofiesta/subscriptions","organizations_url":"https://api.github.com/users/turbofiesta/orgs","repos_url":"https://api.github.com/users/turbofiesta/repos","events_url":"https://api.github.com/users/turbofiesta/events{/privacy}","received_events_url":"https://api.github.com/users/turbofiesta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-12T18:49:12Z","updated_at":"2018-09-13T18:06:22Z","closed_at":null,"author_association":"NONE","body":"**Now i try BitCracker on different system.**\r\n\r\n_nvidia-smi_\r\n\r\n```\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 390.48                 Driver Version: 390.48                    |\r\n|-------------------------------+----------------------+----------------------+\r\n| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |\r\n| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |\r\n|===============================+======================+======================|\r\n|   0  GeForce GTX 970     Off  | 00000000:05:00.0  On |                  N/A |\r\n| 41%   44C    P8    17W / 160W |    452MiB /  4041MiB |      0%      Default |\r\n+-------------------------------+----------------------+----------------------+\r\n```\r\n_nvcc --version_\r\n```\r\nnvcc: NVIDIA (R) Cuda compiler driver\r\nCopyright (c) 2005-2017 NVIDIA Corporation\r\nBuilt on Fri_Nov__3_21:07:56_CDT_2017\r\nCuda compilation tools, release 9.1, V9.1.85\r\n```\r\n**I changed Makefiles to:**\r\n\r\n_**Makefile file \"src-CUDA\"**_ \r\n\r\n```\r\nbitcracker_cuda:\r\n\tnvcc -gencode arch=compute_52,code=sm_52 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu\r\n\r\nclean:\r\n\trm -rf *.o\r\n\trm -rf ../build/bitcracker_cuda\r\n```\r\n\r\n_**Makefile file \"src_OpenCL\"**_\r\n\r\n```\r\n#!/bin/bash\r\n\r\nFLAGS=-Wextra\r\nNVIDIA_INCLUDE=-I/usr/local/cuda/include -L/usr/local/cuda/lib64\r\nCOMMON_INCLUDE=-I/usr/include -L/usr/lib64 -L/usr/lib\r\nMAKE_INCLUDE=$(COMMON_INCLUDE) $(NVIDIA_INCLUDE) -cl-std=CL1.2 -O3\r\n\r\nall:\r\n\tgcc -I/usr/include -L/usr/lib64 -L/usr/lib -I/usr/local/cuda-9.2/include -L/usr/local/cuda-9.2/lib64 -Wextra -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c -lOpenCL\r\n#\tclang -framework OpenCL -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c\r\n\r\n\r\nclean:\r\n\trm -rf *.o\r\n\trm -rf bitcracker_opencl\r\n```\r\n**Then I build Bitcracker and run the tests.**\r\n./run_tests.sh\r\n**and I get message \"Password not found\" in all tests**\r\n\r\n```\r\n====================================\r\nSelected device: GPU GeForce GTX 970 (ID: 0)\r\n====================================\r\n\r\nCompute capability: 5.2\r\nClock rate: 1215500\r\nClock rate: 1216 MHz (1.22 GHz)\r\nMemory Clock Rate (KHz): 3505000\r\nMemory Bus Width (bits): 256\r\nPeak Memory Bandwidth (GB/s): 224.320000\r\nDevice copy overlap: Enabled\r\nAsync memory engine count: 2\r\nConcurrent kernels: 1\r\nKernel execition timeout: Enabled\r\nTotal global mem:  4238016512 bytes\r\nFree memory: 3596484608 bytes\r\nTexture Alignment:  512\r\nMultiprocessor count:  13\r\nShared mem per mp:  49152\r\nRegisters per mp:  65536\r\nThreads in warp:  32\r\nMax threads per block:  1024\r\nMax thread dimensions:  (1024, 1024, 64)\r\nMax grid dimensions:  (2147483647, 65535, 65535)\r\n\r\nFor this session, BitCracker requires at least 268566528 bytes of memory\r\n\r\n====================================\r\nRetrieving Info\r\n====================================\r\n\r\nReading hash file \"./test_hash/imgWin8_user_password.txt\"\r\n$bitlocker$0$16$0a8b9d0655d3900e9f67280adc27b5d7$1048576$12$b0599ad6c6a1cf0103000000$60$c16658f54140b3d90be6de9e03b1fe90033a2c7df7127bcd16cb013cf778c12072142c484c9c291a496fc0ebd8c21c33b595a9c1587acfc6d8bb9663\r\n\r\n\r\n====================================\r\nAttack\r\n====================================\r\n\r\nType of attack: User Password\r\nCUDA Threads: 1024\r\nCUDA Blocks: 1\r\nPsw per thread: 1\r\nMax Psw per kernel: 1024\r\nDictionary: ./Dictionary/user_passwords.txt\r\nStrict Check (-s): No\r\nMAC Comparison (-m): No\r\n\r\nCUDA Kernel execution:\r\n\tEffective passwords: 16\r\n\tPasswords Range:\r\n\t\tabcdefshhf\r\n\t\t.....\r\n\t\tblablablablabla\r\n\tTime: 8.626421 sec\r\n\tPasswords x second:     1.85 pw/sec\r\n\r\n\r\n================================================\r\nCUDA attack completed\r\nPasswords evaluated: 16\r\nPassword not found!\r\n================================================\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/e-ago/bitcracker/issues/comments/421099374","html_url":"https://github.com/e-ago/bitcracker/issues/11#issuecomment-421099374","issue_url":"https://api.github.com/repos/e-ago/bitcracker/issues/11","id":421099374,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTA5OTM3NA==","user":{"login":"turbofiesta","id":13500767,"node_id":"MDQ6VXNlcjEzNTAwNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/13500767?v=4","gravatar_id":"","url":"https://api.github.com/users/turbofiesta","html_url":"https://github.com/turbofiesta","followers_url":"https://api.github.com/users/turbofiesta/followers","following_url":"https://api.github.com/users/turbofiesta/following{/other_user}","gists_url":"https://api.github.com/users/turbofiesta/gists{/gist_id}","starred_url":"https://api.github.com/users/turbofiesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbofiesta/subscriptions","organizations_url":"https://api.github.com/users/turbofiesta/orgs","repos_url":"https://api.github.com/users/turbofiesta/repos","events_url":"https://api.github.com/users/turbofiesta/events{/privacy}","received_events_url":"https://api.github.com/users/turbofiesta/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T18:06:22Z","updated_at":"2018-09-13T18:06:22Z","author_association":"NONE","body":"I use _Ubuntu 18.04.1 LTS_.\r\nI try to use _Bitcracker_ on TTY mode (CTRL+ALT+F3) because normal desktop mode becomes frozen when i run _Bitcracker_ attack. (I can move mouse cursor, but all view is stuck).\r\nYou mean \"Can you try again removing the kernel execution timeout?\" I do it like here -   \r\n_https://stackoverflow.com/questions/15833261/how-to-disable-or-change-the-timeout-limit-for-the-gpu-under-linux_  ?"}}
{"actor":{"display_login":"turbofiesta"}}