Forums

Need help installing Cryptocrack

Auteur Réponses
jus10 Dimanche 14 Juin 2015 à 9:51
jus10Anonymous

I'm a total noob at this, so I apologize in advance for sounding dumb.  I'd be very grateful for help getting Cryptocrack running on my Mac using PlayOnMac.   Cryptocrack is one of the best classical cipher solvers out there (for solving cryptograms, Vigenere ciphers, etc -- it isn't used for hacking at all), but it is only available for Windows.  The developer has suggested Mac users try Wine, but I haven't been able to get anywhere with it (probably because I have no idea what I'm doing).  Could I please beg for some help from the geniuses who frequent these boards?  Thanks in advance.

Cryptocrack:  https://sites.google.com/site/cryptocrackprogram/home

 

 

 

Ronin DUSETTE Mercredi 17 Juin 2015 à 16:09
Ronin DUSETTE

It is not listed in wineHQ's appdb, so I am not sure exactly what it would need to run. Can you post your system specs and full debug logs? That might help.


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
jus10 Jeudi 18 Juin 2015 à 9:12
jus10Anonymous

I'm on a mid-2011 iMac running OSX 10.10.3.   Since my previous post I've been able to get the application loaded into PlayOnMac and actually running.  The application is crashing frequently, though.

 

Here's an excerpt from the debug logs

 

 

 

 

Unhandled Exception:

 

System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]

 

 

  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 

 

 

  at System.Drawing.Graphics.GetHdc () [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x0000  at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 

 

 

  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)

 

 

  at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 

 

[06/17/15 23:55:47] - Running wine- CryptoCrack.exe (Working directory : /Users/justin/Library/PlayOnMac/wineprefix/CryptoCrack_PlayOnMac/drive_c/Program Files/Cryptocrack)

[06/17/15 23:55:48] - Running wine- CryptoCrack.exe (Working directory : /Users/justin/Library/PlayOnMac/wineprefix/CryptoCrack_PlayOnMac/drive_c/Program Files/Cryptocrack)

fixme:wincodecs:PngDecoder_Block_GetCount stub

fixme:wincodecs:PngDecoder_Block_GetCount stub

fixme:ver:GetCurrentPackageId (0x33f728 0x0): stub

fixme:ver:GetCurrentPackageId (0x33f728 0x0): stub

System.InvalidProgramException: Invalid IL code in <Module>:CSharedLibrary.findTopTenSolutions (): IL_00b7: ret       

 

 

 

  at <Module>.CPeriodic.solvePeriodic (CPeriodic* , System.String originalCipher, Int32 cipherType, Int32 keyLength, System.String userKeyword) [0x00000] in <filename unknown>:0 

 

  at CryptoCrack.Form1.SolveToolStripButton_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ToolStripItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in <filename unknown>:0 

 

  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)

 

  at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 

 

  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 

 

* Assertion: should not be reached at ../../../mono/mono/metadata/domain.c:1334

 

 

 

 

 

Unhandled Exception:

 

System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]

 

 

  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 

 

 

  at System.Drawing.Graphics.GetHdc () [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x0000  at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 

 

 

  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)

 

 

  at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 

 

err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.

* Assertion: should not be reached at ../../../mono/mono/metadata/domain.c:1334

 

 

 

 

 

Unhandled Exception:

 

System.ArgumentException: Object has been disposed.

 

 

  at System.Drawing.Font.ToHfont () [0x00000] in <filename unknown>:0 

 

 

  at (wrapper remoting-invoke-with-check) System.Drawing.Font:ToHfont ()

 

 

  at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x0000  at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripMenuItem.CalculatePreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.GetPreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.Control.PerformLayout () [0x00000] in <filename unknown>:0 

 

 

  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()

 

 

  at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 

 

 

  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)

 

 

  at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 

 

 

  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 

 

err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.

Ronin DUSETTE Jeudi 18 Juin 2015 à 17:31
Ronin DUSETTE

Try to install gdiplus from Install Components


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
jus10 Vendredi 19 Juin 2015 à 17:05
jus10Anonymous

I tried that and it is still crashing.

One thing I've noticed is that when I start the application, it tells me it can't find the dictionary and language files that are in the same directory with it.  I've used the Options menu item in the app to directly point the path to those files, but it still gives me that error message again when I restart the application.  Could that be the problem?  How do I get those files included some how? 

 

Thanks for all your help!