curlyboi / hashtopus

Distributed wrapper around oclHashcat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unhandled Exception: System.OverflowException: Value is too large

martiGIT opened this issue · comments

when using client at Ubunut 12.04 i got:

$ mono hashtopus.exe debug
Hashtopus 0.9.8
Debug mode on.
lspci
uname -n
blkid /dev/mapper/brhdd-rootfs
Logging in to server...OK.
Linux OS detected.
AMD detected.

Unhandled Exception: System.OverflowException: Value is too large
at System.Int64.Parse (System.String s) [0x00000] in :0
at hashtopus.hashtopus.versionDetect () [0x00000] in :0
at hashtopus.hashtopus.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value is too large
at System.Int64.Parse (System.String s) [0x00000] in :0
at hashtopus.hashtopus.versionDetect () [0x00000] in :0
at hashtopus.hashtopus.Main (System.String[] args) [0x00000] in :0

this agent registers in admin panel.

OK, I got it (strace was my friend :) ), first exception was because in file catalyst_ver.txt i got value: 140914091409 which was some kind of error, replaced with 1409 and everything went well.

Another issue was lack of 7zr in folder with hashtopus.exe:
Could not start 7zr.
Accepting EULA...

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path "/home/broker/hashtopus/hashcat/eula.accepted".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in :0
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in :0
at hashtopus.hashtopus.acceptEula () [0x00000] in :0
at hashtopus.hashtopus.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "/home/broker/hashtopus/hashcat/eula.accepted".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in :0
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in :0
at hashtopus.hashtopus.acceptEula () [0x00000] in :0
at hashtopus.hashtopus.Main (System.String[] args) [0x00000] in :0

so, put 7zr in your working dir and make sure it has +x permission.

7zr should be automatically downloaded from the server as it is part of the installation package. This is probably some kind of problem with access rights.