Coder Social home page Coder Social logo

Illegal instruction about crypto1_bs HOT 8 CLOSED

aczid avatar aczid commented on August 17, 2024
Illegal instruction

from crypto1_bs.

Comments (8)

aczid avatar aczid commented on August 17, 2024

This software is not supported on x86 machines. You need to use a 64 bit Linux OS. The underlying code for craptev1 does not work on x86, so patching my code will not help.

from crypto1_bs.

DrSchottky avatar DrSchottky commented on August 17, 2024

Code actually works on x86 machines. The Illegal Instruction mentioned by @bildin was caused by popcnt usage (as said in #18 ). I successfully recovered a key with 50min of offline crunching on a late '03 2.8GHz Celeron.
Anyway there are integers overflows somewhere in the code that screw up things ( like cracking %).
I haven't gone deep into it, but I've seen many variables declared as size_t : that's a type-misusage since they don't represent the size of an object and width is platform-dependant.

from crypto1_bs.

aczid avatar aczid commented on August 17, 2024

Thanks for the report, you are right. I got weird results from craptev1_sizeof_space but it seems that's the only place anything goes wrong. I'll try to fix the code accordingly.

from crypto1_bs.

aczid avatar aczid commented on August 17, 2024

This should be fixed, please check the results. craptev1_sizeof_space needs a 64-bit up-conversion to get sensible results. bla has released craptev1-v1.1 that fixes this issue.

from crypto1_bs.

Gritsenich avatar Gritsenich commented on August 17, 2024

My friend has the same problem "Illegal instruction" with a new compiled crypto1_bs (Kali x64) like with old version.
He tried crypto1_bs on this processors:

  1. Intel® Core™ i5-2520M (AVX supprorted only);
  2. Intel® Core™ i5-3317U (AVX supprorted only).
    Any idea will be helpful.

from crypto1_bs.

DrSchottky avatar DrSchottky commented on August 17, 2024

Very strange, I tested it on a 2nd gen i5 (i5-24xxM) and it worked flawlessy,
Try to recompile it w/o -march=native

from crypto1_bs.

Gritsenich avatar Gritsenich commented on August 17, 2024

Sorry. It was my mistake. Everything is fine.
I just didn't known about direct compilation on the targeting computer and sent him my result.
My computer has AVX2 supported processor.

from crypto1_bs.

aczid avatar aczid commented on August 17, 2024

Thanks to you both for confirming it still works ok. :)

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.