NewEraCracker / LOIC

Deprecated - Low Orbit Ion Cannon - An open source network stress tool, written in C#. Based on Praetox's LOIC project. USE ON YOUR OWN RISK. WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. IF YOU GET V& IT IS YOUR FAULT.
https://github.com/NewEraCracker/LOIC/
Other
2.6k stars 646 forks source link

Unhandled Exception #76

Closed rawstring closed 6 years ago

rawstring commented 6 years ago

Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <8f2c484307284b51944a1a13a14c0266>:0 at System.TermInfoDriver..ctor (System.String term) [0x00058] in <8f2c484307284b51944a1a13a14c0266>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.ConsoleDriver..cctor () [0x00062] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Console..cctor () [0x000a8] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of inner exception stack trace --- at Mono.XBuild.CommandLine.ErrorUtilities.Display (System.String[] array) [0x0000d] in :0 at Mono.XBuild.CommandLine.ErrorUtilities.ShowVersion (System.Boolean exit) [0x00000] in :0 at Mono.XBuild.CommandLine.MainClass.Execute () [0x00048] in :0 at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x0000d] in :0

NewEraCracker commented 6 years ago

Are you using the latest version of the install script? https://github.com/NewEraCracker/LOIC/blob/master/loic.sh

Can you tell me the Linux distro & version?

rawstring commented 6 years ago

I'm using Kali Linux 2018.3 (32bit version) all updated and upgraded. And using that same LOIC file. Full error: https://pastebin.com/AnWjhsTF Uname: Linux en0xCr3w 4.17.0-kali1-686-pae #1 SMP Debian 4.17.8-1kali1 (2018-07-24) i686 GNU/Linux

NewEraCracker commented 6 years ago

Okay. Seems like they killed .net 4.0 for good.

Please try this script instead: https://github.com/NewEraCracker/LOIC/blob/master/loic-net4.5.sh

NewEraCracker commented 6 years ago

I did not test it, but might work...

rawstring commented 6 years ago

@NewEraCracker Installation was successful now. Thank you very much. https://pastebin.com/SPQL6FQX - This issue now with update command after install !!

NewEraCracker commented 6 years ago

You should probably do the following. git clean -fx ./loic-net4.5.sh update

rawstring commented 6 years ago

Yep it worked. Thank you very much Sir :+1:

NewEraCracker commented 6 years ago

Just to make sure.

You're using the very latest version, right? https://github.com/NewEraCracker/LOIC/commits/master

Also mind making sure the loic-net4.5.sh install Is working fine with the packages I'm using. Thanks a lot!

skirt228 commented 2 years ago

Hello, I am very new to github and Kali. Would you be able to help me with this Unhandled exception I am getting? I am trying to run LOIC.exe by either "mono LOIC.exe" or "./LOIC.exe" and I am getting this error. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

NewEraCracker commented 2 years ago

No support for Kali Linux will be given.