BitCrack icon indicating copy to clipboard operation
BitCrack copied to clipboard

how to run on linux

Open balasid1404 opened this issue 4 years ago • 5 comments

we cant run exe file on linux so please explain in step by step to run on linux

balasid1404 avatar Dec 02 '20 02:12 balasid1404

You need to build it from the source code . After you install nvidia drivers and cuda . Unfortunately step by step is hard to explain since you didn't mentioned which linux and what kind of video card .

Stefanzm avatar Dec 02 '20 05:12 Stefanzm

I need for kali linux or ubuntu with geforce mx110 graphics card can you please help me on how to run it.

On Wed, 2 Dec 2020, 10:47 Stefanzm, [email protected] wrote:

You need to build it from the source code . After you install nvidia drivers and cuda . Unfortunately step by step is hard to explain since you didn't mentioned which linux and what kind of video card .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brichard19/BitCrack/issues/276#issuecomment-736996473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ5HXYF35NURGEG44DSHZ2TSSXEWPANCNFSM4UJ3T2TQ .

balasid1404 avatar Dec 02 '20 05:12 balasid1404

Im sorry , but i cant find your video card on https://developer.nvidia.com/cuda-gpus (then on Geforce) . Im not sure if you even have cuda abilities on that laptop video card .

Stefanzm avatar Dec 02 '20 16:12 Stefanzm

Alright but how to run I need terminal command to run this how can I run?

On Wed, 2 Dec 2020, 22:20 Stefanzm, [email protected] wrote:

Im sorry , but i cant find your video card on https://developer.nvidia.com/cuda-gpus (then on Geforce) . Im not sure if you even have cuda abilities on that laptop video card .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brichard19/BitCrack/issues/276#issuecomment-737356775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ5HXYETW6GVSKR3CANJW6LSSZV5TANCNFSM4UJ3T2TQ .

balasid1404 avatar Dec 02 '20 16:12 balasid1404

Also tried building on Linux which failed:

Make substract where it failed:

Tried with cuda 9.2 and 10.2 $> make CUDA_HOME=/usr/local/cuda-10.2 BUILD_CUDA=1 BUILD_OPENCL=1

make[1]: Entering directory '/opt/keycrack/BitCrack/KeyFinder'
g++ -DBUILD_CUDA -o cuKeyFinder.bin ConfigFile.cpp main.cpp DeviceManager.cpp  -I/opt/keycrack/BitCrack/util  -I/opt/keycrack/BitCrack/AddressUtil  -I/opt/keycrack/BitCrack/CmdParse  -I/opt/keycrack/BitCrack/CryptoUtil  -I/opt/keycrack/BitCrack/KeyFinderLib  -I/opt/keycrack/BitCrack/CLKeySearchDevice  -I/opt/keycrack/BitCrack/CudaKeySearchDevice  -I/opt/keycrack/BitCrack/cudaMath  -I/opt/keycrack/BitCrack/clUtil  -I/opt/keycrack/BitCrack/cudaUtil  -I/opt/keycrack/BitCrack/secp256k1lib  -I/opt/keycrack/BitCrack/Logger  -I/opt/keycrack/BitCrack/embedcl -I/usr/local/cuda-10.2/include -O2 -std=c++11 -DCL_TARGET_OPENCL_VERSION=110 -L/opt/keycrack/BitCrack/lib -L/usr/local/cuda-10.2/lib64 -lkeyfinder -laddressutil -lsecp256k1 -lcryptoutil -lsecp256k1 -lcudautil -llogger -lutil -lCudaKeySearchDevice -lcudadevrt -lcudart -lcmdparse
main.cpp: In function 'void printDeviceList(const std::vector<DeviceManager::DeviceInfo>&)':
main.cpp:262:79: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'long unsigned int' [-Wformat=]
         printf("Memory: %lldMB\n", devices[i].memory / ((uint64_t)1024 * 1024));
                                                                               ^
/usr/bin/ld: /opt/keycrack/BitCrack/lib/libCudaKeySearchDevice.a(cuda_libs.o): in function `__cudaRegisterLinkedBinary_38_cuda_device_runtime_compute_70_cpp1_ii_8b1a5d37':
link.stub:(.text+0x1ae): undefined reference to `__fatbinwrap_38_cuda_device_runtime_compute_70_cpp1_ii_8b1a5d37'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:5: all] Error 1
make[1]: Leaving directory '/opt/keycrack/BitCrack/KeyFinder'
make: *** [Makefile:90: dir_keyfinder] Error 2

typoworx-de avatar Feb 08 '21 11:02 typoworx-de