Skip to content

Commit

Permalink
update20190321
Browse files Browse the repository at this point in the history
调整界面,变更ssh库。
优化RDP检查,免注册dll,如果远程桌面配置为“只允许运行带网络级身份验证的远程桌面的计算机连接”,程序暂时无法检查。
  • Loading branch information
shack2 committed Mar 21, 2019
1 parent 267d9d0 commit b24616a
Show file tree
Hide file tree
Showing 317 changed files with 202 additions and 54,024 deletions.
236 changes: 141 additions & 95 deletions SNETCracker/Main.Designer.cs

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions SNETCracker/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ namespace SNETCracker
public partial class Main : Form
{


private HashSet<string> list_username = new HashSet<string>();
private HashSet<string> list_password = new HashSet<string>();
private HashSet<string> list_target = new HashSet<string>();
Expand Down Expand Up @@ -798,6 +797,7 @@ private Server creackRDP(String ip, int port,String username, String password, i
server.isEndMRE.WaitOne();
Server newserver = new Server();
newserver.isSuccess = server.isSuccess;

this.rdp_panle.Invoke(new deleteClearRDP(ClearRDP), server.client);
return newserver;
}
Expand All @@ -817,6 +817,7 @@ private void initStatusCount()
allCrackCount = 0;
}

/*使用转换过的dll后,此方法废弃
private void regDLL() {
Process p = null;
try
Expand All @@ -837,11 +838,11 @@ private void initStatusCount()
}
}
}
}*/
private void Main_Shown(object sender, EventArgs e)
{
this.Text += " "+Main.version + "";
regDLL();

this.cbox_reTry.SelectedIndex = 0;
this.cbox_threadSize.SelectedIndex = 10;
this.cbox_timeOut.SelectedIndex = 2;
Expand Down Expand Up @@ -1094,7 +1095,7 @@ public static String getSid()
return sid;
}

private static int version = 20181214;
private static int version = 20190321;
public static string versionURL = "http://www.shack2.org/soft/getNewVersion?ENNAME=SNETCracker&NO="+ Uri.EscapeDataString(getSid())+ "&VERSION="+ version;
private void tsmi_help_version_Click(object sender, EventArgs e)
{
Expand Down Expand Up @@ -1177,5 +1178,7 @@ private void tsmi_reloadConfig_Click(object sender, EventArgs e)
MessageBox.Show("ok");

}


}
}
7 changes: 4 additions & 3 deletions SNETCracker/Model/CrackSSH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public CrackSSH()

}

/*
public override Server creack(string ip, int port, string username, string password, int timeOut)
{
Rebex.Net.Ssh ssh = new Rebex.Net.Ssh();
Expand Down Expand Up @@ -46,10 +47,10 @@ public override Server creack(string ip, int port, string username, string passw
}
return server;
}
}*/


/*

public override Server creack(string ip, int port, string username, string password, int timeOut)
{
Chilkat.Ssh ssh = new Chilkat.Ssh();
Expand Down Expand Up @@ -90,7 +91,7 @@ public override Server creack(string ip, int port, string username, string passw
}
return server;

}*/
}

}
}
61 changes: 23 additions & 38 deletions SNETCracker/SNETCracker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="AxMSTSCLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\rdp\AxMSTSCLib.dll</HintPath>
</Reference>
<Reference Include="ChilkatDotNet4">
<HintPath>libs\ChilkatDotNet4.dll</HintPath>
</Reference>
Expand All @@ -84,16 +88,14 @@
<HintPath>libs\LumiSoft.Net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
<Private>True</Private>
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\redis\StackExchange.Redis-1.2.6\Microsoft.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
<Private>True</Private>
<Reference Include="Microsoft.Threading.Tasks.Extensions">
<HintPath>libs\redis\StackExchange.Redis-1.2.6\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
<Private>True</Private>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop">
<HintPath>libs\redis\StackExchange.Redis-1.2.6\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Bson, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -107,6 +109,11 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\postgresql\Mono.Security.dll</HintPath>
</Reference>
<Reference Include="MSTSCLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>True</EmbedInteropTypes>
<HintPath>libs\rdp\MSTSCLib.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=6.2.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\MySql.Data.dll</HintPath>
Expand Down Expand Up @@ -135,24 +142,21 @@
<HintPath>libs\rebex\Rebex.Terminal.dll</HintPath>
</Reference>
<Reference Include="StackExchange.Redis, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\StackExchange.Redis.1.2.1\lib\net40\StackExchange.Redis.dll</HintPath>
<Private>True</Private>
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\redis\StackExchange.Redis-1.2.6\StackExchange.Redis.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.IO, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.IO.dll</HintPath>
<Private>True</Private>
<Reference Include="System.IO">
<HintPath>libs\redis\StackExchange.Redis-1.2.6\System.IO.dll</HintPath>
</Reference>
<Reference Include="System.Management" />
<Reference Include="System.Net" />
<Reference Include="System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Runtime.dll</HintPath>
<Private>True</Private>
<Reference Include="System.Runtime">
<HintPath>libs\redis\StackExchange.Redis-1.2.6\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll</HintPath>
<Private>True</Private>
<Reference Include="System.Threading.Tasks">
<HintPath>libs\redis\StackExchange.Redis-1.2.6\System.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
Expand Down Expand Up @@ -309,25 +313,6 @@
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<COMReference Include="AxMSTSCLib">
<Guid>{8C11EFA1-92C3-11D1-BC1E-00C04FA31489}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>aximp</WrapperTool>
<Isolated>True</Isolated>
</COMReference>
<COMReference Include="MSTSCLib">
<Guid>{8C11EFA1-92C3-11D1-BC1E-00C04FA31489}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>True</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</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.
Expand Down
Binary file removed SNETCracker/libs/rdp/AxInterop.MSTSCLib.dll
Binary file not shown.
Binary file added SNETCracker/libs/rdp/AxMSTSCLib.dll
Binary file not shown.
Binary file removed SNETCracker/libs/rdp/Interop.MSTSCLib.dll
Binary file not shown.
Binary file added SNETCracker/libs/rdp/MSTSCLib.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.Common.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.FileServer.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.FileSystem.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.Networking.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.Sftp.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.SshShell.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.Telnet.dll
Binary file not shown.
Binary file modified SNETCracker/libs/rebex/Rebex.Terminal.dll
Binary file not shown.
23 changes: 0 additions & 23 deletions SNETCracker/libs/redis/StackExchange.Redis-1.2.6/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions SNETCracker/libs/redis/StackExchange.Redis-1.2.6/.hgignore

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b24616a

Please sign in to comment.