Giter Club home page Giter Club logo

Comments (21)

aczid avatar aczid commented on May 30, 2024

Hey, I'm sorry but I don't think this will really work again. There is no up-to-date libnfc.dll as far as I can tell.

from crypto1_bs.

iWhacko avatar iWhacko commented on May 30, 2024

I just built the libnfc.dll from source?

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

solve_bs is enough.Not need libnfc.

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

I had trouble building the latest libnfc.dll. Anyway I'm not sure why it doesn't work when compiled on windows.

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

Hi,You can use cmake to build it.Then use gcc .Can you give me an e-mail address?I can send you lib and dll.

from crypto1_bs.

iWhacko avatar iWhacko commented on May 30, 2024

crypto1_bs_crack.c uses sysinfo.h etc and some linux specific calls for memory. I'm not familiar enough with it that I can port it to windows. However I added the dll etc to this post maybe it's of use to you for testing
libnfc.zip

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

I did a bit more investigation. The problem I'm having is combining a 32 bit-library (libnfc) with some 64-bit code (crypto1_bs/crapto1/craptev1).

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

After some more small patches, I've tested a linux/mingw cross-compiled versions of solve_piwi and solve_piwi_bs for 32-bit windows in a win7 VM and they both work fine for me. No detection of the number of CPU cores yet, though. And also I did not get these versions working on native win8 for some reason...
Added make targets 'win32' and 'win64' for these. If anything it's evidence the code works on windows in principle.

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

I'll try!
Thank you again for your great help!

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

text

Perfect!
Thanks again!

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

Wow, I didn't get libnfc code to work when cross-compiling. Thank you for testing, that's even better than I had hoped!

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

What build system are you using? You're very welcome to add native (non-mingw) targets to the Makefile and file a pull request. Feel free to rename the mingw cross-compilation make targets while you are at it.

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

I assume you also had to replace some of the signal()/alarm() calls to use windows-style Timers? I have an untested patch for libnfc_crypto1_bs.c for that, too.

from crypto1_bs.

maxben14 avatar maxben14 commented on May 30, 2024

dxls168, write please how compile crypto1_bs on windows platform.

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

1.You need download the Mingw .
2.Put the files into the ’user‘ folder.
3 Run the Mingw-shell and into the ’user‘ folder,then input the command 'make' .
4 If anything get wrong,change the Makefile chose one to make.

from crypto1_bs.

maxben14 avatar maxben14 commented on May 30, 2024

dxls168, can send me win exe file compiled please ?

from crypto1_bs.

aczid avatar aczid commented on May 30, 2024

Bla's license clearly states no redistribution. Don't be lazy.

from crypto1_bs.

marcoxx888 avatar marcoxx888 commented on May 30, 2024

hi dxls168, may I have some tips to get crypto1_bs compiled for Windows?
My emal is marco.rossinol at gmail . com

from crypto1_bs.

briggeml avatar briggeml commented on May 30, 2024

Hi @dxls168, I also compiled crypto1_bs for Win, but still couldn't get keys despite the long time passed. What did you do with (Mingw warning and errors):

  1. thread_count = get_nprocs_conf();? //hardcoded threads?
  2. alarm(1); signal(SIGALRM, notify_status_offline);? //some kind of: timeSetEvent(0, 0, notify_status_offline, 0, TIME_PERIODIC);?
  3. fcntl(0, F_SETFL, O_NONBLOCK);? //unsigned long on = 1; ioctlsocket(0, FIONBIO, &on);?

from crypto1_bs.

dxls168 avatar dxls168 commented on May 30, 2024

Hi @briggeml:
These are Linux functions.You can ignore progress display and set the thread_count =1.

from crypto1_bs.

Semen8991 avatar Semen8991 commented on May 30, 2024

Hi @briggeml:
These are Linux functions.You can ignore progress display and set the thread_count =1.

Hello! Can you please help with compiling on Windows?

from crypto1_bs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.