В статье под названием «Стресс-тест сети» описывается как установить Low Orbit Ion Cannon (LOIC). Поддержка таких дистрибутивов как Ubuntu и Debian заявлена официально для Low Orbit Ion Cannon (LOIC). Тем не менее, следование вышеприведённой инструкции не приводило к желаемому результату, т.е к установке и запуску LOIC. На процессе компиляции выдаётся ряд предупреждений, и всё в конечном счёте упирается в ошибку.
Полный вывод ошибок установки приведён в конце статьи. Но главной строкой, являющейся ключом к разрешении, проблемы является
error: Unable to find 'resgen' tool.
Этот самый resgen входит в состав mono-complete. Т.е. для полного разрешения нужно установить этот пакет. Установить можно следующим образом:
sudo apt-get install mono-complete
Устанавливается уйма разных пакетов, что может не всем понравится. Если кто-то может посоветовать, как более точно локализовать resgen, можно ли обойтись установкой меньшего количества пакетов, то пишите в комментариях?
Полный вывод ошибки при попытке установить Low Orbit Ion Cannon (LOIC) на Ubuntu, Linux Mint:
USSR loic # ./loic.sh install /usr/bin/git Cloning into 'LOIC'... remote: Counting objects: 404, done. remote: Total 404 (delta 0), reused 0 (delta 0), pack-reused 404 Receiving objects: 100% (404/404), 717.63 KiB | 398.00 KiB/s, done. Resolving deltas: 100% (206/206), done. Checking connectivity... готово. MonoDevelop Build Tool Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Loading projects .. Building Solution: LOIC (Debug) Building: IRC (Debug) Performing main compilation... WARNING: Assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL' not found. Make sure that the assembly exists in disk. If the reference is required to build the project you may get compilation errors. /usr/bin/mcs /noconfig "/r:/usr/lib/mono/2.0/mscorlib.dll" -nostdlib "/out:/home/dio/Рабочий стол/loic/LOIC/bin/Debug/IRC.dll" "/r:/usr/lib/mono/2.0/System.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;TRACE" /t:library "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/ChannelUser.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/Delegates.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/EventArgs.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcMessageData.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcUser.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannel.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannelUser.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Commands/IrcCommands.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Commands/Rfc2812.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Connection/Delegates.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Connection/EventArgs.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcProperties.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcTcpClient.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Properties/AssemblyInfo.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Consts.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/EventArgs.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Exceptions.cs" "/home/dio/Рабочий стол/loic/LOIC/IRC/Logger.cs" Compilation succeeded - 16 warning(s) /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(43,88): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(43,70): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(44,88): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(44,70): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(45,88): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(45,70): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(67,102): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(67,84): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(68,102): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(68,84): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannel.cs(40,79): warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannel.cs(40,61): warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvid er, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(415,58): warning CS0618: `System.Net.Dns.Resolve(string)' is obsolete: `Use GetHostEntry instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(831,42): warning CS0168: The variable `e' is declared but never used /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(913,42): warning CS0168: The variable `e' is declared but never used /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(53,34): warning CS0649: Field `Meebey.SmartIrc4net.IrcClient._PassiveChannelSyncing' is never assigned to, and will always have its default value `false' Построение завершено -- 0 ошибок, 17 предупреждений Building: LOIC (Debug) Performing main compilation... WARNING: The reference 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not valid for the target framework of the project. ERROR: Unable to find 'resgen' tool. Построение завершено -- 1 ошибка, 0 предупреждений warning: Assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL' not found. Make sure that the assembly exists in disk. If the reference is required to build the project you may get compilation errors. /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(43,88) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(43,70) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(44,88) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(44,70) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(45,88) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/Channel.cs(45,70) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(67,102) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(67,84) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(68,102) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(68,84) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannel.cs(40,79) : warning CS0618: `System.Collections.CaseInsensitiveHashCodeProvider' is obsolete: `Please use StringComparer instead.' /home/dio/Рабочий стол/loic/LOIC/IRC/Client/NonRfcChannel.cs(40,61) : warning CS0618: `System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)' is obsolete: `Please use Hashtable(IEqualityComparer) instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(415,58) : warning CS0618: `System.Net.Dns.Resolve(string)' is obsolete: `Use GetHostEntry instead' /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(831,42) : warning CS0168: The variable `e' is declared but never used /home/dio/Рабочий стол/loic/LOIC/IRC/Connection/IrcConnection.cs(913,42) : warning CS0168: The variable `e' is declared but never used /home/dio/Рабочий стол/loic/LOIC/IRC/Client/IrcClient.cs(53,34) : warning CS0649: Field `Meebey.SmartIrc4net.IrcClient._PassiveChannelSyncing' is never assigned to, and will always have its default value `false' /home/dio/Рабочий стол/loic/LOIC/frmMain.resx : error: Unable to find 'resgen' tool. USSR loic # ./loic.sh update /usr/bin/git Current branch master is up to date. /usr/bin/git MonoDevelop Build Tool Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Loading projects .. Building Solution: LOIC (Debug) Building: IRC (Debug) Performing main compilation... Skipping project since output files are up to date Построение завершено -- 0 ошибок, 0 предупреждений Building: LOIC (Debug) Performing main compilation... WARNING: The reference 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not valid for the target framework of the project. ERROR: Unable to find 'resgen' tool. Построение завершено -- 1 ошибка, 0 предупреждений /home/dio/Рабочий стол/loic/LOIC/frmMain.resx : error: Unable to find 'resgen' tool. USSR loic # /loic.sh install bash: /loic.sh: Нет такого файла или каталога USSR loic # ./loic.sh run /usr/bin/git MonoDevelop Build Tool Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Загружается решение: /home/dio/Рабочий стол/loic/LOIC/LOIC.sln Loading projects .. Building Solution: LOIC (Debug) Building: IRC (Debug) Performing main compilation... Skipping project since output files are up to date Построение завершено -- 0 ошибок, 0 предупреждений Building: LOIC (Debug) Performing main compilation... WARNING: The reference 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not valid for the target framework of the project. ERROR: Unable to find 'resgen' tool. Построение завершено -- 1 ошибка, 0 предупреждений /home/dio/Рабочий стол/loic/LOIC/frmMain.resx : error: Unable to find 'resgen' tool. /usr/bin/mono Cannot open assembly 'bin/Debug/LOIC.exe': Нет такого файла или каталога.
Kali Linux, LOIC ставится без проблем командой:
dpkg -i название пакета.deb
Запускается командой loic. Всё, софтинка открывается и готова к работе.