Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed the trayicon - Version 1.1.2.3

  • Loading branch information...
commit 6e8f54f0be4228a97d521cba84c4d6de32bb935c 1 parent 0983c16
@BeSquare BeSquare authored
View
BIN  Help/help.chm
Binary file not shown
View
4 Help/loichlp.hhp
@@ -1,7 +1,7 @@
[OPTIONS]
Auto Index=Yes
Compatibility=1.1 or later
-Compiled file=loichlp.chm
+Compiled file=help.chm
Contents file=Table of Contents.hhc
Default Font=Arial,10,0
Default Window=NewFag
@@ -13,7 +13,7 @@ Language=0x409 Englisch (USA)
Title=LOIC's NewFag Help
[WINDOWS]
-NewFag="LOIC's NewFag Help","Table of Contents.hhc","Index.hhk","HTML\newfag.html","HTML\index.html",,,,,0x62520,240,0x307e,[0,0,800,600],,,,,2,,0
+NewFag="LOIC's NewFag Help","Table of Contents.hhc","Index.hhk","HTML\newfag.html","HTML\index.html",,,,,0x62520,240,0x307e,[0,0,800,600],,,,,,,0
[FILES]
View
BIN  IRC/obj/Release/IRC.dll
Binary file not shown
View
BIN  IRC/obj/Release/IRC.pdb
Binary file not shown
View
32 LOIC.csproj
@@ -19,6 +19,21 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<TargetFrameworkProfile />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -107,6 +122,23 @@
<Name>IRC</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
13 LOIC.csproj.user
@@ -1,6 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
- <StartArguments>/overlord http://is.gd/gnHW9 /minimized</StartArguments>
+ <StartArguments>
+ </StartArguments>
+ </PropertyGroup>
+ <PropertyGroup>
+ <PublishUrlHistory>publish\</PublishUrlHistory>
+ <InstallUrlHistory />
+ <SupportUrlHistory />
+ <UpdateUrlHistory />
+ <BootstrapperUrlHistory />
+ <ErrorReportUrlHistory />
+ <FallbackCulture>de-DE</FallbackCulture>
+ <VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
View
BIN  LOIC.suo
Binary file not shown
View
3  frmMain.Designer.cs
@@ -894,13 +894,14 @@ private void InitializeComponent()
this.TrayIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("TrayIcon.Icon")));
this.TrayIcon.Text = "Waiting for target!";
this.TrayIcon.DoubleClick += new System.EventHandler(this.TrayIcon_DoubleClick);
+ this.TrayIcon.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TrayIcon_MouseMove);
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
- this.ClientSize = new System.Drawing.Size(948, 486);
+ this.ClientSize = new System.Drawing.Size(983, 486);
this.Controls.Add(this.chkbOLUp);
this.Controls.Add(this.textOLTime);
this.Controls.Add(this.label28);
View
67 frmMain.cs
@@ -115,6 +115,10 @@ private void Attack(bool toggle, bool on, bool silent)
chkUsegZip.Enabled = false;
chkUseGet.Enabled = false;
chkMsgRandom.Enabled = false;
+ chkRandom.Enabled = false;
+ cbMethod.Enabled = false;
+ chkResp.Enabled = false;
+ txtSLSpT.Enabled = false;
if (String.Equals(sMethod, "TCP") || String.Equals(sMethod, "UDP"))
{
@@ -149,7 +153,7 @@ private void Attack(bool toggle, bool on, bool silent)
{
if (iProtocol == 5)
{
- ts = new ReCoil(sTargetDNS, sTargetIP, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, chkResp.Checked, iSockspThread, chkUsegZip.Checked);
+ ts = new ReCoil(sTargetDNS, sTargetIP, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, bResp, iSockspThread, chkUsegZip.Checked);
}
else
{
@@ -168,6 +172,10 @@ private void Attack(bool toggle, bool on, bool silent)
chkUsegZip.Enabled = true;
chkUseGet.Enabled = true;
chkMsgRandom.Enabled = true;
+ chkRandom.Enabled = true;
+ cbMethod.Enabled = true;
+ chkResp.Enabled = true;
+ txtSLSpT.Enabled = true;
if (xxp != null)
{
for (int a = 0; a < xxp.Length; a++)
@@ -682,7 +690,29 @@ private void tShowStats_Tick(object sender, EventArgs e)
}
lbRequested.Text = iFloodCount.ToString();
lbFailed.Text = iFailed.ToString();
- }
+ if (!bIsHidden && TrayIcon.Visible)
+ {
+ if (isFlooding)
+ {
+ string tst = "Target: " + ((sTargetDNS == "") ? sTargetIP : (sTargetDNS + "(" + sTargetIP + ")"));
+ if (tst.Length > 63)
+ tst = tst.Substring(0, 63);
+ TrayIcon.Text = tst;
+ TrayIcon.BalloonTipTitle = tst;
+ tst = "requested: " + iFloodCount.ToString() + Environment.NewLine
+ + "failed: " + iFailed.ToString();
+ if (tst.Length > 254)
+ tst = tst.Substring(0, 254);
+ TrayIcon.BalloonTipText = tst;
+ }
+ else
+ {
+ TrayIcon.Text = "Waiting for target!";
+ TrayIcon.BalloonTipText = "";
+ TrayIcon.BalloonTipTitle = "";
+ }
+ }
+ }
if (iProtocol >= 3)
{
int iIdle = 0;
@@ -745,7 +775,7 @@ private void tShowStats_Tick(object sender, EventArgs e)
cHLDos ts;
if (iProtocol == 5)
{
- ts = new ReCoil(sTargetDNS, sTargetIP, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, chkResp.Checked, iSockspThread, chkUsegZip.Checked);
+ ts = new ReCoil(sTargetDNS, sTargetIP, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, bResp, iSockspThread, chkUsegZip.Checked);
}
else
{
@@ -759,12 +789,12 @@ private void tShowStats_Tick(object sender, EventArgs e)
}
if (isFlooding)
{
- if (lLoic.Count < iThreads)
+ while (lLoic.Count < iThreads)
{
cHLDos ts;
if (iProtocol == 5)
{
- ts = new ReCoil(sTargetDNS, sTargetDNS, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, chkResp.Checked, iSockspThread, chkUsegZip.Checked);
+ ts = new ReCoil(sTargetDNS, sTargetDNS, iPort, sSubsite, iDelay, iTimeout, chkRandom.Checked, bResp, iSockspThread, chkUsegZip.Checked);
}
else
{
@@ -773,7 +803,7 @@ private void tShowStats_Tick(object sender, EventArgs e)
ts.start();
lLoic.Add(ts);
}
- else if (lLoic.Count > iThreads)
+ if (lLoic.Count > iThreads)
{
for (int a = (lLoic.Count - 1); a >= iThreads; a--)
{
@@ -794,18 +824,27 @@ private void tShowStats_Tick(object sender, EventArgs e)
{
if (isFlooding)
{
- TrayIcon.Text = "Target: " + ((sTargetDNS == "") ? sTargetIP : (sTargetDNS + "(" + sTargetIP + ")")) + Environment.NewLine + Environment.NewLine
- + "Idle: " + iIdle.ToString() + Environment.NewLine
+ string tst = "Target: " + ((sTargetDNS == "") ? sTargetIP : (sTargetDNS + "(" + sTargetIP + ")"));
+ if(tst.Length > 63)
+ tst = tst.Substring(0,63);
+ TrayIcon.Text = tst;
+ TrayIcon.BalloonTipTitle = tst;
+ tst = "Idle: " + iIdle.ToString() + Environment.NewLine
+ "Connecting: " + iConnecting.ToString() + Environment.NewLine
+ "Requesting: " + iRequesting.ToString() + Environment.NewLine
+ "Downloading: " + iDownloading.ToString() + Environment.NewLine + Environment.NewLine
+ "downloaded: " + iDownloaded.ToString() + Environment.NewLine
+ "requested: " + iRequested.ToString() + Environment.NewLine
- + "failed: " + iFailed.ToString() + Environment.NewLine;
+ + "failed: " + iFailed.ToString();
+ if(tst.Length > 254)
+ tst = tst.Substring(0,254);
+ TrayIcon.BalloonTipText = tst;
}
else
{
TrayIcon.Text = "Waiting for target!";
+ TrayIcon.BalloonTipText = "";
+ TrayIcon.BalloonTipTitle = "";
}
}
}
@@ -1396,6 +1435,8 @@ private void TrayIcon_DoubleClick(object sender, EventArgs e)
{
this.ShowInTaskbar = true;
TrayIcon.Visible = false;
+ this.WindowState = FormWindowState.Normal;
+ this.Focus();
}
private void frmMain_Resize(object sender, EventArgs e)
@@ -1404,9 +1445,13 @@ private void frmMain_Resize(object sender, EventArgs e)
{
TrayIcon.Visible = true;
this.ShowInTaskbar = false;
- this.WindowState = FormWindowState.Normal;
- this.Focus();
}
}
+
+ private void TrayIcon_MouseMove(object sender, MouseEventArgs e)
+ {
+ if((TrayIcon.BalloonTipText != "") && (TrayIcon.BalloonTipTitle != ""))
+ TrayIcon.ShowBalloonTip(1);
+ }
}
}
View
9 frmMain.resx
@@ -123,15 +123,6 @@
<metadata name="TTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>123, 3</value>
</metadata>
- <metadata name="TTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>123, 3</value>
- </metadata>
- <metadata name="TTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>123, 3</value>
- </metadata>
- <metadata name="TTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>123, 3</value>
- </metadata>
<metadata name="tShowStats.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>14, 2</value>
</metadata>
Please sign in to comment.
Something went wrong with that request. Please try again.