├── EnhancedPsExecGUI
├── .gitignore
├── App.config
├── CreditsForm.Designer.cs
├── CreditsForm.cs
├── CreditsForm.resx
├── EnhancedPsExec.csproj
├── EnhancedPsExec.sln
├── Keyboard.resx
├── PrefForm.Designer.cs
├── PrefForm.cs
├── PrefForm.resx
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── RemoteConsole.Designer.cs
├── RemoteConsole.cs
├── RemoteConsole.resx
├── Resources
│ ├── 11_Windows_Key-512.png
│ ├── 68987066-no-keyboard-simple-sign-.jpg
│ ├── images.jpg
│ ├── invisible_icon.png
│ └── newformimg.png
├── app.manifest
├── bin
│ └── x64
│ │ ├── Debug
│ │ ├── EnhancedPsExec.exe
│ │ ├── EnhancedPsExec.exe.config
│ │ └── en-US
│ │ │ └── EnhancedPsExec.resources.dll
│ │ └── Release
│ │ ├── EnhancedPsExec.exe
│ │ ├── EnhancedPsExec.exe.config
│ │ ├── INIFileParser.dll
│ │ ├── INIFileParser.xml
│ │ ├── PyFiles
│ │ ├── closechrome.py
│ │ ├── convert.py
│ │ └── openurl.py
│ │ ├── README.txt
│ │ ├── Untitled-1.psd
│ │ ├── config
│ │ └── config.ini
│ │ ├── en-US
│ │ └── EnhancedPsExec.resources.dll
│ │ ├── logo_bGC_icon.ico
│ │ ├── logo_big.ico
│ │ ├── logo_big.png
│ │ ├── logo_big_very.png
│ │ ├── openurl.exe
│ │ └── paexec.exe
├── epsexecForm.Designer.cs
├── epsexecForm.cs
├── epsexecForm.en-US.resx
├── epsexecForm.resx
├── howToUse.Designer.cs
├── howToUse.cs
├── howToUse.resx
├── install.vbs
├── keyboard.Designer.cs
├── keyboard.cs
├── logo_bGC_icon.ico
├── obj
│ ├── Release
│ │ ├── EnhancedPsExec.Properties.Resources.resources
│ │ ├── EnhancedPsExec.exe
│ │ ├── EnhancedPsExecGUI.Form1.resources
│ │ ├── EnhancedPsExecGUI.csproj.FileListAbsolute.txt
│ │ └── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ └── x64
│ │ └── Release
│ │ ├── EnhancedPsExec.Properties.Resources.resources
│ │ ├── EnhancedPsExec.csproj.FileListAbsolute.txt
│ │ ├── EnhancedPsExec.exe
│ │ ├── EnhancedPsExec.howToUse.resources
│ │ ├── EnhancedPsExec.scannerForm.resources
│ │ ├── EnhancedPsExecGUI.csproj.FileListAbsolute.txt
│ │ ├── EnhancedPsExecGUI.epsexecForm.resources
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
├── packages.config
├── scannerForm.Designer.cs
├── scannerForm.cs
├── scannerForm.resx
├── scriptingHowTo.Designer.cs
├── scriptingHowTo.cs
├── scriptingHowTo.resx
└── uninstall.vbs
├── README.md
├── Setup1
├── Release
│ ├── Enhanced-PsExec-Installer.msi
│ └── setup.exe
└── Setup1.vdproj
└── convert.py
/EnhancedPsExecGUI/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.gitignore.io/api/csharp
3 | # Edit at https://www.gitignore.io/?templates=csharp
4 | *.psd
5 | obj/
6 | ### Csharp ###
7 | ## Ignore Visual Studio temporary files, build results, and
8 | ## files generated by popular Visual Studio add-ons.
9 | ##
10 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
11 |
12 | # User-specific files
13 | *.rsuser
14 | *.suo
15 | *.user
16 | *.userosscache
17 | *.sln.docstates
18 |
19 | # User-specific files (MonoDevelop/Xamarin Studio)
20 | *.userprefs
21 |
22 | # Mono auto generated files
23 | mono_crash.*
24 |
25 | # Visual Studio 2015/2017 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # Visual Studio 2017 auto generated files
31 | Generated\ Files/
32 |
33 | # MSTest test Results
34 | [Tt]est[Rr]esult*/
35 | [Bb]uild[Ll]og.*
36 |
37 | # NUnit
38 | *.VisualState.xml
39 | TestResult.xml
40 | nunit-*.xml
41 |
42 | # Build Results of an ATL Project
43 | [Dd]ebugPS/
44 | [Rr]eleasePS/
45 | dlldata.c
46 |
47 | # Benchmark Results
48 | BenchmarkDotNet.Artifacts/
49 |
50 | # .NET Core
51 | project.lock.json
52 | project.fragment.lock.json
53 | artifacts/
54 |
55 | # StyleCop
56 | StyleCopReport.xml
57 |
58 | # Files built by Visual Studio
59 | *_i.c
60 | *_p.c
61 | *_h.h
62 | *.ilk
63 | *.meta
64 | *.obj
65 | *.iobj
66 | *.pch
67 | *.pdb
68 | *.ipdb
69 | *.pgc
70 | *.pgd
71 | *.rsp
72 | *.sbr
73 | *.tlb
74 | *.tli
75 | *.tlh
76 | *.tmp
77 | *.tmp_proj
78 | *_wpftmp.csproj
79 | *.log
80 | *.vspscc
81 | *.vssscc
82 | .builds
83 | *.pidb
84 | *.svclog
85 | *.scc
86 |
87 | # Chutzpah Test files
88 | _Chutzpah*
89 |
90 | # Visual C++ cache files
91 | ipch/
92 | *.aps
93 | *.ncb
94 | *.opendb
95 | *.opensdf
96 | *.sdf
97 | *.cachefile
98 | *.VC.db
99 | *.VC.VC.opendb
100 |
101 | # Visual Studio profiler
102 | *.psess
103 | *.vsp
104 | *.vspx
105 | *.sap
106 |
107 | # Visual Studio Trace Files
108 | *.e2e
109 |
110 | # TFS 2012 Local Workspace
111 | $tf/
112 |
113 | # Guidance Automation Toolkit
114 | *.gpState
115 |
116 | # ReSharper is a .NET coding add-in
117 | _ReSharper*/
118 | *.[Rr]e[Ss]harper
119 | *.DotSettings.user
120 |
121 | # JustCode is a .NET coding add-in
122 | .JustCode
123 |
124 | # TeamCity is a build add-in
125 | _TeamCity*
126 |
127 | # DotCover is a Code Coverage Tool
128 | *.dotCover
129 |
130 | # AxoCover is a Code Coverage Tool
131 | .axoCover/*
132 | !.axoCover/settings.json
133 |
134 | # Visual Studio code coverage results
135 | *.coverage
136 | *.coveragexml
137 |
138 | # NCrunch
139 | _NCrunch_*
140 | .*crunch*.local.xml
141 | nCrunchTemp_*
142 |
143 | # MightyMoose
144 | *.mm.*
145 | AutoTest.Net/
146 |
147 | # Web workbench (sass)
148 | .sass-cache/
149 |
150 | # Installshield output folder
151 | [Ee]xpress/
152 |
153 | # DocProject is a documentation generator add-in
154 | DocProject/buildhelp/
155 | DocProject/Help/*.HxT
156 | DocProject/Help/*.HxC
157 | DocProject/Help/*.hhc
158 | DocProject/Help/*.hhk
159 | DocProject/Help/*.hhp
160 | DocProject/Help/Html2
161 | DocProject/Help/html
162 |
163 | # Click-Once directory
164 | publish/
165 |
166 | # Publish Web Output
167 | *.[Pp]ublish.xml
168 | *.azurePubxml
169 | # Note: Comment the next line if you want to checkin your web deploy settings,
170 | # but database connection strings (with potential passwords) will be unencrypted
171 | *.pubxml
172 | *.publishproj
173 |
174 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
175 | # checkin your Azure Web App publish settings, but sensitive information contained
176 | # in these scripts will be unencrypted
177 | PublishScripts/
178 |
179 | # NuGet Packages
180 | *.nupkg
181 | # NuGet Symbol Packages
182 | *.snupkg
183 | # The packages folder can be ignored because of Package Restore
184 | **/[Pp]ackages/*
185 | # except build/, which is used as an MSBuild target.
186 | !**/[Pp]ackages/build/
187 | # Uncomment if necessary however generally it will be regenerated when needed
188 | #!**/[Pp]ackages/repositories.config
189 | # NuGet v3's project.json files produces more ignorable files
190 | *.nuget.props
191 | *.nuget.targets
192 |
193 | # Microsoft Azure Build Output
194 | csx/
195 | *.build.csdef
196 |
197 | # Microsoft Azure Emulator
198 | ecf/
199 | rcf/
200 |
201 | # Windows Store app package directories and files
202 | AppPackages/
203 | BundleArtifacts/
204 | Package.StoreAssociation.xml
205 | _pkginfo.txt
206 | *.appx
207 | *.appxbundle
208 | *.appxupload
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- [Bb]ackup.rdl
259 | *- [Bb]ackup ([0-9]).rdl
260 | *- [Bb]ackup ([0-9][0-9]).rdl
261 |
262 | # Microsoft Fakes
263 | FakesAssemblies/
264 |
265 | # GhostDoc plugin setting file
266 | *.GhostDoc.xml
267 |
268 | # Node.js Tools for Visual Studio
269 | .ntvs_analysis.dat
270 | node_modules/
271 |
272 | # Visual Studio 6 build log
273 | *.plg
274 |
275 | # Visual Studio 6 workspace options file
276 | *.opt
277 |
278 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
279 | *.vbw
280 |
281 | # Visual Studio LightSwitch build output
282 | **/*.HTMLClient/GeneratedArtifacts
283 | **/*.DesktopClient/GeneratedArtifacts
284 | **/*.DesktopClient/ModelManifest.xml
285 | **/*.Server/GeneratedArtifacts
286 | **/*.Server/ModelManifest.xml
287 | _Pvt_Extensions
288 |
289 | # Paket dependency manager
290 | .paket/paket.exe
291 | paket-files/
292 |
293 | # FAKE - F# Make
294 | .fake/
295 |
296 | # CodeRush personal settings
297 | .cr/personal
298 |
299 | # Python Tools for Visual Studio (PTVS)
300 | __pycache__/
301 | *.pyc
302 |
303 | # Cake - Uncomment if you are using it
304 | # tools/**
305 | # !tools/packages.config
306 |
307 | # Tabs Studio
308 | *.tss
309 |
310 | # Telerik's JustMock configuration file
311 | *.jmconfig
312 |
313 | # BizTalk build output
314 | *.btp.cs
315 | *.btm.cs
316 | *.odx.cs
317 | *.xsd.cs
318 |
319 | # OpenCover UI analysis results
320 | OpenCover/
321 |
322 | # Azure Stream Analytics local run output
323 | ASALocalRun/
324 |
325 | # MSBuild Binary and Structured Log
326 | *.binlog
327 |
328 | # NVidia Nsight GPU debugger configuration file
329 | *.nvuser
330 |
331 | # MFractors (Xamarin productivity tool) working folder
332 | .mfractor/
333 |
334 | # Local History for Visual Studio
335 | .localhistory/
336 |
337 | # BeatPulse healthcheck temp database
338 | healthchecksdb
339 |
340 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
341 | MigrationBackup/
342 |
343 | # End of https://www.gitignore.io/api/csharp
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/CreditsForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class CreditsForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreditsForm));
33 | this.label1 = new System.Windows.Forms.Label();
34 | this.ytStart = new System.Windows.Forms.Button();
35 | this.githubBtn = new System.Windows.Forms.Button();
36 | this.label2 = new System.Windows.Forms.Label();
37 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
38 | this.focusThis = new System.Windows.Forms.Button();
39 | this.SuspendLayout();
40 | //
41 | // label1
42 | //
43 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
44 | this.label1.Location = new System.Drawing.Point(1, 9);
45 | this.label1.Margin = new System.Windows.Forms.Padding(31, 0, 31, 0);
46 | this.label1.Name = "label1";
47 | this.label1.Size = new System.Drawing.Size(366, 84);
48 | this.label1.TabIndex = 0;
49 | this.label1.Text = "Enhanced PsExec was made by Ori Shamir.";
50 | //
51 | // ytStart
52 | //
53 | this.ytStart.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ytStart.BackgroundImage")));
54 | this.ytStart.Cursor = System.Windows.Forms.Cursors.Help;
55 | this.ytStart.Location = new System.Drawing.Point(572, 361);
56 | this.ytStart.Name = "ytStart";
57 | this.ytStart.Size = new System.Drawing.Size(131, 106);
58 | this.ytStart.TabIndex = 1;
59 | this.toolTip1.SetToolTip(this.ytStart, "Visit My YouTube Channel");
60 | this.ytStart.UseVisualStyleBackColor = true;
61 | this.ytStart.Click += new System.EventHandler(this.YtStart_Click);
62 | //
63 | // githubBtn
64 | //
65 | this.githubBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("githubBtn.BackgroundImage")));
66 | this.githubBtn.Cursor = System.Windows.Forms.Cursors.Help;
67 | this.githubBtn.Location = new System.Drawing.Point(12, 361);
68 | this.githubBtn.Name = "githubBtn";
69 | this.githubBtn.Size = new System.Drawing.Size(110, 106);
70 | this.githubBtn.TabIndex = 2;
71 | this.toolTip1.SetToolTip(this.githubBtn, "Visit My GitHub Page");
72 | this.githubBtn.UseVisualStyleBackColor = true;
73 | this.githubBtn.Click += new System.EventHandler(this.GithubBtn_Click);
74 | //
75 | // label2
76 | //
77 | this.label2.Cursor = System.Windows.Forms.Cursors.Help;
78 | this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
79 | this.label2.Location = new System.Drawing.Point(298, 361);
80 | this.label2.Name = "label2";
81 | this.label2.Size = new System.Drawing.Size(134, 109);
82 | this.label2.TabIndex = 3;
83 | this.toolTip1.SetToolTip(this.label2, "Visit This Project On PyPi");
84 | this.label2.Click += new System.EventHandler(this.Label2_Click);
85 | //
86 | // focusThis
87 | //
88 | this.focusThis.Location = new System.Drawing.Point(650, 9);
89 | this.focusThis.Name = "focusThis";
90 | this.focusThis.Size = new System.Drawing.Size(0, 0);
91 | this.focusThis.TabIndex = 4;
92 | this.focusThis.Text = "button1";
93 | this.focusThis.UseVisualStyleBackColor = true;
94 | //
95 | // CreditsForm
96 | //
97 | this.AllowDrop = true;
98 | this.AutoScaleDimensions = new System.Drawing.SizeF(31F, 61F);
99 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
100 | this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
101 | this.ClientSize = new System.Drawing.Size(715, 479);
102 | this.Controls.Add(this.focusThis);
103 | this.Controls.Add(this.label2);
104 | this.Controls.Add(this.githubBtn);
105 | this.Controls.Add(this.ytStart);
106 | this.Controls.Add(this.label1);
107 | this.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
108 | this.Margin = new System.Windows.Forms.Padding(31, 0, 31, 0);
109 | this.MaximizeBox = false;
110 | this.MinimizeBox = false;
111 | this.Name = "CreditsForm";
112 | this.Opacity = 0.92D;
113 | this.ShowIcon = false;
114 | this.ShowInTaskbar = false;
115 | this.Text = "Credits";
116 | this.Load += new System.EventHandler(this.CreditsFormBox_Load);
117 | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.focusIt);
118 | this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.focusIt);
119 | this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.focusIt);
120 | this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.focusIt);
121 | this.MouseHover += new System.EventHandler(this.focusIt);
122 | this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.focusIt);
123 | this.ResumeLayout(false);
124 |
125 | }
126 |
127 | #endregion
128 |
129 | private System.Windows.Forms.Label label1;
130 | private System.Windows.Forms.Button ytStart;
131 | private System.Windows.Forms.Button githubBtn;
132 | private System.Windows.Forms.Label label2;
133 | private System.Windows.Forms.ToolTip toolTip1;
134 | private System.Windows.Forms.Button focusThis;
135 | }
136 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/CreditsForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 | using System.Diagnostics;
4 | using EnhancedPsExecGUI;
5 |
6 | namespace EnhancedPsExec
7 | {
8 | public partial class CreditsForm : Form
9 | {
10 | epsexecForm mainForm;
11 | public CreditsForm(epsexecForm MainForm)
12 | {
13 | InitializeComponent();
14 | this.FormBorderStyle = FormBorderStyle.FixedDialog;
15 | mainForm = MainForm;
16 | }
17 | private void YtStart_Click(object sender, EventArgs e)
18 | {
19 | Process.Start("https://www.youtube.com/c/hackinggaming");
20 | }
21 |
22 | private void GithubBtn_Click(object sender, EventArgs e)
23 | {
24 | Process.Start("https://github.com/orishamir");
25 | }
26 |
27 | private void Label2_Click(object sender, EventArgs e)
28 | {
29 | Process.Start("https://pypi.org/project/Enhanced-PsExec/");
30 | }
31 |
32 | private void CreditsFormBox_Load(object sender, EventArgs e)
33 | {
34 |
35 | focusThis.Focus();
36 | }
37 |
38 | private void focusIt(object sender, KeyEventArgs e)
39 | {
40 | focusThis.Focus();
41 | }
42 |
43 | private void focusIt(object sender, KeyPressEventArgs e)
44 | {
45 | focusThis.Focus();
46 | }
47 |
48 | private void focusIt(object sender, MouseEventArgs e)
49 | {
50 | focusThis.Focus();
51 | }
52 |
53 | private void focusIt(object sender, EventArgs e)
54 | {
55 | focusThis.Focus();
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/CreditsForm.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 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAIAAAABpCAYAAADydSuBAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
124 | xAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAzuSURBVHhe7Zx5
125 | bFzVGcVNiPd9m8X2eLcTB0MlllJAQgJBAyqLCpTSVFSltAKFQIIELVB1jSj8QcteVCi0FXShgv9SNfGO
126 | Y8f7vox3e8b2eOx4j5N4P/2+55nUnnleY4PvvHukIwf73e07v3fvHQL2gpSmJQHQuCQAGpcEQOOSAGhc
127 | EgCNSwKgcUkANC4JgMYlAdC4JAAalwRA45IAaFwSAI1LAqBxSQA0LgmAxiU8AIvT01icmcHi7CwWzp3D
128 | wtgoeWzJ4+OYs1oxZ7HQ1y3Y0oOFifH/98d90xg8ljImjS26th0ALs5cXy9mGupxsagQ5//7H0x9+k9M
129 | fvg+Jt56H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AAElFTkSuQmCC
181 |
182 |
183 |
184 | 17, 17
185 |
186 |
187 |
188 | iVBORw0KGgoAAAANSUhEUgAAAGkAAABqCAYAAAC/Fn+UAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
189 | xAAADsQBlSsOGwAACcJJREFUeF7tnWeo1EwUhu29YMOOBQvYsfxREBVBxYK9YO8VewErimL7YbkqNvSK
190 | 7YegIogdUUFFFLtYENtF7F1RUef7zt6zbkzeJJO2m2zywIu4mzmZOe/dbJKZPckhInxPZFIAiEwKAJFJ
191 | ASAyKQCkhUmvXr0S9+/fFzdv3hSXL1+O/Uv/p9fTgcCYdO/ePbF582YxdOhQ0aBBA5EvXz6RI0cOadH2
192 | 1G7YsGFiy5YtsXhBwbcmZWVliaVLl4r69evDpLslir9s2bLY/vyKr0yiw9OMGTNEgQIFYEK9Fu2X9v/6
193 | 9WvukT/whUkHDhwQNWrUgIlLlWrWrBnrlx9IqUkZGRkwQX7TunXruMepISUmbd++HSbD78rMzOQRJJek
194 | mnTr1i1RrFgxmICgiPp/+/ZtHlFySJpJvXv3hoMOqvr06cMj8x7PTaK/OjTIdNGdO3d4pN7hqUmzZ8+G
195 | A0s3zZ07l0fsDZ6Z1LhxYzigdFXTpk155O7jiUlWb9mki/Lnz88ZcBdXTfrw4QPsfNj08eNHzog7uGbS
196 | ixcvYIfDqpcvX3JmnOOKSdEnCMutT5Rjk37//g07mI6qWrWqaN++vejZs6coV64c3EYtN3AcJWfOnLBz
197 | Si1evPjvBNzbt2/FmTNnxMKFC0W9evXg9n7SyJEjxbVr12J9VyNzeytXrly8tX0cmSRz5/r58+e8tT6b
198 | Nm0SJUuWhO1TITo73blzJ/fOGJlrwVq1avHW9rBt0oQJE2CHlCpatChvLceVK1diUwQoVrK0Z88e7o0c
199 | 379/h3HUmjRpErewji2Tzp07BzuiFk2g2eHChQuicOHCMKZS5cuXj100t23bVnTr1k307dtX9O/fP3af
200 | sEOHDrH3SpUqBduqNXXqVN67deiPEcVU6/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buJ68emPHny/O1sVlYWvxoMlIm2K1pl5TaefIGULl36b6fpxmxQUCbbjnbt2sWR3MWzb3la
227 | dxfvPCog4UeUCbeqBw8ecBT38cwkQv1wRroL7meUfZVVnTp1uLV3eGoSQc/hUw+sefPmsYlDmpmkaQK/
228 | oO6nmTIyMrilt3huEkH132itMxooEj3ZMhWgviA1bNgwttwtWSTFpDhUbg0NWi1a05YKUF+UohW9qbi0
229 | SKpJBK3VM/slISrdkgxQX+JKZe2kpJsUh76r1HNJcfnFJCqhvXv3bn43daTMpDhbt27VJCfVJtFtLT8V
230 | oU+5SXEyMzP/rinv1KkTv5pc6InOfsQ3JsWhaWxajBmRwHcmRWiJTAoAkUkBIDLJ9wjxH7o2p6DdLQZ0
231 | AAAAAElFTkSuQmCC
232 |
233 |
234 |
235 |
236 | /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/4gKg
237 | SUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAH4QAJABIADAAiACVhY3NwQVBQTAAA
238 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
239 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAADhjcHJ0AAABQAAAAE53dHB0AAABkAAA
240 | ABRjaGFkAAABpAAAACxyWFlaAAAB0AAAABRiWFlaAAAB5AAAABRnWFlaAAAB+AAAABRyVFJDAAACDAAA
241 | ACBnVFJDAAACLAAAACBiVFJDAAACTAAAACBjaHJtAAACbAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAA
242 | ABwAAAAcAHMAUgBHAEIAIABiAHUAaQBsAHQALQBpAG4AAG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAMgAA
243 | ABwATgBvACAAYwBvAHAAeQByAGkAZwBoAHQALAAgAHUAcwBlAC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4N1byQqZN0JXcpAzjcD19q5fw/+yrwratq
333 | rH1is0xj/gbdf++RXsVFfM53wfk+cV6WIzOiqjp35bt2XNa90nZ7LdM9DB5pisLCUMPPlUrXta+nnut+
334 | hy/h34NeG/DQVodLt5pV/wCWtwPOfPqN2QPwArpgiquMcdMU6ivbweAw2DpKjhKcacV0ilFfckkcdatU
335 | qy5qknJ927/mAGKKKK6zMKKKKACiiigAooooA//Z
336 |
337 |
338 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/EnhancedPsExec.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}
8 | WinExe
9 | EnhancedPsExec
10 | EnhancedPsExec
11 | v4.7.2
12 | 512
13 | true
14 | true
15 | false
16 | publish\
17 | true
18 | Disk
19 | false
20 | Foreground
21 | 7
22 | Days
23 | false
24 | false
25 | true
26 | 0
27 | 1.0.0.%2a
28 | false
29 | true
30 |
31 |
32 | AnyCPU
33 | true
34 | full
35 | false
36 | bin\Debug\
37 | DEBUG;TRACE
38 | prompt
39 | 4
40 |
41 |
42 | x64
43 | pdbonly
44 | true
45 | bin\Release\
46 | TRACE
47 | prompt
48 | 4
49 | false
50 |
51 |
52 | app.manifest
53 |
54 |
55 | true
56 | bin\x86\Debug\
57 | DEBUG;TRACE
58 | full
59 | x86
60 | prompt
61 | MinimumRecommendedRules.ruleset
62 | true
63 |
64 |
65 | bin\x86\Release\
66 | TRACE
67 | true
68 | pdbonly
69 | x86
70 | prompt
71 | MinimumRecommendedRules.ruleset
72 |
73 |
74 | true
75 | bin\x64\Debug\
76 | DEBUG;TRACE
77 | full
78 | x64
79 | prompt
80 | MinimumRecommendedRules.ruleset
81 | true
82 |
83 |
84 | bin\x64\Release\
85 | TRACE
86 | true
87 | pdbonly
88 | x64
89 | prompt
90 | MinimumRecommendedRules.ruleset
91 |
92 |
93 | logo_bGC_icon.ico
94 |
95 |
96 |
97 |
98 |
99 |
100 | packages\ini-parser.2.5.2\lib\net20\INIFileParser.dll
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | Form
122 |
123 |
124 | CreditsForm.cs
125 |
126 |
127 | Form
128 |
129 |
130 | epsexecForm.cs
131 |
132 |
133 | Form
134 |
135 |
136 | howToUse.cs
137 |
138 |
139 | Form
140 |
141 |
142 | Keyboard.cs
143 |
144 |
145 | Form
146 |
147 |
148 | PrefForm.cs
149 |
150 |
151 |
152 |
153 | Form
154 |
155 |
156 | RemoteConsole.cs
157 |
158 |
159 | Form
160 |
161 |
162 | scannerForm.cs
163 |
164 |
165 | Form
166 |
167 |
168 | scriptingHowTo.cs
169 |
170 |
171 | CreditsForm.cs
172 |
173 |
174 | epsexecForm.cs
175 |
176 |
177 | epsexecForm.cs
178 |
179 |
180 | howToUse.cs
181 |
182 |
183 | Keyboard.cs
184 |
185 |
186 | PrefForm.cs
187 |
188 |
189 | ResXFileCodeGenerator
190 | Resources.Designer.cs
191 | Designer
192 |
193 |
194 | True
195 | Resources.resx
196 | True
197 |
198 |
199 | RemoteConsole.cs
200 |
201 |
202 | scannerForm.cs
203 |
204 |
205 | scriptingHowTo.cs
206 |
207 |
208 |
209 |
210 | SettingsSingleFileGenerator
211 | Settings.Designer.cs
212 |
213 |
214 | True
215 | Settings.settings
216 | True
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 | False
225 | Microsoft .NET Framework 4.7.2 %28x86 and x64%29
226 | true
227 |
228 |
229 | False
230 | .NET Framework 3.5 SP1
231 | false
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/EnhancedPsExec.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29025.244
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnhancedPsExec", "EnhancedPsExec.csproj", "{19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}"
7 | EndProject
8 | Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup1", "..\Setup1\Setup1.vdproj", "{24D9B150-79C9-494D-8BAE-94059F52EC61}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|x64 = Debug|x64
14 | Release|Any CPU = Release|Any CPU
15 | Release|x64 = Release|x64
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Debug|x64.ActiveCfg = Debug|x64
21 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Debug|x64.Build.0 = Debug|x64
22 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Release|Any CPU.Build.0 = Release|Any CPU
24 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Release|x64.ActiveCfg = Release|x64
25 | {19D4E488-4608-4AFE-A8A4-8EA618C6F6AF}.Release|x64.Build.0 = Release|x64
26 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Debug|Any CPU.ActiveCfg = Debug
27 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Debug|x64.ActiveCfg = Debug
28 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Debug|x64.Build.0 = Debug
29 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Release|Any CPU.ActiveCfg = Release
30 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Release|x64.ActiveCfg = Release
31 | {24D9B150-79C9-494D-8BAE-94059F52EC61}.Release|x64.Build.0 = Release
32 | EndGlobalSection
33 | GlobalSection(SolutionProperties) = preSolution
34 | HideSolutionNode = FALSE
35 | EndGlobalSection
36 | GlobalSection(ExtensibilityGlobals) = postSolution
37 | SolutionGuid = {9452DAF3-2355-40E3-A7E8-289C67C9B368}
38 | EndGlobalSection
39 | EndGlobal
40 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/PrefForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class PrefForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.ignoreEmptyIpBox = new System.Windows.Forms.CheckBox();
33 | this.ignoreNotConnectedBox = new System.Windows.Forms.CheckBox();
34 | this.alwaysOnTopBox = new System.Windows.Forms.CheckBox();
35 | this.hideInTaskbarBox = new System.Windows.Forms.CheckBox();
36 | this.noPaexecBox = new System.Windows.Forms.CheckBox();
37 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
38 | this.SuspendLayout();
39 | //
40 | // ignoreEmptyIpBox
41 | //
42 | this.ignoreEmptyIpBox.AutoSize = true;
43 | this.ignoreEmptyIpBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
44 | this.ignoreEmptyIpBox.Location = new System.Drawing.Point(38, 24);
45 | this.ignoreEmptyIpBox.Name = "ignoreEmptyIpBox";
46 | this.ignoreEmptyIpBox.Size = new System.Drawing.Size(494, 29);
47 | this.ignoreEmptyIpBox.TabIndex = 0;
48 | this.ignoreEmptyIpBox.Text = "Ignore the \"IP box not filled\" Error when switching tabs";
49 | this.ignoreEmptyIpBox.UseVisualStyleBackColor = true;
50 | this.ignoreEmptyIpBox.Click += new System.EventHandler(this.updateConfig);
51 | //
52 | // ignoreNotConnectedBox
53 | //
54 | this.ignoreNotConnectedBox.AutoSize = true;
55 | this.ignoreNotConnectedBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
56 | this.ignoreNotConnectedBox.Location = new System.Drawing.Point(38, 100);
57 | this.ignoreNotConnectedBox.Name = "ignoreNotConnectedBox";
58 | this.ignoreNotConnectedBox.Size = new System.Drawing.Size(653, 29);
59 | this.ignoreNotConnectedBox.TabIndex = 1;
60 | this.ignoreNotConnectedBox.Text = "Ignore the \"You did not connect to the PC\" Warning when switching tabs";
61 | this.ignoreNotConnectedBox.UseVisualStyleBackColor = true;
62 | this.ignoreNotConnectedBox.Click += new System.EventHandler(this.updateConfig);
63 | //
64 | // alwaysOnTopBox
65 | //
66 | this.alwaysOnTopBox.AutoSize = true;
67 | this.alwaysOnTopBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
68 | this.alwaysOnTopBox.Location = new System.Drawing.Point(38, 177);
69 | this.alwaysOnTopBox.Name = "alwaysOnTopBox";
70 | this.alwaysOnTopBox.Size = new System.Drawing.Size(395, 29);
71 | this.alwaysOnTopBox.TabIndex = 2;
72 | this.alwaysOnTopBox.Text = "Set the Tool to be the front window always";
73 | this.alwaysOnTopBox.UseVisualStyleBackColor = true;
74 | this.alwaysOnTopBox.Click += new System.EventHandler(this.updateConfig);
75 | //
76 | // hideInTaskbarBox
77 | //
78 | this.hideInTaskbarBox.AutoSize = true;
79 | this.hideInTaskbarBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
80 | this.hideInTaskbarBox.Location = new System.Drawing.Point(35, 252);
81 | this.hideInTaskbarBox.Name = "hideInTaskbarBox";
82 | this.hideInTaskbarBox.Size = new System.Drawing.Size(603, 29);
83 | this.hideInTaskbarBox.TabIndex = 3;
84 | this.hideInTaskbarBox.Text = "Hide the Tool in Taskbar making it invisible to an external observer";
85 | this.hideInTaskbarBox.UseVisualStyleBackColor = true;
86 | this.hideInTaskbarBox.Click += new System.EventHandler(this.updateConfig);
87 | //
88 | // noPaexecBox
89 | //
90 | this.noPaexecBox.AutoSize = true;
91 | this.noPaexecBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
92 | this.noPaexecBox.ForeColor = System.Drawing.Color.Red;
93 | this.noPaexecBox.Location = new System.Drawing.Point(35, 320);
94 | this.noPaexecBox.Name = "noPaexecBox";
95 | this.noPaexecBox.Size = new System.Drawing.Size(795, 29);
96 | this.noPaexecBox.TabIndex = 4;
97 | this.noPaexecBox.Text = "Don\'t Use PaExec On the Remote PC (NOT RECOMMENDED, slower but more hidden)";
98 | this.toolTip1.SetToolTip(this.noPaexecBox, "Some of the features require PaExec.exe to be installed on the REMOTE PC, which c" +
99 | "an be detected by a sysadmin");
100 | this.noPaexecBox.UseVisualStyleBackColor = true;
101 | this.noPaexecBox.Click += new System.EventHandler(this.updateConfig);
102 | //
103 | // toolTip1
104 | //
105 | this.toolTip1.AutomaticDelay = 1;
106 | this.toolTip1.AutoPopDelay = 10000;
107 | this.toolTip1.InitialDelay = 1;
108 | this.toolTip1.IsBalloon = true;
109 | this.toolTip1.ReshowDelay = 0;
110 | //
111 | // PrefForm
112 | //
113 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
114 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
115 | this.ClientSize = new System.Drawing.Size(843, 605);
116 | this.Controls.Add(this.noPaexecBox);
117 | this.Controls.Add(this.hideInTaskbarBox);
118 | this.Controls.Add(this.alwaysOnTopBox);
119 | this.Controls.Add(this.ignoreNotConnectedBox);
120 | this.Controls.Add(this.ignoreEmptyIpBox);
121 | this.Name = "PrefForm";
122 | this.ShowIcon = false;
123 | this.Text = "Preferences";
124 | this.TopMost = true;
125 | this.ResumeLayout(false);
126 | this.PerformLayout();
127 |
128 | }
129 |
130 | #endregion
131 |
132 | public System.Windows.Forms.CheckBox ignoreEmptyIpBox;
133 | public System.Windows.Forms.CheckBox ignoreNotConnectedBox;
134 | public System.Windows.Forms.CheckBox alwaysOnTopBox;
135 | public System.Windows.Forms.CheckBox hideInTaskbarBox;
136 | public System.Windows.Forms.CheckBox noPaexecBox;
137 | private System.Windows.Forms.ToolTip toolTip1;
138 | }
139 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/PrefForm.cs:
--------------------------------------------------------------------------------
1 | using EnhancedPsExecGUI;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.ComponentModel;
5 | using System.Data;
6 | using System.Drawing;
7 | using System.IO;
8 | using System.Linq;
9 | using System.Text;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 |
13 | namespace EnhancedPsExec
14 | {
15 | public partial class PrefForm : Form
16 | {
17 | epsexecForm mainForm;
18 | string configPath;
19 | public PrefForm(epsexecForm main)
20 | {
21 | configPath = main.configPath;
22 | InitializeComponent();
23 | mainForm = main;
24 |
25 | IniParser.FileIniDataParser parser = new IniParser.FileIniDataParser();
26 |
27 | if (!File.Exists(configPath))
28 | {
29 | File.WriteAllLines(configPath, new string[]{
30 | "; Settings",
31 | "; Feel free to edit this",
32 | "; Do not get rid of any setting.set it to true / false",
33 | "",
34 | "ignore_ip_warn = true",
35 | "ignore_not_connected_warn = false",
36 | "always_on_top = false",
37 | "hide_in_taskbar = false",
38 | "dont_use_paexec_on_remote_pc = false"
39 | });
40 | }
41 |
42 | IniParser.Model.IniData data = parser.ReadFile(configPath);
43 |
44 | ignoreEmptyIpBox.Checked = Boolean.Parse(data.GetKey("ignore_ip_warn"));
45 | ignoreNotConnectedBox.Checked = Boolean.Parse(data.GetKey("ignore_not_connected_warn"));
46 | this.alwaysOnTopBox.Checked = Boolean.Parse(data.GetKey("always_on_top"));
47 | hideInTaskbarBox.Checked = Boolean.Parse(data.GetKey("hide_in_taskbar"));
48 | noPaexecBox.Checked = Boolean.Parse(data.GetKey("dont_use_paexec_on_remote_pc"));
49 |
50 | if (mainForm.ignoreIpEmpty != ignoreEmptyIpBox.Checked)
51 | mainForm.ignoreIpEmpty = ignoreEmptyIpBox.Checked;
52 |
53 | if (mainForm.ignoreNotConnected != ignoreNotConnectedBox.Checked)
54 | mainForm.ignoreNotConnected = ignoreNotConnectedBox.Checked;
55 |
56 | if (mainForm.alwaysOnTopToolStripMenuItem.Checked != alwaysOnTopBox.Checked)
57 | mainForm.alwaysOnTopToolStripMenuItem.Checked = alwaysOnTopBox.Checked;
58 |
59 | if (mainForm.hideInTaskbarToolStripMenuItem.Checked != hideInTaskbarBox.Checked)
60 | mainForm.hideInTaskbarToolStripMenuItem.Checked = hideInTaskbarBox.Checked;
61 |
62 | if (mainForm.noPaExec != noPaexecBox.Checked)
63 | mainForm.noPaExec = noPaexecBox.Checked;
64 | }
65 |
66 | private void updateConfig(object sender, EventArgs e)
67 | {
68 |
69 | List lines = new List();
70 | lines.Add(";;;;; Settings");
71 | lines.Add("; Feel free to edit this");
72 | lines.Add("; Do not get rid of any setting. set it to true/false");
73 | lines.Add("");
74 | lines.Add("ignore_ip_warn = " + ignoreEmptyIpBox.Checked.ToString().ToLower());
75 | lines.Add("ignore_not_connected_warn = " + ignoreNotConnectedBox.Checked.ToString().ToLower());
76 | lines.Add("always_on_top = " + alwaysOnTopBox.Checked.ToString().ToLower());
77 | lines.Add("hide_in_taskbar = " + hideInTaskbarBox.Checked.ToString().ToLower());
78 | lines.Add("dont_use_paexec_on_remote_pc = " + noPaexecBox.Checked.ToString().ToLower());
79 |
80 | File.WriteAllLines(configPath, lines.ToArray());
81 |
82 | mainForm.ignoreIpEmpty = ignoreEmptyIpBox.Checked;
83 | mainForm.ignoreNotConnected = ignoreNotConnectedBox.Checked;
84 |
85 | mainForm.alwaysOnTopToolStripMenuItem.Checked = alwaysOnTopBox.Checked;
86 | mainForm.TopMost = alwaysOnTopBox.Checked;
87 |
88 | mainForm.hideInTaskbarToolStripMenuItem.Checked = hideInTaskbarBox.Checked;
89 | mainForm.ShowInTaskbar = !hideInTaskbarBox.Checked;
90 |
91 | mainForm.noPaExec = noPaexecBox.Checked;
92 | this.Focus();
93 | }
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/PrefForm.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 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/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 EnhancedPsExecGUI
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new epsexecForm());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Resources;
2 | using System.Reflection;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("EnhancedPsExecGUI")]
10 | [assembly: AssemblyDescription("Perform miscellaneous operations on A remote computer with Enhanced PsExec")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("OrisHackingTutorials")]
13 | [assembly: AssemblyProduct("Enhanced-PsExec")]
14 | [assembly: AssemblyCopyright("Copyright © 2019")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 |
18 | // Setting ComVisible to false makes the types in this assembly not visible
19 | // to COM components. If you need to access a type in this assembly from
20 | // COM, set the ComVisible attribute to true on that type.
21 | [assembly: ComVisible(false)]
22 |
23 | // The following GUID is for the ID of the typelib if this project is exposed to COM
24 | [assembly: Guid("19d4e488-4608-4afe-a8a4-8ea618c6f6af")]
25 |
26 | // Version information for an assembly consists of the following four values:
27 | //
28 | // Major Version
29 | // Minor Version
30 | // Build Number
31 | // Revision
32 | //
33 | // You can specify all the values or you can default the Build and Revision Numbers
34 | // by using the '*' as shown below:
35 | // [assembly: AssemblyVersion("1.0.*")]
36 | [assembly: AssemblyVersion("1.0.0.0")]
37 | [assembly: AssemblyFileVersion("1.0.0.0")]
38 | [assembly: NeutralResourcesLanguage("en")]
39 |
40 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Properties/Resources.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 EnhancedPsExec.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EnhancedPsExec.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Drawing.Bitmap.
65 | ///
66 | internal static System.Drawing.Bitmap _11_Windows_Key_512 {
67 | get {
68 | object obj = ResourceManager.GetObject("11_Windows_Key-512", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// Looks up a localized resource of type System.Drawing.Bitmap.
75 | ///
76 | internal static System.Drawing.Bitmap _68987066_no_keyboard_simple_sign_ {
77 | get {
78 | object obj = ResourceManager.GetObject("68987066-no-keyboard-simple-sign-", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// Looks up a localized resource of type System.Drawing.Bitmap.
85 | ///
86 | internal static System.Drawing.Bitmap images {
87 | get {
88 | object obj = ResourceManager.GetObject("images", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// Looks up a localized resource of type System.Drawing.Bitmap.
95 | ///
96 | internal static System.Drawing.Bitmap invisible_icon {
97 | get {
98 | object obj = ResourceManager.GetObject("invisible_icon", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// Looks up a localized resource of type System.Drawing.Bitmap.
105 | ///
106 | internal static System.Drawing.Bitmap newformimg {
107 | get {
108 | object obj = ResourceManager.GetObject("newformimg", resourceCulture);
109 | return ((System.Drawing.Bitmap)(obj));
110 | }
111 | }
112 | }
113 | }
114 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/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 |
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 |
122 | ..\Resources\images.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\Resources\11_Windows_Key-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
128 | ..\Resources\newformimg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
129 |
130 |
131 | ..\Resources\68987066-no-keyboard-simple-sign-.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
132 |
133 |
134 | ..\Resources\invisible_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
135 |
136 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/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 EnhancedPsExec.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.2.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/RemoteConsole.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class RemoteConsole
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.commandToSendBox = new System.Windows.Forms.TextBox();
32 | this.sendBtn = new System.Windows.Forms.Button();
33 | this.outputBox = new System.Windows.Forms.RichTextBox();
34 | this.clearOutputBoxBtn = new System.Windows.Forms.Button();
35 | this.fontBox = new System.Windows.Forms.NumericUpDown();
36 | this.fontSizeLabel = new System.Windows.Forms.Label();
37 | ((System.ComponentModel.ISupportInitialize)(this.fontBox)).BeginInit();
38 | this.SuspendLayout();
39 | //
40 | // commandToSendBox
41 | //
42 | this.commandToSendBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
43 | this.commandToSendBox.Location = new System.Drawing.Point(15, 575);
44 | this.commandToSendBox.Name = "commandToSendBox";
45 | this.commandToSendBox.Size = new System.Drawing.Size(862, 30);
46 | this.commandToSendBox.TabIndex = 1;
47 | //
48 | // sendBtn
49 | //
50 | this.sendBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
51 | this.sendBtn.Location = new System.Drawing.Point(883, 572);
52 | this.sendBtn.Name = "sendBtn";
53 | this.sendBtn.Size = new System.Drawing.Size(133, 33);
54 | this.sendBtn.TabIndex = 2;
55 | this.sendBtn.Text = "Send";
56 | this.sendBtn.UseVisualStyleBackColor = true;
57 | this.sendBtn.Click += new System.EventHandler(this.sendBtn_Click);
58 | //
59 | // outputBox
60 | //
61 | this.outputBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
62 | this.outputBox.Location = new System.Drawing.Point(15, 44);
63 | this.outputBox.Name = "outputBox";
64 | this.outputBox.Size = new System.Drawing.Size(862, 525);
65 | this.outputBox.TabIndex = 4;
66 | this.outputBox.Text = "";
67 | this.outputBox.WordWrap = false;
68 | this.outputBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.outputBox_LinkClicked);
69 | //
70 | // clearOutputBoxBtn
71 | //
72 | this.clearOutputBoxBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
73 | this.clearOutputBoxBtn.Location = new System.Drawing.Point(15, 5);
74 | this.clearOutputBoxBtn.Name = "clearOutputBoxBtn";
75 | this.clearOutputBoxBtn.Size = new System.Drawing.Size(133, 33);
76 | this.clearOutputBoxBtn.TabIndex = 5;
77 | this.clearOutputBoxBtn.Text = "Clear";
78 | this.clearOutputBoxBtn.UseVisualStyleBackColor = true;
79 | this.clearOutputBoxBtn.Click += new System.EventHandler(this.clearOutputBoxBtn_Click);
80 | //
81 | // fontBox
82 | //
83 | this.fontBox.DecimalPlaces = 2;
84 | this.fontBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
85 | this.fontBox.Location = new System.Drawing.Point(888, 72);
86 | this.fontBox.Minimum = new decimal(new int[] {
87 | 1,
88 | 0,
89 | 0,
90 | 0});
91 | this.fontBox.Name = "fontBox";
92 | this.fontBox.Size = new System.Drawing.Size(96, 30);
93 | this.fontBox.TabIndex = 6;
94 | this.fontBox.Value = new decimal(new int[] {
95 | 8,
96 | 0,
97 | 0,
98 | 0});
99 | this.fontBox.ValueChanged += new System.EventHandler(this.fontBox_ValueChanged);
100 | //
101 | // fontSizeLabel
102 | //
103 | this.fontSizeLabel.AutoSize = true;
104 | this.fontSizeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
105 | this.fontSizeLabel.Location = new System.Drawing.Point(883, 44);
106 | this.fontSizeLabel.Name = "fontSizeLabel";
107 | this.fontSizeLabel.Size = new System.Drawing.Size(101, 25);
108 | this.fontSizeLabel.TabIndex = 7;
109 | this.fontSizeLabel.Text = "Font Size:";
110 | //
111 | // RemoteConsole
112 | //
113 | this.AcceptButton = this.sendBtn;
114 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
115 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
116 | this.ClientSize = new System.Drawing.Size(1028, 617);
117 | this.Controls.Add(this.fontSizeLabel);
118 | this.Controls.Add(this.fontBox);
119 | this.Controls.Add(this.clearOutputBoxBtn);
120 | this.Controls.Add(this.outputBox);
121 | this.Controls.Add(this.sendBtn);
122 | this.Controls.Add(this.commandToSendBox);
123 | this.Name = "RemoteConsole";
124 | this.ShowIcon = false;
125 | this.Text = "RemoteConsole";
126 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RemoteConsole_FormClosing);
127 | this.ResizeBegin += new System.EventHandler(this.RemoteConsole_ResizeBegin);
128 | this.ResizeEnd += new System.EventHandler(this.RemoteConsole_ResizeEnd);
129 | ((System.ComponentModel.ISupportInitialize)(this.fontBox)).EndInit();
130 | this.ResumeLayout(false);
131 | this.PerformLayout();
132 |
133 | }
134 |
135 | #endregion
136 | public System.Windows.Forms.TextBox commandToSendBox;
137 | public System.Windows.Forms.Button sendBtn;
138 | private System.Windows.Forms.RichTextBox outputBox;
139 | public System.Windows.Forms.Button clearOutputBoxBtn;
140 | private System.Windows.Forms.NumericUpDown fontBox;
141 | private System.Windows.Forms.Label fontSizeLabel;
142 | }
143 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/RemoteConsole.cs:
--------------------------------------------------------------------------------
1 | using EnhancedPsExecGUI;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Diagnostics;
5 | using System.Drawing;
6 | using System.Threading;
7 | using System.Windows.Forms;
8 |
9 | namespace EnhancedPsExec
10 | {
11 | public partial class RemoteConsole : Form
12 | {
13 | epsexecForm mainForm;
14 | Process proc;
15 | int cmdIndex = 0;
16 | List lastCmds = new List();
17 |
18 | int incByX = 0;
19 | int incByY = 0;
20 | protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
21 | {
22 | Console.WriteLine("key: " + (int)keyData);
23 |
24 | if (keyData == Keys.Up)
25 | {
26 | // -1 because compensating for the fact that im -- first then ..[cmdIndex]
27 | if (cmdIndex-1 < 0 || lastCmds.Count == 0)
28 | return true;
29 |
30 | cmdIndex--;
31 | updateCmd();
32 | return true;
33 | }
34 | else if (keyData == Keys.Down)
35 | {
36 | // +1 because compensating for the fact that im ++ first then ..[cmdIndex]
37 | if (cmdIndex+1 == lastCmds.Count || lastCmds.Count == 0)
38 | return true;
39 |
40 | cmdIndex++;
41 | updateCmd();
42 | return true;
43 | }
44 | else if(keyData == Keys.Enter){
45 | sendBtn_Click(new object(), new EventArgs());
46 | return true;
47 | }
48 | else if (keyData == Keys.Tab || keyData == Keys.Escape || keyData == (Keys.Shift | Keys.Tab))
49 | return true;
50 |
51 | return base.ProcessCmdKey(ref msg, keyData);
52 | }
53 | public RemoteConsole(epsexecForm f)
54 | {
55 | InitializeComponent();
56 |
57 | mainForm = f;
58 |
59 | proc = new Process();
60 |
61 | proc.StartInfo.RedirectStandardError = true;
62 | proc.StartInfo.RedirectStandardOutput = true;
63 | proc.StartInfo.RedirectStandardInput = true;
64 |
65 | proc.StartInfo.UseShellExecute = false;
66 | proc.StartInfo.CreateNoWindow = true;
67 | //proc.StartInfo.FileName = "psexec.exe";
68 | //proc.StartInfo.Arguments = $"\\\\{mainForm.ipBox.Text} -u {mainForm.usrBox.Text} -p {mainForm.passwordBox.Text} -s -accepteula cmd.exe";
69 | //proc.StartInfo.FileName = "cmd.exe";
70 | //proc.StartInfo.Arguments = "/c cmd.exe";
71 | proc.StartInfo.FileName = "paexec.exe";
72 | proc.StartInfo.Arguments = $"\\\\{mainForm.ipBox.Text} -u {mainForm.usrBox.Text} -p {mainForm.passwordBox.Text} -s -accepteula cmd.exe";
73 |
74 | proc.OutputDataReceived += new DataReceivedEventHandler((s, e) =>
75 | {
76 | AppendTextBox(e.Data + " \n");
77 |
78 | });
79 | proc.ErrorDataReceived += new DataReceivedEventHandler((s, e) =>
80 | {
81 | AppendTextBox(e.Data + "");
82 | });
83 |
84 | proc.Start();
85 | proc.BeginOutputReadLine();
86 | proc.BeginErrorReadLine();
87 |
88 | //proc.StandardInput.WriteLine("");
89 | }
90 |
91 | public void AppendTextBox(string value)
92 | {
93 | if (InvokeRequired)
94 | {
95 | this.Invoke(new Action(AppendTextBox), new object[] { value });
96 | return;
97 | }
98 | outputBox.AppendText(value);
99 | outputBox.SelectionStart = outputBox.Text.Length;
100 | outputBox.ScrollToCaret();
101 | outputBox.SelectionFont = new Font(FontFamily.GenericSansSerif, (float)fontBox.Value, System.Drawing.FontStyle.Regular);
102 |
103 | }
104 |
105 | public void updateCmd()
106 | {
107 | Console.WriteLine("idx=" + cmdIndex);
108 | commandToSendBox.Text = lastCmds[cmdIndex];
109 | commandToSendBox.SelectionStart = commandToSendBox.Text.Length;
110 | commandToSendBox.SelectionLength = 0;
111 | }
112 | private void sendBtn_Click(object sender, EventArgs e)
113 | {
114 | if (commandToSendBox.Text.ToLower().Length > 1)
115 | lastCmds.Add(commandToSendBox.Text);
116 | if (commandToSendBox.Text.ToLower() == "cls" || commandToSendBox.Text.ToLower() == "clear")
117 | {
118 | clearOutputBoxBtn_Click(new object(), new EventArgs());
119 | return;
120 | }
121 | proc.StandardInput.WriteLine(commandToSendBox.Text);
122 | Thread.Sleep(800);
123 | if (commandToSendBox.Text.Length != 0)
124 | cmdIndex++;
125 | //proc.StandardInput.WriteLine("");
126 |
127 | commandToSendBox.Clear();
128 | }
129 |
130 | private void clearOutputBoxBtn_Click(object sender, EventArgs e)
131 | {
132 | outputBox.Clear();
133 | commandToSendBox.Clear();
134 | //proc.StandardInput.WriteLine("");
135 | }
136 |
137 | private void outputBox_LinkClicked(object sender, LinkClickedEventArgs e)
138 | {
139 | Process.Start(e.LinkText);
140 | }
141 |
142 | private void fontBox_ValueChanged(object sender, EventArgs e)
143 | {
144 | outputBox.SelectionFont = new Font(FontFamily.GenericSansSerif, (float)fontBox.Value, System.Drawing.FontStyle.Regular);
145 | }
146 |
147 | private void RemoteConsole_ResizeBegin(object sender, EventArgs e)
148 | {
149 | incByX = this.Width;
150 | incByY = this.Height;
151 | }
152 |
153 | private void RemoteConsole_ResizeEnd(object sender, EventArgs e)
154 | {
155 | incByX = this.Width - incByX;
156 | incByY = this.Height - incByY;
157 |
158 | this.outputBox.Width += incByX;
159 | this.outputBox.Height += incByY;
160 |
161 | this.sendBtn.Location = new Point(this.sendBtn.Location.X + incByX, this.sendBtn.Location.Y + incByY);
162 |
163 | this.commandToSendBox.Location = new Point(this.commandToSendBox.Location.X, this.commandToSendBox.Location.Y + incByY);
164 | this.commandToSendBox.Width += incByX;
165 |
166 | this.fontBox.Location = new Point(this.fontBox.Location.X + incByX, this.fontBox.Location.Y);
167 |
168 | this.fontSizeLabel.Location = new Point(this.fontSizeLabel.Location.X + incByX, this.fontSizeLabel.Location.Y);
169 | }
170 |
171 | private void RemoteConsole_FormClosing(object sender, FormClosingEventArgs e)
172 | {
173 | this.proc.Close();
174 | }
175 | }
176 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/RemoteConsole.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 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Resources/11_Windows_Key-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/Resources/11_Windows_Key-512.png
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Resources/68987066-no-keyboard-simple-sign-.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/Resources/68987066-no-keyboard-simple-sign-.jpg
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Resources/images.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/Resources/images.jpg
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Resources/invisible_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/Resources/invisible_icon.png
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/Resources/newformimg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/Resources/newformimg.png
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
52 |
59 |
60 |
61 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Debug/EnhancedPsExec.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Debug/EnhancedPsExec.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Debug/EnhancedPsExec.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Debug/en-US/EnhancedPsExec.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Debug/en-US/EnhancedPsExec.resources.dll
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/EnhancedPsExec.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/EnhancedPsExec.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/EnhancedPsExec.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/INIFileParser.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/INIFileParser.dll
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/PyFiles/closechrome.py:
--------------------------------------------------------------------------------
1 | from time import sleep
2 | import sys
3 | from subprocess import call
4 |
5 | # Usage: closechrome -ip [ip] -u [username] -p [password] -delay
6 |
7 | if len(sys.argv) < 6:
8 | sys.exit("Usage: closechrome -ip [ip] -u [username] -p [password] -delay ")
9 | ip = ''
10 | username = ''
11 | password = ''
12 |
13 | delay_before = 0
14 | for i, arg in enumerate(sys.argv):
15 | if arg.lower() == "-ip":
16 | ip = sys.argv[i+1]
17 | if arg.lower() == "-u":
18 | username = sys.argv[i+1]
19 | if arg.lower() == "-p":
20 | password = sys.argv[i+1]
21 |
22 | if arg.lower() == "-delay" or arg.lower() == "-d":
23 | delay_before = int(sys.argv[i+1])/1000
24 |
25 | adminsetting = "-s"
26 | dontwaitforterminate = "-d"
27 | interactive = "-i"
28 | accept_eula = "-accepteula"
29 |
30 |
31 | def close_chrome():
32 | global adminsetting
33 | global dontwaitforterminate
34 | global interactive
35 | global accept_eula
36 |
37 | global ip
38 | global username
39 | global password
40 |
41 | global delay_before
42 | print(ip, username, password, delay_before)
43 | sleep(delay_before)
44 | call(f"psexec \\\\{ip} -u {username} -p {password} {adminsetting} {accept_eula} cmd.exe /c taskkill /F /IM chrome.exe /t")
45 |
46 |
47 | close_chrome()
48 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/PyFiles/convert.py:
--------------------------------------------------------------------------------
1 | import os
2 | import shutil
3 | """Convert all .py files to .exe files"""
4 |
5 | # remove already existing previous compiled
6 | for f in os.listdir(os.getcwd()):
7 | if f.endswith(".exe") and f != "EnhancedPsExec.exe":
8 | os.remove(f)
9 |
10 | for f in os.listdir(os.getcwd()):
11 | if f.endswith('.py') and f != "convert.py":
12 | os.system(f"pyinstaller -y -F --onefile {f}")
13 | try:
14 | os.remove(f'{os.getcwd()}\\{f[:-3]+".spec"}')
15 | except OSError as e:
16 | print(f"Ignoring error: \"{str(e)[13:]}\"")
17 |
18 | # move dist/files to root directory.
19 | for f in os.listdir(os.getcwd()+'\\dist\\'):
20 | shutil.move(f"{os.getcwd()}\\dist\\{f}", f"{os.getcwd()}\\")
21 |
22 | shutil.rmtree(f'{os.getcwd()}\\build')
23 | os.rmdir(f'{os.getcwd()}\\dist')
24 | try:
25 | os.remove(f'{os.getcwd()}\\EnhancedPsExec.exe.config')
26 | os.remove(f'{os.getcwd()}\\EnhancedPsExec.pdb')
27 | except OSError as e:
28 | print(f"Ignoring Error: \"{str(e)[13:]}\"")
29 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/PyFiles/openurl.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import subprocess
3 | import time
4 | import os
5 |
6 | # Usage: openurl -ip [ip] -u [username] -p [password] -url [url]
7 |
8 | if len(sys.argv) < 7:
9 | sys.exit("Not Enough Arguments.")
10 | incognito = False
11 | new_window = False
12 | invisible = False
13 | tabs = 1
14 |
15 | delay_before = 0
16 | delay_between = 0
17 | url = "*://*/*"
18 | for i, arg in enumerate(sys.argv):
19 | if arg.lower() == '-i' or arg.lower() == '-incognito':
20 | incognito = True
21 | if arg.lower() == "-invis" or arg.lower() == "-inv" or arg.lower() == "-invisible":
22 | invisible = True
23 | if arg.lower() == "-new" or arg.lower() == '-newwindow' or arg.lower() == "-nw":
24 | new_window = True
25 | if arg.lower() == '-tabs' or arg.lower() == '-n':
26 | tabs = int(sys.argv[i+1])
27 |
28 | if arg.lower() == "-dbf" or arg.lower() == "-delaybefore":
29 | delay_before = int(sys.argv[i+1])/1000
30 | if arg.lower() == "-dbt" or arg.lower() == "-delaybetween":
31 | delay_between = int(sys.argv[i + 1]) / 1000
32 | # check for username password and ip
33 | if arg.lower() == '-ip':
34 | ip = sys.argv[i+1]
35 | if arg.lower() == '-u':
36 | username = sys.argv[i+1]
37 | if arg.lower() == '-url':
38 | url = sys.argv[i+1]
39 | if arg.lower() == '-p' or arg.lower() == '-pass' or arg.lower() == '-password':
40 | password = sys.argv[i+1]
41 |
42 |
43 |
44 | adminsetting = "-s"
45 | dontwaitforterminate = "-d"
46 | interactive = "-i"
47 | accept_eula = "-accepteula"
48 |
49 |
50 | def openurl(fromFile="fileName.txt", delimiter=' '):
51 |
52 | """
53 |
54 | URL --- This is the URL to be opened in the remote machine. If `fromFile` parameter is used, it must be: `'*://*/*'`, its default
55 |
56 | fromFile --- This parameter is used to take A text file and get every URL and its shotcut name.
57 | See more: https://github.com/orishamir/Epsexec/blob/master/fromFile.md
58 |
59 | delimiter --- This is only if you also specified `fromFile` - How to seperate each name,url
60 |
61 | tabs --- This parameter is responsible for the amount of tabs to open on the remote machine. (Default=1)
62 |
63 | delayBeforeOpening --- This parameter decides how much time in millisecond the program should pause before starting the operation. (Default=100)
64 |
65 | delayBetweenTabs --- This parameter decides how much time in millisecond the program should pause BETWEEN every time it opens A new tab.
66 |
67 | new_window --- This parameter decides whether or not to open the tab(s) in new window each time. (Default=False)
68 |
69 | incognito --- This parameter decides if the tab(s) would be opened in Incognito mode. (Default=False)
70 |
71 | invisible --- This parameter decides if the tab(s) would be opened invisibly, and not interactive, so the user would not notice its opened, unless the window plays sound (Default=False).
72 | """
73 | global ip
74 | global username
75 | global password
76 | global tabs
77 |
78 | global new_window
79 | global url
80 | global incognito
81 | global invisible
82 |
83 | global delay_before
84 | global delay_between
85 |
86 | global adminsetting
87 | global interactive
88 | global accept_eula
89 | global dontwaitforterminate
90 | # set minimum requirements for delay before opening and delay between tab
91 |
92 | def get_installation_folder():
93 | p = subprocess.Popen(
94 | f'psexec \\\\{ip} -u {username} -p {password} {accept_eula} {adminsetting} cmd.exe /c cd "c:\\Program Files (x86)\\Google\\Chrome\\Application" & where chrome.exe',
95 | stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
96 |
97 | p.communicate(b"input data that is passed to subprocess' stdin")
98 | return_code = p.returncode
99 | if return_code == 0:
100 | # Its in program files x86
101 | Installation_location = 'c:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'
102 |
103 | else:
104 | p = subprocess.Popen(
105 | f'psexec \\\\{ip} -u {username} -p {password} {accept_eula} {adminsetting} cmd.exe /c cd "%userprofile%\\AppData\\Local\\Google\\Chrome\\Application" & where chrome.exe',
106 | stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
107 | p.communicate(b"input data that is passed to subprocess' stdin")
108 | return_code = p.returncode
109 | if return_code == 0:
110 | user_profile = "C:\\users\\{0}".format(username)
111 | Installation_location = user_profile + '\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe'
112 |
113 | else:
114 | # Its in program files x64
115 | Installation_location = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
116 | return Installation_location
117 |
118 | # get incognito value
119 | if incognito:
120 | incognito = " -incognito"
121 | else:
122 | incognito = ""
123 |
124 | # --new-window to get new tab
125 | if new_window:
126 | new_window = "--new-window"
127 | else:
128 | new_window = ""
129 |
130 | # IMPORT FROM FILE ################################3
131 | if fromFile != "fileName.txt" or url == "*://*/*":
132 | # get user text file name (fromFile)
133 | # save into list using a pre-made config structure
134 | # output to the user the things
135 | # get user's choice
136 |
137 | with open(fromFile, 'r', encoding="UTF-8-sig") as file:
138 | urls = {}
139 | can_start = False
140 | for line in file.readlines():
141 | if "urls:" in line or "url:" in line:
142 | can_start = True
143 | continue
144 | if "endurl" in line or line == 'config:':
145 | can_start = False
146 | break
147 | if can_start:
148 | # get name and URL to assign to the dictionary. split them by space and get only the string itself
149 | # without special characters like \n or \t
150 | line = line.split(delimiter)
151 | line = filter(lambda x: x != '', line)
152 |
153 | name, url = line
154 | name = name.replace(' ', '')
155 | name = name.replace('\t', '')
156 | url = url.replace(' ', '')
157 | url = url.replace('\n', '')
158 |
159 | urls[name] = url
160 | # ended getting values from file
161 |
162 | ##########################################
163 | # what does the USER want?
164 | user_index = 1
165 |
166 | for shortName, url in urls.items():
167 | print(f' {user_index}. {shortName} {"":.^{40 - len(shortName)}} {url}')
168 | user_index += 1
169 |
170 | # In python 3.8 - change this to: while (user_index := input("Choice: ") (not in urls.keys() and type(
171 | # user_index) != int) or (type(user_index) == int and user_index > len(urls.keys())):
172 |
173 | user_index = input("\n Choice: ")
174 |
175 | # if the user picked the name not by index number but from shortcut name then yes
176 | if user_index in urls.keys():
177 | url = urls[user_index]
178 | else:
179 | if user_index.isalpha():
180 | raise ValueError("URL Shortcut does not exist.")
181 | # get the list of the urls and get the user's index minus 1 cuz it starts at 0.
182 | elif int(user_index) > len(urls.keys()):
183 | raise IndexError("URL index does not exist.")
184 | url = list(urls.values())[int(user_index) - 1]
185 |
186 | # sleep before opening tabs
187 | time.sleep(delay_before)
188 |
189 | if invisible:
190 | # if user wants invisible to be True:
191 | if delay_between == 500 and new_window != "--new-window":
192 | subprocess.call(f"psexec \\\\{ip} -u {username} -p {password} cmd /c start " + f" {url} "*tabs + f" {new_window} {incognito} ")
193 | for tab in range(1, tabs + 1):
194 | # make invisible somehow...
195 | subprocess.call(f"psexec \\\\{ip} -u {username} -p {password} {accept_eula} cmd.exe /c start chrome {url} {new_window} {incognito}")
196 | time.sleep(delay_between)
197 | else:
198 | # get chrome installation location
199 | try:
200 | installation_location = globals()['installation_location']
201 | except KeyError:
202 | globals()['installation_location'] = get_installation_folder()
203 |
204 | installation_location = globals()['installation_location']
205 | # if user DOES NOT WANT invisible:
206 | # if we can do it in one line, do it
207 | if delay_between == 10 and new_window != "--new-window":
208 | subprocess.call(f"psexec \\\\{ip} -u {username} -p {password} {interactive} {dontwaitforterminate} {accept_eula} \"{installation_location}\"" + f" {url} " * tabs + f" {new_window} {incognito} {accept_eula}")
209 | # else:
210 | for tab in range(1, tabs + 1):
211 | # make start visible
212 | subprocess.call(f"psexec \\\\{ip} -u {username} -p {password} {interactive} {dontwaitforterminate} {accept_eula} \"{installation_location}\" {url} {new_window} {incognito}")
213 | time.sleep(delay_between)
214 | os.system("pause")
215 |
216 |
217 | openurl()
218 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/README.txt:
--------------------------------------------------------------------------------
1 | Do not change files here.
2 |
3 | psexec.exe and paexec.exe are in folders:
4 |
5 | C:\windows\System32
6 | and
7 | C:\windows\SysWOW64
8 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/Untitled-1.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/Untitled-1.psd
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/config/config.ini:
--------------------------------------------------------------------------------
1 | ;;;;; Settings
2 | ; Feel free to edit this
3 | ; Do not get rid of any setting. set it to true/false
4 |
5 | ignore_ip_warn = true
6 | ignore_not_connected_warn = false
7 | always_on_top = false
8 | hide_in_taskbar = false
9 | dont_use_paexec_on_remote_pc = false
10 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/en-US/EnhancedPsExec.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/en-US/EnhancedPsExec.resources.dll
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/logo_bGC_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/logo_bGC_icon.ico
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/logo_big.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/logo_big.ico
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/logo_big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/logo_big.png
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/logo_big_very.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/logo_big_very.png
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/openurl.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/openurl.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/bin/x64/Release/paexec.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/bin/x64/Release/paexec.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/howToUse.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class howToUse
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(howToUse));
33 | this.label1 = new System.Windows.Forms.Label();
34 | this.label2 = new System.Windows.Forms.Label();
35 | this.label3 = new System.Windows.Forms.Label();
36 | this.label4 = new System.Windows.Forms.Label();
37 | this.label5 = new System.Windows.Forms.Label();
38 | this.label6 = new System.Windows.Forms.Label();
39 | this.linkLabel1 = new System.Windows.Forms.LinkLabel();
40 | this.label7 = new System.Windows.Forms.Label();
41 | this.label8 = new System.Windows.Forms.Label();
42 | this.label9 = new System.Windows.Forms.Label();
43 | this.textBox1 = new System.Windows.Forms.TextBox();
44 | this.label10 = new System.Windows.Forms.Label();
45 | this.label11 = new System.Windows.Forms.Label();
46 | this.adminEnableBox = new System.Windows.Forms.TextBox();
47 | this.label13 = new System.Windows.Forms.Label();
48 | this.label14 = new System.Windows.Forms.Label();
49 | this.textBox2 = new System.Windows.Forms.TextBox();
50 | this.label15 = new System.Windows.Forms.Label();
51 | this.label16 = new System.Windows.Forms.Label();
52 | this.label17 = new System.Windows.Forms.Label();
53 | this.logoHowToUseLbl = new System.Windows.Forms.Label();
54 | this.label18 = new System.Windows.Forms.Label();
55 | this.nircmdLabel = new System.Windows.Forms.LinkLabel();
56 | this.label12 = new System.Windows.Forms.Label();
57 | this.label19 = new System.Windows.Forms.Label();
58 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
59 | this.PaExecLabel = new System.Windows.Forms.LinkLabel();
60 | this.label21 = new System.Windows.Forms.Label();
61 | this.label20 = new System.Windows.Forms.Label();
62 | this.SuspendLayout();
63 | //
64 | // label1
65 | //
66 | this.label1.AutoSize = true;
67 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
68 | this.label1.Location = new System.Drawing.Point(26, 48);
69 | this.label1.Name = "label1";
70 | this.label1.Size = new System.Drawing.Size(136, 46);
71 | this.label1.TabIndex = 0;
72 | this.label1.Text = "About:";
73 | //
74 | // label2
75 | //
76 | this.label2.AutoSize = true;
77 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
78 | this.label2.Location = new System.Drawing.Point(30, 104);
79 | this.label2.Name = "label2";
80 | this.label2.Size = new System.Drawing.Size(706, 22);
81 | this.label2.TabIndex = 1;
82 | this.label2.Text = "epsexec (Enhanced psexec) uses Microsoft\'s Sysinternals PsExec utility that uses " +
83 | "SMB";
84 | //
85 | // label3
86 | //
87 | this.label3.AutoSize = true;
88 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
89 | this.label3.Location = new System.Drawing.Point(360, 126);
90 | this.label3.Name = "label3";
91 | this.label3.Size = new System.Drawing.Size(357, 22);
92 | this.label3.TabIndex = 2;
93 | this.label3.Text = "PsExec is a light-weight telnet replacement.";
94 | //
95 | // label4
96 | //
97 | this.label4.AutoSize = true;
98 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
99 | this.label4.Location = new System.Drawing.Point(26, 180);
100 | this.label4.Name = "label4";
101 | this.label4.Size = new System.Drawing.Size(278, 46);
102 | this.label4.TabIndex = 3;
103 | this.label4.Text = "Requirements:";
104 | //
105 | // label5
106 | //
107 | this.label5.AutoSize = true;
108 | this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
109 | this.label5.Location = new System.Drawing.Point(100, 279);
110 | this.label5.Name = "label5";
111 | this.label5.Size = new System.Drawing.Size(811, 22);
112 | this.label5.TabIndex = 4;
113 | this.label5.Text = "1.) You MUST have (This program automatically installe" +
114 | "d it to your system32 folder)";
115 | //
116 | // label6
117 | //
118 | this.label6.AutoSize = true;
119 | this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
120 | this.label6.Location = new System.Drawing.Point(39, 237);
121 | this.label6.Name = "label6";
122 | this.label6.Size = new System.Drawing.Size(232, 31);
123 | this.label6.TabIndex = 5;
124 | this.label6.Text = "Attacker Machine:";
125 | //
126 | // linkLabel1
127 | //
128 | this.linkLabel1.AutoSize = true;
129 | this.linkLabel1.Cursor = System.Windows.Forms.Cursors.Hand;
130 | this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
131 | this.linkLabel1.Location = new System.Drawing.Point(261, 279);
132 | this.linkLabel1.Name = "linkLabel1";
133 | this.linkLabel1.Size = new System.Drawing.Size(138, 22);
134 | this.linkLabel1.TabIndex = 6;
135 | this.linkLabel1.TabStop = true;
136 | this.linkLabel1.Text = "psexec installed";
137 | this.toolTip1.SetToolTip(this.linkLabel1, "https://docs.microsoft.com/en-us/sysinternals/downloads/psexec");
138 | this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked);
139 | //
140 | // label7
141 | //
142 | this.label7.AutoSize = true;
143 | this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
144 | this.label7.Location = new System.Drawing.Point(100, 310);
145 | this.label7.Name = "label7";
146 | this.label7.Size = new System.Drawing.Size(427, 22);
147 | this.label7.TabIndex = 7;
148 | this.label7.Text = "2.) You must be on the same network as your target.";
149 | //
150 | // label8
151 | //
152 | this.label8.AutoSize = true;
153 | this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
154 | this.label8.Location = new System.Drawing.Point(39, 346);
155 | this.label8.Name = "label8";
156 | this.label8.Size = new System.Drawing.Size(210, 31);
157 | this.label8.TabIndex = 8;
158 | this.label8.Text = "Target Machine:";
159 | //
160 | // label9
161 | //
162 | this.label9.AutoSize = true;
163 | this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
164 | this.label9.Location = new System.Drawing.Point(100, 389);
165 | this.label9.Name = "label9";
166 | this.label9.Size = new System.Drawing.Size(854, 22);
167 | this.label9.TabIndex = 9;
168 | this.label9.Text = "1.) SMBv2 needs to be up and running on the Windows port. Run this CMD script on " +
169 | "the remote computer:";
170 | //
171 | // textBox1
172 | //
173 | this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
174 | this.textBox1.Location = new System.Drawing.Point(137, 414);
175 | this.textBox1.Name = "textBox1";
176 | this.textBox1.ReadOnly = true;
177 | this.textBox1.Size = new System.Drawing.Size(817, 26);
178 | this.textBox1.TabIndex = 10;
179 | this.textBox1.Text = "powershell.exe Set-SmbServerConfiguration -EnableSMB2Protocol $true";
180 | //
181 | // label10
182 | //
183 | this.label10.AutoSize = true;
184 | this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
185 | this.label10.Location = new System.Drawing.Point(100, 456);
186 | this.label10.Name = "label10";
187 | this.label10.Size = new System.Drawing.Size(669, 22);
188 | this.label10.TabIndex = 11;
189 | this.label10.Text = "2.) The ADMIN$ share to be enabled with read/write access of the user configured." +
190 | "";
191 | //
192 | // label11
193 | //
194 | this.label11.AutoSize = true;
195 | this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
196 | this.label11.Location = new System.Drawing.Point(100, 478);
197 | this.label11.Name = "label11";
198 | this.label11.Size = new System.Drawing.Size(855, 22);
199 | this.label11.TabIndex = 12;
200 | this.label11.Text = " This can be achieved by making an administrator account on the remote machin" +
201 | "e (password is a must)";
202 | //
203 | // adminEnableBox
204 | //
205 | this.adminEnableBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
206 | this.adminEnableBox.Location = new System.Drawing.Point(137, 503);
207 | this.adminEnableBox.Multiline = true;
208 | this.adminEnableBox.Name = "adminEnableBox";
209 | this.adminEnableBox.ReadOnly = true;
210 | this.adminEnableBox.Size = new System.Drawing.Size(817, 54);
211 | this.adminEnableBox.TabIndex = 14;
212 | //
213 | // label13
214 | //
215 | this.label13.AutoSize = true;
216 | this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
217 | this.label13.Location = new System.Drawing.Point(100, 571);
218 | this.label13.Name = "label13";
219 | this.label13.Size = new System.Drawing.Size(299, 22);
220 | this.label13.TabIndex = 15;
221 | this.label13.Text = "3.) You\'ll need to add A registry key.";
222 | //
223 | // label14
224 | //
225 | this.label14.AutoSize = true;
226 | this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
227 | this.label14.Location = new System.Drawing.Point(100, 593);
228 | this.label14.Name = "label14";
229 | this.label14.Size = new System.Drawing.Size(950, 18);
230 | this.label14.TabIndex = 16;
231 | this.label14.Text = " This is because UAC is set up to deny connections like this, so you will get" +
232 | " an ACCESS_IS_DENIED error when attempting to connect. Run:";
233 | //
234 | // textBox2
235 | //
236 | this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
237 | this.textBox2.Location = new System.Drawing.Point(137, 614);
238 | this.textBox2.Name = "textBox2";
239 | this.textBox2.ReadOnly = true;
240 | this.textBox2.Size = new System.Drawing.Size(827, 23);
241 | this.textBox2.TabIndex = 17;
242 | this.textBox2.Text = "reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\system /v LocalAc" +
243 | "countTokenFilterPolicy /t REG_DWORD /d 1 /f";
244 | //
245 | // label15
246 | //
247 | this.label15.AutoSize = true;
248 | this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
249 | this.label15.Location = new System.Drawing.Point(100, 651);
250 | this.label15.Name = "label15";
251 | this.label15.Size = new System.Drawing.Size(944, 22);
252 | this.label15.TabIndex = 18;
253 | this.label15.Text = "4.) Recommended: disable firewall on the remote machine. this will make for a fas" +
254 | "ter connecting experience. No delay";
255 | //
256 | // label16
257 | //
258 | this.label16.AutoSize = true;
259 | this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
260 | this.label16.Location = new System.Drawing.Point(100, 705);
261 | this.label16.Name = "label16";
262 | this.label16.Size = new System.Drawing.Size(391, 22);
263 | this.label16.TabIndex = 19;
264 | this.label16.Text = " To do this, go to the tab.";
265 | this.label16.Visible = false;
266 | //
267 | // label17
268 | //
269 | this.label17.AutoSize = true;
270 | this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
271 | this.label17.Location = new System.Drawing.Point(100, 683);
272 | this.label17.Name = "label17";
273 | this.label17.Size = new System.Drawing.Size(437, 22);
274 | this.label17.TabIndex = 20;
275 | this.label17.Text = " This can be done remotely with Enhanced-PsExec";
276 | this.label17.Visible = false;
277 | //
278 | // logoHowToUseLbl
279 | //
280 | this.logoHowToUseLbl.Cursor = System.Windows.Forms.Cursors.Help;
281 | this.logoHowToUseLbl.Image = ((System.Drawing.Image)(resources.GetObject("logoHowToUseLbl.Image")));
282 | this.logoHowToUseLbl.Location = new System.Drawing.Point(947, 9);
283 | this.logoHowToUseLbl.Name = "logoHowToUseLbl";
284 | this.logoHowToUseLbl.Size = new System.Drawing.Size(206, 204);
285 | this.logoHowToUseLbl.TabIndex = 21;
286 | this.toolTip1.SetToolTip(this.logoHowToUseLbl, "Visit My GitHub Page");
287 | this.logoHowToUseLbl.Click += new System.EventHandler(this.LogoHowToUseLbl_Click);
288 | //
289 | // label18
290 | //
291 | this.label18.AutoSize = true;
292 | this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
293 | this.label18.Location = new System.Drawing.Point(30, 126);
294 | this.label18.Name = "label18";
295 | this.label18.Size = new System.Drawing.Size(333, 22);
296 | this.label18.TabIndex = 22;
297 | this.label18.Text = "to execute programs on remote systems.";
298 | //
299 | // nircmdLabel
300 | //
301 | this.nircmdLabel.AutoSize = true;
302 | this.nircmdLabel.Cursor = System.Windows.Forms.Cursors.Hand;
303 | this.nircmdLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
304 | this.nircmdLabel.Location = new System.Drawing.Point(764, 737);
305 | this.nircmdLabel.Name = "nircmdLabel";
306 | this.nircmdLabel.Size = new System.Drawing.Size(72, 22);
307 | this.nircmdLabel.TabIndex = 26;
308 | this.nircmdLabel.TabStop = true;
309 | this.nircmdLabel.Text = "Nircmd";
310 | this.toolTip1.SetToolTip(this.nircmdLabel, "https://www.nirsoft.net/utils/nircmd.html");
311 | this.nircmdLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.nircmdLabel_LinkClicked);
312 | //
313 | // label12
314 | //
315 | this.label12.AutoSize = true;
316 | this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
317 | this.label12.Location = new System.Drawing.Point(100, 737);
318 | this.label12.Name = "label12";
319 | this.label12.Size = new System.Drawing.Size(670, 22);
320 | this.label12.TabIndex = 25;
321 | this.label12.Text = "WARNING: There are multiple features that require the Target PC to have";
322 | //
323 | // label19
324 | //
325 | this.label19.AutoSize = true;
326 | this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
327 | this.label19.Location = new System.Drawing.Point(833, 737);
328 | this.label19.Name = "label19";
329 | this.label19.Size = new System.Drawing.Size(217, 22);
330 | this.label19.TabIndex = 27;
331 | this.label19.Text = "On the remote machine";
332 | //
333 | // toolTip1
334 | //
335 | this.toolTip1.IsBalloon = true;
336 | //
337 | // PaExecLabel
338 | //
339 | this.PaExecLabel.AutoSize = true;
340 | this.PaExecLabel.Cursor = System.Windows.Forms.Cursors.Hand;
341 | this.PaExecLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
342 | this.PaExecLabel.Location = new System.Drawing.Point(764, 759);
343 | this.PaExecLabel.Name = "PaExecLabel";
344 | this.PaExecLabel.Size = new System.Drawing.Size(78, 22);
345 | this.PaExecLabel.TabIndex = 29;
346 | this.PaExecLabel.TabStop = true;
347 | this.PaExecLabel.Text = "PaExec";
348 | this.toolTip1.SetToolTip(this.PaExecLabel, "https://www.poweradmin.com/paexec/");
349 | this.PaExecLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.PaExecLabel_LinkClicked);
350 | //
351 | // label21
352 | //
353 | this.label21.AutoSize = true;
354 | this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
355 | this.label21.Location = new System.Drawing.Point(100, 759);
356 | this.label21.Name = "label21";
357 | this.label21.Size = new System.Drawing.Size(670, 22);
358 | this.label21.TabIndex = 30;
359 | this.label21.Text = "WARNING: There are multiple features that require the Target PC to have";
360 | //
361 | // label20
362 | //
363 | this.label20.AutoSize = true;
364 | this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
365 | this.label20.Location = new System.Drawing.Point(848, 759);
366 | this.label20.Name = "label20";
367 | this.label20.Size = new System.Drawing.Size(217, 22);
368 | this.label20.TabIndex = 31;
369 | this.label20.Text = "On the remote machine";
370 | //
371 | // howToUse
372 | //
373 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
374 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
375 | this.ClientSize = new System.Drawing.Size(1295, 787);
376 | this.Controls.Add(this.label21);
377 | this.Controls.Add(this.PaExecLabel);
378 | this.Controls.Add(this.label19);
379 | this.Controls.Add(this.nircmdLabel);
380 | this.Controls.Add(this.label12);
381 | this.Controls.Add(this.label18);
382 | this.Controls.Add(this.label17);
383 | this.Controls.Add(this.label16);
384 | this.Controls.Add(this.label15);
385 | this.Controls.Add(this.textBox2);
386 | this.Controls.Add(this.label14);
387 | this.Controls.Add(this.label13);
388 | this.Controls.Add(this.adminEnableBox);
389 | this.Controls.Add(this.label11);
390 | this.Controls.Add(this.label10);
391 | this.Controls.Add(this.textBox1);
392 | this.Controls.Add(this.label9);
393 | this.Controls.Add(this.label8);
394 | this.Controls.Add(this.label7);
395 | this.Controls.Add(this.linkLabel1);
396 | this.Controls.Add(this.label6);
397 | this.Controls.Add(this.label5);
398 | this.Controls.Add(this.label4);
399 | this.Controls.Add(this.label3);
400 | this.Controls.Add(this.label2);
401 | this.Controls.Add(this.label1);
402 | this.Controls.Add(this.logoHowToUseLbl);
403 | this.Controls.Add(this.label20);
404 | this.MaximizeBox = false;
405 | this.MinimizeBox = false;
406 | this.Name = "howToUse";
407 | this.ShowIcon = false;
408 | this.Text = "How To Use Information";
409 | this.TopMost = true;
410 | this.Load += new System.EventHandler(this.HowToUse_Load);
411 | this.ResumeLayout(false);
412 | this.PerformLayout();
413 |
414 | }
415 |
416 | #endregion
417 |
418 | private System.Windows.Forms.Label label1;
419 | private System.Windows.Forms.Label label2;
420 | private System.Windows.Forms.Label label3;
421 | private System.Windows.Forms.Label label4;
422 | private System.Windows.Forms.Label label5;
423 | private System.Windows.Forms.Label label6;
424 | private System.Windows.Forms.LinkLabel linkLabel1;
425 | private System.Windows.Forms.Label label7;
426 | private System.Windows.Forms.Label label8;
427 | private System.Windows.Forms.Label label9;
428 | private System.Windows.Forms.TextBox textBox1;
429 | private System.Windows.Forms.Label label10;
430 | private System.Windows.Forms.Label label11;
431 | private System.Windows.Forms.TextBox adminEnableBox;
432 | private System.Windows.Forms.Label label13;
433 | private System.Windows.Forms.Label label14;
434 | private System.Windows.Forms.TextBox textBox2;
435 | private System.Windows.Forms.Label label15;
436 | private System.Windows.Forms.Label label16;
437 | private System.Windows.Forms.Label label17;
438 | private System.Windows.Forms.Label logoHowToUseLbl;
439 | private System.Windows.Forms.Label label18;
440 | private System.Windows.Forms.LinkLabel nircmdLabel;
441 | private System.Windows.Forms.Label label12;
442 | private System.Windows.Forms.Label label19;
443 | private System.Windows.Forms.ToolTip toolTip1;
444 | private System.Windows.Forms.LinkLabel PaExecLabel;
445 | private System.Windows.Forms.Label label21;
446 | private System.Windows.Forms.Label label20;
447 | }
448 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/howToUse.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 |
11 | namespace EnhancedPsExec
12 | {
13 | public partial class howToUse : Form
14 | {
15 | public howToUse()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void HowToUse_Load(object sender, EventArgs e)
21 | {
22 |
23 | adminEnableBox.Text = "net user /add usernameToHack passToBeUsed\r\nnet localgroup administrators usernameToHack /add";
24 |
25 | }
26 |
27 | private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
28 | {
29 | System.Diagnostics.Process.Start("https://docs.microsoft.com/en-us/sysinternals/downloads/psexec");
30 | }
31 |
32 | private void LogoHowToUseLbl_Click(object sender, EventArgs e)
33 | {
34 | System.Diagnostics.Process.Start("https://github.com/orishamir/");
35 | }
36 |
37 | private void nircmdLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
38 | {
39 | System.Diagnostics.Process.Start("https://www.nirsoft.net/utils/nircmd.html");
40 | }
41 |
42 | private void PaExecLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
43 | {
44 | System.Diagnostics.Process.Start("https://www.poweradmin.com/paexec/");
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/install.vbs:
--------------------------------------------------------------------------------
1 | Set WshShell = CreateObject("WScript.shell")
2 | WshShell.run "CMD /C start chrome.exe https://www.youtube.com/channel/UCS7HaiFfEvvMIHGaOz1BF7Q",0,False
3 | a= msgbox(":(", 64,"Seeya!")
4 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/keyboard.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Drawing;
4 | using System.Threading;
5 | using System.Windows.Forms;
6 | using EnhancedPsExecGUI;
7 | namespace EnhancedPsExec
8 | {
9 | public partial class keyboard : Form
10 | {
11 | epsexecForm mainForm;
12 | string sendMe = "";
13 | bool ctrlClicked = false;
14 | bool altClicked = false;
15 | bool winClicked = false;
16 | bool shiftClicked = true;
17 | bool capsClicked = true;
18 |
19 | bool disableKeyboard = false;
20 | public keyboard(epsexecForm mf)
21 | {
22 | mainForm = mf;
23 | InitializeComponent();
24 | }
25 | protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
26 | {
27 | if (disableKeyboard)
28 | return false;
29 | Console.WriteLine("key: " + (int)keyData);
30 | if ((int)keyData == 131089) {
31 | ctrlBtn_Click(new object(), new EventArgs());
32 | return true;
33 | }
34 |
35 | if (keyData == Keys.Left || keyData == Keys.Right || keyData == Keys.Down || keyData == Keys.Up)
36 | {
37 | Button b = new Button();
38 | if (keyData == Keys.Left)
39 | b.Name = "leftBtn";
40 |
41 | else if (keyData == Keys.Right)
42 | b.Name = "rightBtn";
43 |
44 | else if (keyData == Keys.Up)
45 | b.Name = "upBtn";
46 |
47 | else if (keyData == Keys.Down)
48 | b.Name = "downBtn";
49 |
50 | arrowsBtn_click(b, new EventArgs());
51 | return true;
52 | }
53 | if(keyData == Keys.LWin || keyData == Keys.RWin)
54 | {
55 | winKey_Click(new object(), new EventArgs());
56 | this.Focus();
57 | return true;
58 | }
59 |
60 | switch (keyData)
61 | {
62 | case Keys.Return:
63 | this.enterBtn_Click(new object(), new EventArgs());
64 | break;
65 |
66 | case Keys.Tab:
67 | tabKey_Click(new object(), new EventArgs());
68 | return true;
69 |
70 | case Keys.Escape:
71 | escBtn_Click(new object(), new EventArgs());
72 | break;
73 |
74 | case Keys.Space:
75 | return false;
76 |
77 | case Keys.Alt:
78 | altBtn_Click(new object(), new EventArgs());
79 | break;
80 |
81 | case Keys.Back:
82 | try
83 | {
84 | sendMe = sendMe.TrimEnd();
85 |
86 | char cc = sendMe[sendMe.Length - 1];
87 | // cut down until a space is hit
88 | while (cc != ' ' && cc != '+')
89 | {
90 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
91 | cc = sendMe[sendMe.Length - 1];
92 | }
93 | if (sendMe.EndsWith("+"))
94 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
95 |
96 | sendBox.Text = sendMe;
97 | }
98 | catch (ArgumentOutOfRangeException) { }
99 | catch (IndexOutOfRangeException) { }
100 |
101 | return true;
102 | }
103 |
104 | return base.ProcessCmdKey(ref msg, keyData);
105 | }
106 |
107 | void keyboard_KeyPress(object sender, KeyPressEventArgs e)
108 | {
109 | if (disableKeyboard)
110 | return;
111 | if (e.KeyChar == ' ') {
112 | sendMe += " spc ";
113 | sendBox.Text = sendMe;
114 | }
115 |
116 | if ((e.KeyChar) == 91)
117 | {
118 | e.Handled = true;
119 | }
120 | if (e.KeyChar == 8 || e.KeyChar == 27) //|| e.KeyChar >= 112 && e.KeyChar <= 135)
121 | return;
122 | Button b = new Button();
123 | b.Text = e.KeyChar.ToString();
124 | letterBtn_clicked(b, e);
125 | }
126 |
127 | private void arrowsBtn_click(object sender, EventArgs e)
128 | {
129 | string name = ((Button)sender).Name;
130 | if (name == "upBtn")
131 | sendMe += " up ";
132 |
133 | else if (name == "downBtn")
134 | sendMe += " down ";
135 |
136 | else if (name == "leftBtn")
137 | sendMe += " left ";
138 |
139 | else if (name == "rightBtn")
140 | sendMe += " right ";
141 |
142 | sendMe = sendMe.Replace(" ", " ");
143 | sendBox.Text = sendMe;
144 | }
145 |
146 | private void keyboard_KeyDown(object sender, KeyEventArgs e)
147 | {
148 | if (disableKeyboard)
149 | return;
150 | if (e.Shift)
151 | {
152 | shiftClicked = true;
153 | shiftBtns();
154 | return;
155 | }
156 | if (e.KeyValue == 20)
157 | {
158 | capsBtn_Click(sender, e);
159 | return;
160 | }
161 | // alt key
162 | if (e.KeyValue == 18)
163 | {
164 | altBtn_Click(sender, e);
165 | return;
166 | }
167 |
168 | // FXX keys, F1 is 112
169 | if (e.KeyValue <= 136 && e.KeyValue >= 112)
170 | {
171 | if (!ctrlClicked && !altClicked && !winClicked)
172 | sendMe += $" F{e.KeyValue - 111} ";
173 | else
174 | sendMe += $"F{e.KeyValue - 111}+";
175 | sendMe = sendMe.Replace(" ", " ");
176 | sendBox.Text = sendMe;
177 | return;
178 | }
179 | }
180 | private void fX_KeyDown(object sender, EventArgs e)
181 | {
182 | // Console.WriteLine((int)Keys.F1 + "-" + (int)Keys.F24);
183 | if (disableKeyboard)
184 | return;
185 | try
186 | {
187 | if (!ctrlClicked && !altClicked && !winClicked)
188 | sendMe += $" {(((Button)sender).Text)} ";
189 | else
190 | sendMe += $"{(((Button)sender).Text)}+";
191 | //sendMe = sendMe.Replace(" ", " ");
192 | sendBox.Text = sendMe;
193 | }
194 | catch (Exception){}
195 | }
196 | private void keyboard_KeyUp(object sender, KeyEventArgs e)
197 | {
198 | if (disableKeyboard)
199 | return;
200 | if (e.KeyValue == 16)
201 | {
202 | shiftClicked = false;
203 | unshiftBtns();
204 | return;
205 | }
206 | }
207 |
208 | private void unshiftBtns()
209 | {
210 | zeroBtn.Text = "0";
211 | oneBtn.Text = "1";
212 | twoBtn.Text = "2";
213 | threeBtn.Text = "3";
214 | fourBtn.Text = "4";
215 | fiveBtn.Text = "5";
216 | sixBtn.Text = "6";
217 | sevenBtn.Text = "7";
218 | eightBtn.Text = "8";
219 | nineBtn.Text = "9";
220 | // special
221 | idkBtn.Text = "`";
222 | minusBtn.Text = "-";
223 | equalBtn.Text = "=";
224 | colonBtn.Text = ";";
225 | psikBtn.Text = ",";
226 | dotBtn.Text = ".";
227 | slashBtn.Text = "/";
228 | // -------
229 | // do the abc
230 | aBtn.Text = aBtn.Text.ToLower();
231 | bBtn.Text = bBtn.Text.ToLower();
232 | cBtn.Text = cBtn.Text.ToLower();
233 | dBtn.Text = dBtn.Text.ToLower();
234 | eBtn.Text = eBtn.Text.ToLower();
235 | fBtn.Text = fBtn.Text.ToLower();
236 | gBtn.Text = gBtn.Text.ToLower();
237 | hBtn.Text = hBtn.Text.ToLower();
238 | iBtn.Text = iBtn.Text.ToLower();
239 | jBtn.Text = jBtn.Text.ToLower();
240 | kBtn.Text = kBtn.Text.ToLower();
241 | lBtn.Text = lBtn.Text.ToLower();
242 | mBtn.Text = mBtn.Text.ToLower();
243 | nBtn.Text = nBtn.Text.ToLower();
244 | oBtn.Text = oBtn.Text.ToLower();
245 | pBtn.Text = pBtn.Text.ToLower();
246 | qBtn.Text = qBtn.Text.ToLower();
247 | rBtn.Text = rBtn.Text.ToLower();
248 | sBtn.Text = sBtn.Text.ToLower();
249 | tBtn.Text = tBtn.Text.ToLower();
250 | uBtn.Text = uBtn.Text.ToLower();
251 | vBtn.Text = vBtn.Text.ToLower();
252 | wBtn.Text = wBtn.Text.ToLower();
253 | xBtn.Text = xBtn.Text.ToLower();
254 | yBtn.Text = yBtn.Text.ToLower();
255 | zBtn.Text = zBtn.Text.ToLower();
256 |
257 | lShiftBtn.BackColor = default(Color);
258 | rShiftBtn.BackColor = default;
259 | }
260 | private void shiftBtns()
261 | {
262 | // set 1234567890 keys to their normal things.
263 | zeroBtn.Text = ")";
264 | oneBtn.Text = "!";
265 | twoBtn.Text = "@";
266 | threeBtn.Text = "#";
267 | fourBtn.Text = "$";
268 | fiveBtn.Text = "%";
269 | sixBtn.Text = "^";
270 | sevenBtn.Text = "&&";
271 | eightBtn.Text = "*";
272 | nineBtn.Text = "(";
273 | // special
274 | idkBtn.Text = "~";
275 | minusBtn.Text = "_";
276 | equalBtn.Text = "+";
277 | colonBtn.Text = ":";
278 | psikBtn.Text = "<";
279 | dotBtn.Text = ">";
280 | slashBtn.Text = "?";
281 | //---
282 | // ABC
283 | aBtn.Text = aBtn.Text.ToUpper();
284 | bBtn.Text = bBtn.Text.ToUpper();
285 | cBtn.Text = cBtn.Text.ToUpper();
286 | dBtn.Text = dBtn.Text.ToUpper();
287 | eBtn.Text = eBtn.Text.ToUpper();
288 | fBtn.Text = fBtn.Text.ToUpper();
289 | gBtn.Text = gBtn.Text.ToUpper();
290 | hBtn.Text = hBtn.Text.ToUpper();
291 | iBtn.Text = iBtn.Text.ToUpper();
292 | jBtn.Text = jBtn.Text.ToUpper();
293 | kBtn.Text = kBtn.Text.ToUpper();
294 | lBtn.Text = lBtn.Text.ToUpper();
295 | mBtn.Text = mBtn.Text.ToUpper();
296 | nBtn.Text = nBtn.Text.ToUpper();
297 | oBtn.Text = oBtn.Text.ToUpper();
298 | pBtn.Text = pBtn.Text.ToUpper();
299 | qBtn.Text = qBtn.Text.ToUpper();
300 | rBtn.Text = rBtn.Text.ToUpper();
301 | sBtn.Text = sBtn.Text.ToUpper();
302 | tBtn.Text = tBtn.Text.ToUpper();
303 | uBtn.Text = uBtn.Text.ToUpper();
304 | vBtn.Text = vBtn.Text.ToUpper();
305 | wBtn.Text = wBtn.Text.ToUpper();
306 | xBtn.Text = xBtn.Text.ToUpper();
307 | yBtn.Text = yBtn.Text.ToUpper();
308 | zBtn.Text = zBtn.Text.ToUpper();
309 | //--
310 | lShiftBtn.BackColor = Color.LightBlue;
311 | rShiftBtn.BackColor = Color.LightBlue;
312 | }
313 |
314 | private void letterBtn_clicked(object sender, EventArgs e)
315 | {
316 | if(!ctrlClicked && !altClicked && !winClicked)
317 | sendMe += $" {(((Button)sender).Text)[0]} ";
318 | else
319 | sendMe += $"{(((Button)sender).Text)[0]}+";
320 | sendMe = sendMe.Replace(" ", " ");
321 | sendBox.Text = sendMe;
322 | focusThis.Focus();
323 | }
324 |
325 | private void spaceBtn_Click(object sender, EventArgs e)
326 | {
327 | sendMe += " spc ";
328 | sendMe = sendMe.Replace(" ", " ");
329 | sendBox.Text = sendMe;
330 | focusThis.Focus();
331 | }
332 |
333 | private void liveBox_CheckedChanged(object sender, EventArgs e)
334 | {
335 | sendBtn.Visible = !liveBox.Checked;
336 | focusThis.Focus();
337 | }
338 |
339 | private void ctrlBtn_Click(object sender, EventArgs e)
340 | {
341 | ctrlClicked = !ctrlClicked;
342 | if (ctrlClicked)
343 | sendMe += " ctrl+";
344 | else
345 | sendMe = sendMe.Substring(0, sendMe.Length-1);
346 | sendMe = sendMe.Replace(" ", " ");
347 | sendBox.Text = sendMe;
348 |
349 | focusThis.Focus();
350 | }
351 |
352 | private void shiftKey_Click(object sender, EventArgs e)
353 | {
354 | if (shiftClicked)
355 | shiftBtns();
356 | else
357 | unshiftBtns();
358 | focusThis.Focus();
359 | shiftClicked = !shiftClicked;
360 | }
361 |
362 | private void capsBtn_Click(object sender, EventArgs e)
363 | {
364 | if (capsClicked)
365 | {
366 | capsBtn.BackColor = Color.LightBlue;
367 | //---
368 | // ABC
369 | aBtn.Text = aBtn.Text.ToUpper();
370 | bBtn.Text = bBtn.Text.ToUpper();
371 | cBtn.Text = cBtn.Text.ToUpper();
372 | dBtn.Text = dBtn.Text.ToUpper();
373 | eBtn.Text = eBtn.Text.ToUpper();
374 | fBtn.Text = fBtn.Text.ToUpper();
375 | gBtn.Text = gBtn.Text.ToUpper();
376 | hBtn.Text = hBtn.Text.ToUpper();
377 | iBtn.Text = iBtn.Text.ToUpper();
378 | jBtn.Text = jBtn.Text.ToUpper();
379 | kBtn.Text = kBtn.Text.ToUpper();
380 | lBtn.Text = lBtn.Text.ToUpper();
381 | mBtn.Text = mBtn.Text.ToUpper();
382 | nBtn.Text = nBtn.Text.ToUpper();
383 | oBtn.Text = oBtn.Text.ToUpper();
384 | pBtn.Text = pBtn.Text.ToUpper();
385 | qBtn.Text = qBtn.Text.ToUpper();
386 | rBtn.Text = rBtn.Text.ToUpper();
387 | sBtn.Text = sBtn.Text.ToUpper();
388 | tBtn.Text = tBtn.Text.ToUpper();
389 | uBtn.Text = uBtn.Text.ToUpper();
390 | vBtn.Text = vBtn.Text.ToUpper();
391 | wBtn.Text = wBtn.Text.ToUpper();
392 | xBtn.Text = xBtn.Text.ToUpper();
393 | yBtn.Text = yBtn.Text.ToUpper();
394 | zBtn.Text = zBtn.Text.ToUpper();
395 | }
396 | else
397 | {
398 | capsBtn.BackColor = default(Color);
399 | //abc
400 | aBtn.Text = aBtn.Text.ToLower();
401 | bBtn.Text = bBtn.Text.ToLower();
402 | cBtn.Text = cBtn.Text.ToLower();
403 | dBtn.Text = dBtn.Text.ToLower();
404 | eBtn.Text = eBtn.Text.ToLower();
405 | fBtn.Text = fBtn.Text.ToLower();
406 | gBtn.Text = gBtn.Text.ToLower();
407 | hBtn.Text = hBtn.Text.ToLower();
408 | iBtn.Text = iBtn.Text.ToLower();
409 | jBtn.Text = jBtn.Text.ToLower();
410 | kBtn.Text = kBtn.Text.ToLower();
411 | lBtn.Text = lBtn.Text.ToLower();
412 | mBtn.Text = mBtn.Text.ToLower();
413 | nBtn.Text = nBtn.Text.ToLower();
414 | oBtn.Text = oBtn.Text.ToLower();
415 | pBtn.Text = pBtn.Text.ToLower();
416 | qBtn.Text = qBtn.Text.ToLower();
417 | rBtn.Text = rBtn.Text.ToLower();
418 | sBtn.Text = sBtn.Text.ToLower();
419 | tBtn.Text = tBtn.Text.ToLower();
420 | uBtn.Text = uBtn.Text.ToLower();
421 | vBtn.Text = vBtn.Text.ToLower();
422 | wBtn.Text = wBtn.Text.ToLower();
423 | xBtn.Text = xBtn.Text.ToLower();
424 | yBtn.Text = yBtn.Text.ToLower();
425 | zBtn.Text = zBtn.Text.ToLower();
426 | }
427 | capsClicked = !capsClicked;
428 | focusThis.Focus();
429 | }
430 |
431 | private void enterBtn_Click(object sender, EventArgs e)
432 | {
433 | sendMe += " enter ";
434 | sendMe = sendMe.Replace(" ", " ");
435 | sendBox.Text = sendMe;
436 | focusThis.Focus();
437 | }
438 |
439 | private void altBtn_Click(object sender, EventArgs e)
440 | {
441 | altClicked = !altClicked;
442 | if (altClicked)
443 | sendMe += " alt+";
444 | else
445 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
446 | sendMe = sendMe.Replace(" ", " ");
447 | sendBox.Text = sendMe;
448 |
449 | focusThis.Focus();
450 | }
451 |
452 | private void sendBtn_Click(object sender, EventArgs e)
453 | {
454 | string sendMeFR = sendMe.Replace(" ", " ")
455 | .Replace(" = ", " 0xBB ")
456 | .Replace(" + ", " shift+0xBB ")
457 |
458 | .Replace(" ` ", " 0xC0 ")
459 | .Replace(" ~ ", " shift+0xC0 ")
460 |
461 | .Replace("!", " shift+1 ")
462 | .Replace("@", " shift+2 ")
463 | .Replace("#", " shift+3 ")
464 | .Replace("$", " shift+4 ")
465 | .Replace("%", " shift+5 ")
466 | .Replace("^", " shift+6 ")
467 | .Replace("&", " shift+7 ")
468 | .Replace("*", " shift+8 ")
469 | .Replace("(", " shift+9 ")
470 | .Replace(")", " shift+0 ")
471 |
472 | .Replace(" - ", " 0xBD ")
473 | .Replace(" _ ", " shift+0xBD ")
474 |
475 | .Replace(" ; ", " 0xBA ")
476 | .Replace(" : ", " shift+0xBA ")
477 |
478 | .Replace(" / ", " 0xBF ")
479 | .Replace(" ? ", " shift+0xBF ")
480 |
481 | .Replace(" \\ ", " 0xE2 ")
482 | .Replace(" | ", " shift+0xE2 ")
483 |
484 | .Replace(" , ", " 0xBC ")
485 | .Replace(" < ", " shift+0xBC ")
486 |
487 | .Replace(" . ", " 0xBE ")
488 | .Replace(" > ", " shift+0xBE ")
489 |
490 | // abc
491 | .Replace(" A ", " shift+a ")
492 | .Replace(" B ", " shift+b ")
493 | .Replace(" C ", " shift+c ")
494 | .Replace(" D ", " shift+d ")
495 | .Replace(" E ", " shift+e ")
496 | .Replace(" F ", " shift+f ")
497 | .Replace(" G ", " shift+g ")
498 | .Replace(" H ", " shift+h ")
499 | .Replace(" I ", " shift+i ")
500 | .Replace(" J ", " shift+j ")
501 | .Replace(" K ", " shift+k ")
502 | .Replace(" L ", " shift+l ")
503 | .Replace(" M ", " shift+m ")
504 | .Replace(" N ", " shift+n ")
505 | .Replace(" O ", " shift+o ")
506 | .Replace(" P ", " shift+p ")
507 | .Replace(" Q ", " shift+q ")
508 | .Replace(" R ", " shift+r ")
509 | .Replace(" S ", " shift+s ")
510 | .Replace(" T ", " shift+t ")
511 | .Replace(" U ", " shift+u ")
512 | .Replace(" V ", " shift+v ")
513 | .Replace(" W ", " shift+w ")
514 | .Replace(" X ", " shift+x ")
515 | .Replace(" Y ", " shift+y ")
516 | .Replace(" Z ", " shift+z ")
517 | ;
518 | Console.WriteLine("sendme: " + sendMe);
519 | Console.WriteLine("sendmeFR: " + sendMeFR);
520 |
521 | focusThis.Focus();
522 | if (mainForm.injectedCmdProc == null)
523 | {
524 | var proc2 = new Process
525 | {
526 | StartInfo = new ProcessStartInfo
527 | {
528 | FileName = "psexec.exe",
529 | Arguments = $"\\\\{mainForm.ipBox.Text} -u {mainForm.usrBox.Text} -p {mainForm.passwordBox.Text} -s -i -accepteula nircmd.exe sendkeypress {sendMeFR}",
530 | UseShellExecute = false,
531 | RedirectStandardOutput = true,
532 |
533 | CreateNoWindow = true
534 | }
535 | };
536 | proc2.Start();
537 | proc2.Close();
538 | }
539 | else
540 | mainForm.injectedCmdProc.StandardInput.WriteLine($"paexec.exe -s -i -accepteula nircmd.exe sendkeypress {sendMeFR}");
541 | }
542 |
543 | private void winKey_Click(object sender, EventArgs e)
544 | {
545 | /* sendMe += " lwin ";
546 | sendMe = sendMe.Replace(" ", " ");
547 | sendBox.Text = sendMe;
548 | focusThis.Focus();*/
549 | // win key: 91
550 | winClicked = !winClicked;
551 | if (winClicked)
552 | sendMe += " win+";
553 | else
554 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
555 | sendMe = sendMe.Replace(" ", " ");
556 | sendBox.Text = sendMe;
557 |
558 | focusThis.Focus();
559 | }
560 |
561 | private void tabKey_Click(object sender, EventArgs e)
562 | {
563 | sendMe += " tab ";
564 | sendMe = sendMe.Replace(" ", " ");
565 | sendBox.Text = sendMe;
566 | focusThis.Focus();
567 | }
568 | private void sendBox_TextChanged(object sender, EventArgs e)
569 | {
570 | focusThis.Focus();
571 | }
572 |
573 | private void equalBtn_Click(object sender, EventArgs e)
574 | {
575 | sendMe += $" {equalBtn.Text} ";
576 | sendMe = sendMe.Replace(" ", " ");
577 | sendBox.Text = sendMe;
578 | focusThis.Focus();
579 | }
580 |
581 | private void minusBtn_Click(object sender, EventArgs e)
582 | {
583 | sendMe += $" {minusBtn.Text} ";
584 | sendMe = sendMe.Replace(" ", " ");
585 | sendBox.Text = sendMe;
586 | focusThis.Focus();
587 | }
588 |
589 | private void clearBtn_Click(object sender, EventArgs e)
590 | {
591 | sendMe = "";
592 | sendMe = sendMe.Replace(" ", " ");
593 | sendBox.Text = sendMe;
594 | focusThis.Focus();
595 | }
596 |
597 | private void alwaysOnTopToolStripMenuItem_Click(object sender, EventArgs e)
598 | {
599 | this.TopMost = alwaysOnTopToolStripMenuItem.Checked;
600 | }
601 |
602 | private void disableKeyboardInputToolStripMenuItem_Click(object sender, EventArgs e)
603 | {
604 | disableKeyboard = disableKeyboardInputToolStripMenuItem.Checked;
605 | }
606 |
607 | private void sendBox_MouseHover(object sender, EventArgs e)
608 | {
609 | this.focusThis.Focus();
610 | }
611 |
612 | private void sendBox_MouseClick(object sender, MouseEventArgs e)
613 | {
614 | if (e.Button == MouseButtons.Right)
615 | {
616 | Console.WriteLine("yea");
617 | Clipboard.SetText(sendBox.Text);
618 | MessageBox.Show("Copied To Clipboard");
619 |
620 | }
621 | this.focusThis.Focus();
622 | }
623 |
624 | private void keyboard_Click(object sender, EventArgs e)
625 | {
626 | focusThis.Focus();
627 | }
628 |
629 | private void comboBox1_TextChanged(object sender, EventArgs e)
630 | {
631 | Button b = new Button();
632 | b.Name = ((ComboBox)sender).Name;
633 | b.Text = ((ComboBox)sender).Text;
634 |
635 | fX_KeyDown(b, e);
636 | }
637 |
638 | private void escBtn_Click(object sender, EventArgs e)
639 | {
640 | sendMe += " esc ";
641 | sendMe = sendMe.Replace(" ", " ");
642 | sendBox.Text = sendMe;
643 | focusThis.Focus();
644 | }
645 |
646 | private void backspaceBtn_Click(object sender, EventArgs e)
647 | {
648 | try
649 | {
650 | sendMe = sendMe.TrimEnd();
651 |
652 | char cc = sendMe[sendMe.Length - 1];
653 | // cut down until a space is hit
654 | while (cc != ' ' && cc != '+')
655 | {
656 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
657 | cc = sendMe[sendMe.Length - 1];
658 | }
659 | if (sendMe.EndsWith("+"))
660 | sendMe = sendMe.Substring(0, sendMe.Length - 1);
661 |
662 | sendBox.Text = sendMe;
663 | }
664 | catch (ArgumentOutOfRangeException) { }
665 | catch (IndexOutOfRangeException) { }
666 | }
667 |
668 | private void comboBox1_KeyPress(object sender, KeyPressEventArgs e)
669 | {
670 | Console.WriteLine("blululu: " + e.KeyChar);
671 | }
672 | }
673 | }
674 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/logo_bGC_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/logo_bGC_icon.ico
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/Release/EnhancedPsExec.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/Release/EnhancedPsExec.Properties.Resources.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/Release/EnhancedPsExec.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/Release/EnhancedPsExec.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/Release/EnhancedPsExecGUI.Form1.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/Release/EnhancedPsExecGUI.Form1.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/Release/EnhancedPsExecGUI.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExecGUI.Form1.resources
2 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExecGUI.csproj.GenerateResource.cache
3 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExecGUI.csproj.CoreCompileInputs.cache
4 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExecGUI.csprojAssemblyReference.cache
5 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\Release\EnhancedPsExec.exe.config
6 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\Release\EnhancedPsExec.exe
7 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\Release\EnhancedPsExec.pdb
8 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExec.Properties.Resources.resources
9 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExec.exe
10 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\Release\EnhancedPsExec.pdb
11 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/Release/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.Properties.Resources.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe.config
2 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe
3 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.pdb
4 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.CreditsFormBox.resources
5 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.Properties.Resources.resources
6 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csproj.GenerateResource.cache
7 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.exe
8 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.pdb
9 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csprojAssemblyReference.cache
10 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.howToUse.resources
11 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.resources
12 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.scannerForm.resources
13 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\en-US\EnhancedPsExec.resources.dll
14 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.en-US.resources
15 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\en-US\EnhancedPsExec.resources.dll
16 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.RemoteConsole.resources
17 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe.config
18 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe
19 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.pdb
20 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\en-US\EnhancedPsExec.resources.dll
21 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csprojAssemblyReference.cache
22 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.resources
23 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.howToUse.resources
24 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.Properties.Resources.resources
25 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.RemoteConsole.resources
26 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.scannerForm.resources
27 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.en-US.resources
28 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csproj.GenerateResource.cache
29 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\en-US\EnhancedPsExec.resources.dll
30 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.exe
31 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.pdb
32 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.keyboard.resources
33 | C:\Users\orish\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.CreditsForm.resources
34 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe.config
35 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe
36 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.pdb
37 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\en-US\EnhancedPsExec.resources.dll
38 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.CreditsForm.resources
39 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.resources
40 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.howToUse.resources
41 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.keyboard.resources
42 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.Properties.Resources.resources
43 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.RemoteConsole.resources
44 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.scannerForm.resources
45 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.scriptingHowTo.resources
46 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.epsexecForm.en-US.resources
47 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csproj.GenerateResource.cache
48 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csproj.CoreCompileInputs.cache
49 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\en-US\EnhancedPsExec.resources.dll
50 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.exe
51 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.pdb
52 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csprojAssemblyReference.cache
53 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\INIFileParser.dll
54 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\bin\x64\Release\INIFileParser.xml
55 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.csproj.CopyComplete
56 | C:\Users\ori\OneDrive - Histadrut - General federation of labor unions\Ori\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.PrefForm.resources
57 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.exe
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.howToUse.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.howToUse.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.scannerForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExec.scannerForm.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExecGUI.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe.config
2 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.exe
3 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\bin\x64\Release\EnhancedPsExec.pdb
4 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.csprojAssemblyReference.cache
5 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.Form1.resources
6 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.Properties.Resources.resources
7 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.csproj.GenerateResource.cache
8 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExecGUI.csproj.CoreCompileInputs.cache
9 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.exe
10 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.pdb
11 | D:\ori\hacking\programming\python\package\EnhancedPsExecGUI\obj\x64\Release\EnhancedPsExec.CreditsFormBox.resources
12 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExecGUI.epsexecForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/EnhancedPsExecGUI.epsexecForm.resources
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/EnhancedPsExecGUI/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/scannerForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class scannerForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(scannerForm));
32 | this.scanBtn = new System.Windows.Forms.Button();
33 | this.networkPCsBox = new System.Windows.Forms.ListBox();
34 | this.getPCSBox = new System.Windows.Forms.Button();
35 | this.importBtn = new System.Windows.Forms.Button();
36 | this.selectAllBtn = new System.Windows.Forms.Button();
37 | this.SuspendLayout();
38 | //
39 | // scanBtn
40 | //
41 | this.scanBtn.Cursor = System.Windows.Forms.Cursors.Hand;
42 | this.scanBtn.Enabled = false;
43 | this.scanBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
44 | this.scanBtn.Location = new System.Drawing.Point(267, 596);
45 | this.scanBtn.Name = "scanBtn";
46 | this.scanBtn.Size = new System.Drawing.Size(215, 47);
47 | this.scanBtn.TabIndex = 0;
48 | this.scanBtn.Text = "Scan Machines Now";
49 | this.scanBtn.UseVisualStyleBackColor = true;
50 | this.scanBtn.Click += new System.EventHandler(this.ScanBtn_Click);
51 | //
52 | // networkPCsBox
53 | //
54 | this.networkPCsBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
55 | this.networkPCsBox.FormattingEnabled = true;
56 | this.networkPCsBox.ItemHeight = 25;
57 | this.networkPCsBox.Location = new System.Drawing.Point(12, 12);
58 | this.networkPCsBox.Name = "networkPCsBox";
59 | this.networkPCsBox.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
60 | this.networkPCsBox.Size = new System.Drawing.Size(928, 579);
61 | this.networkPCsBox.TabIndex = 1;
62 | this.networkPCsBox.SelectedIndexChanged += new System.EventHandler(this.networkPCsBox_SelectedIndexChanged);
63 | //
64 | // getPCSBox
65 | //
66 | this.getPCSBox.Cursor = System.Windows.Forms.Cursors.Hand;
67 | this.getPCSBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
68 | this.getPCSBox.Location = new System.Drawing.Point(497, 596);
69 | this.getPCSBox.Name = "getPCSBox";
70 | this.getPCSBox.Size = new System.Drawing.Size(214, 47);
71 | this.getPCSBox.TabIndex = 2;
72 | this.getPCSBox.Text = "Get Computers List";
73 | this.getPCSBox.UseVisualStyleBackColor = true;
74 | this.getPCSBox.Click += new System.EventHandler(this.GetPCSBox_Click);
75 | //
76 | // importBtn
77 | //
78 | this.importBtn.Cursor = System.Windows.Forms.Cursors.Hand;
79 | this.importBtn.Enabled = false;
80 | this.importBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
81 | this.importBtn.Location = new System.Drawing.Point(87, 596);
82 | this.importBtn.Name = "importBtn";
83 | this.importBtn.Size = new System.Drawing.Size(149, 47);
84 | this.importBtn.TabIndex = 3;
85 | this.importBtn.Text = "Import";
86 | this.importBtn.UseVisualStyleBackColor = true;
87 | this.importBtn.Click += new System.EventHandler(this.ImportBtn_Click);
88 | //
89 | // selectAllBtn
90 | //
91 | this.selectAllBtn.Cursor = System.Windows.Forms.Cursors.Hand;
92 | this.selectAllBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
93 | this.selectAllBtn.Location = new System.Drawing.Point(946, 12);
94 | this.selectAllBtn.Name = "selectAllBtn";
95 | this.selectAllBtn.Size = new System.Drawing.Size(125, 37);
96 | this.selectAllBtn.TabIndex = 4;
97 | this.selectAllBtn.Text = "Select All";
98 | this.selectAllBtn.UseVisualStyleBackColor = true;
99 | this.selectAllBtn.Click += new System.EventHandler(this.SelectAllBtn_Click);
100 | //
101 | // scannerForm
102 | //
103 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
104 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
105 | this.ClientSize = new System.Drawing.Size(1110, 674);
106 | this.Controls.Add(this.selectAllBtn);
107 | this.Controls.Add(this.importBtn);
108 | this.Controls.Add(this.getPCSBox);
109 | this.Controls.Add(this.networkPCsBox);
110 | this.Controls.Add(this.scanBtn);
111 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
112 | this.MaximizeBox = false;
113 | this.MinimizeBox = false;
114 | this.Name = "scannerForm";
115 | this.ShowInTaskbar = false;
116 | this.Text = "scanner";
117 | this.ResumeLayout(false);
118 |
119 | }
120 |
121 | #endregion
122 | public System.Windows.Forms.ListBox networkPCsBox;
123 | public System.Windows.Forms.Button scanBtn;
124 | public System.Windows.Forms.Button getPCSBox;
125 | public System.Windows.Forms.Button importBtn;
126 | private System.Windows.Forms.Button selectAllBtn;
127 | }
128 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/scannerForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Data;
4 | using System.Linq;
5 | using System.Windows.Forms;
6 | using System.Net.Sockets;
7 | using EnhancedPsExecGUI;
8 | using System.Diagnostics;
9 |
10 | namespace EnhancedPsExec
11 | {
12 | public partial class scannerForm : Form
13 | {
14 | epsexecForm mainForm;
15 | public scannerForm(epsexecForm f)
16 | {
17 | InitializeComponent();
18 | mainForm = f;
19 | }
20 | bool canImport = false;
21 | private void ScanBtn_Click(object sender, EventArgs e)
22 | {
23 | TcpClient tcpClient = new TcpClient();
24 | List items = new List(networkPCsBox.SelectedItems.Cast().ToList());
25 | networkPCsBox.Items.Clear();
26 | foreach (string ip in items)
27 | {
28 | try
29 | {
30 | tcpClient.Connect(ip, 445);
31 | networkPCsBox.Items.Add($"{ip} Status: OPENED");
32 | canImport = true;
33 | }
34 | catch (System.Net.Sockets.SocketException)
35 | {
36 | networkPCsBox.Items.Add($"{ip} Status: Closed");
37 | }
38 | }
39 | networkPCsBox.SelectionMode = SelectionMode.One;
40 | networkPCsBox.SelectedItem = null;
41 | if (canImport)
42 | importBtn.Enabled = true;
43 | }
44 |
45 | private void GetPCSBox_Click(object sender, EventArgs e)
46 | {
47 | networkPCsBox.SelectionMode = SelectionMode.MultiSimple;
48 | networkPCsBox.Items.Clear();
49 | var proc = new Process
50 | {
51 | StartInfo = new ProcessStartInfo
52 | {
53 | FileName = "cmd.exe",
54 | Arguments = $"/c arp -a | findstr /v \"Internet Address\" | findstr /v \"Interface:\"",
55 | UseShellExecute = false,
56 | RedirectStandardOutput = true,
57 | CreateNoWindow = true
58 | }
59 | };
60 | proc.Start();
61 | string lines = proc.StandardOutput.ReadToEnd();
62 | proc.Close();
63 |
64 | foreach (string line in lines.Split('\n'))
65 | {
66 | if (line.Length < 20 || (!line.Trim().StartsWith("10.") && !line.Trim().StartsWith("192.168") && !line.Trim().StartsWith("172.")) || line.Trim().Split(' ')[0].EndsWith(".255"))
67 | continue;
68 |
69 | string newLine = line.Substring(2);
70 | networkPCsBox.Items.Add(newLine.Split(' ')[0]);
71 | }
72 |
73 | scanBtn.Enabled = true;
74 | }
75 |
76 | private void ImportBtn_Click(object sender, EventArgs e)
77 | {
78 | mainForm.ipBox.Text = ((string)networkPCsBox.SelectedItem).Substring(0,((string)networkPCsBox.SelectedItem).Length - 15);
79 | this.Close();
80 | }
81 |
82 | private void SelectAllBtn_Click(object sender, EventArgs e)
83 | {
84 | var temp = networkPCsBox.Items;
85 | if (networkPCsBox.SelectedIndices.Count == networkPCsBox.Items.Count)
86 | {
87 | networkPCsBox.SelectedIndices.Clear();
88 | return;
89 | }
90 | for (int i = 0; i < temp.Count; i++)
91 | {
92 |
93 | networkPCsBox.SelectedIndices.Add(i);
94 | }
95 | }
96 |
97 | private void networkPCsBox_SelectedIndexChanged(object sender, EventArgs e)
98 | {
99 |
100 | }
101 | }
102 | }
103 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/scriptingHowTo.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace EnhancedPsExec
2 | {
3 | partial class scriptingHowTo
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(scriptingHowTo));
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.richTextBox1 = new System.Windows.Forms.RichTextBox();
34 | this.SuspendLayout();
35 | //
36 | // label1
37 | //
38 | this.label1.AutoSize = true;
39 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
40 | this.label1.Location = new System.Drawing.Point(29, 33);
41 | this.label1.Name = "label1";
42 | this.label1.Size = new System.Drawing.Size(767, 350);
43 | this.label1.TabIndex = 0;
44 | this.label1.Text = resources.GetString("label1.Text");
45 | this.label1.Click += new System.EventHandler(this.label1_Click);
46 | //
47 | // richTextBox1
48 | //
49 | this.richTextBox1.AcceptsTab = true;
50 | this.richTextBox1.BulletIndent = 1;
51 | this.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
52 | this.richTextBox1.Location = new System.Drawing.Point(82, 397);
53 | this.richTextBox1.Name = "richTextBox1";
54 | this.richTextBox1.ReadOnly = true;
55 | this.richTextBox1.Size = new System.Drawing.Size(261, 135);
56 | this.richTextBox1.TabIndex = 1;
57 | this.richTextBox1.Text = "";
58 | this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
59 | //
60 | // scriptingHowTo
61 | //
62 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
63 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
64 | this.ClientSize = new System.Drawing.Size(935, 560);
65 | this.Controls.Add(this.richTextBox1);
66 | this.Controls.Add(this.label1);
67 | this.MaximizeBox = false;
68 | this.MinimizeBox = false;
69 | this.Name = "scriptingHowTo";
70 | this.ShowIcon = false;
71 | this.Text = "How To Use Enhanced PsExec\'s Scripting Language";
72 | this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.scriptingHowTo_HelpButtonClicked);
73 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.scriptingHowTo_FormClosing);
74 | this.Load += new System.EventHandler(this.scriptingHowTo_Load);
75 | this.ResumeLayout(false);
76 | this.PerformLayout();
77 |
78 | }
79 |
80 | #endregion
81 |
82 | private System.Windows.Forms.Label label1;
83 | public System.Windows.Forms.RichTextBox richTextBox1;
84 | }
85 | }
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/scriptingHowTo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 | using System.Windows.Forms;
4 | using EnhancedPsExecGUI;
5 | namespace EnhancedPsExec
6 | {
7 | public partial class scriptingHowTo : Form
8 | {
9 | epsexecForm main;
10 | public scriptingHowTo(epsexecForm f)
11 | {
12 | main = f;
13 | InitializeComponent();
14 | }
15 |
16 | private void scriptingHowTo_FormClosing(object sender, FormClosingEventArgs e)
17 | {
18 | main.howto = null;
19 | }
20 |
21 | private void label1_Click(object sender, EventArgs e)
22 | {
23 | label1.Focus();
24 | }
25 |
26 | private void scriptingHowTo_Load(object sender, EventArgs e)
27 | {
28 | //richTextBox1.ForeColor = Color.LightBlue;
29 | richTextBox1.AppendText("do");
30 |
31 | //richTextBox1.ForeColor = Color.White;
32 | richTextBox1.AppendText(" X ");
33 |
34 | //richTextBox1.ForeColor = Color.White;
35 | richTextBox1.AppendText(" times{ ");
36 |
37 | richTextBox1.AppendText("\n");
38 | richTextBox1.AppendText(" func arg1, arg2\n");
39 | richTextBox1.AppendText(" click 750, 620\n");
40 | richTextBox1.AppendText("}");
41 | }
42 |
43 | private void scriptingHowTo_HelpButtonClicked(object sender, System.ComponentModel.CancelEventArgs e)
44 | {
45 | MessageBox.Show("hello");
46 | }
47 |
48 | private void richTextBox1_TextChanged(object sender, EventArgs e)
49 | {
50 |
51 | }
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/scriptingHowTo.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 | delay <MS> - delay x milliseconds before continuing.
122 | openurl url, tabs, [incognito/newwindow/invisible]
123 |
124 | setvolume <Vol> - Percentage of volume to set. A number from 0-100
125 | beep <frequency>, <duration>
126 | mute - Mute the system's sound.
127 | unmute - Unmute the system's sound.
128 |
129 | move <x>, <y> - Move the computer's mouse position to (x, y)
130 | press <button>, <op> - Button is left/right/middle, op is doubleclick/click/down/up
131 | click <x>, <y> - Left click on (x,y) position of screen. (Moves mouse to x,y then left click)
132 |
133 | To perform one or more operations multiple times, you can use a do loop:
134 | (Indentation does not matter)
135 |
136 |
137 |
--------------------------------------------------------------------------------
/EnhancedPsExecGUI/uninstall.vbs:
--------------------------------------------------------------------------------
1 | Set WshShell = CreateObject("WScript.shell")
2 | WshShell.run "CMD /C start chrome.exe https://www.youtube.com/channel/UCS7HaiFfEvvMIHGaOz1BF7Q",0,False
3 | a= msgbox(":(", 64,"Seeya!")
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # [For The Python Version And A More Detailed Explanation Click Here](https://pypi.org/project/Enhanced-PsExec/)
2 |
3 | ### About
4 | epsexec (Enhanced psexec) uses [Microsoft's Sysinternals PsExec](https://docs.microsoft.com/en-us/sysinternals/downloads/psexec) utility that uses SMB to execute programs on remote systems.
5 | PsExec is a light-weight telnet replacement.
6 | If you find any bugs, PLEASE report to ***`EpsexecNoReply@gmail.com`***
7 |
8 | ## Installation
9 | Go To [here](https://github.com/orishamir/Enhanced-PsExec-GUI/releases)
10 | This will download an installer that would configure everything
11 |
12 |
13 | ## Requirements
14 | **Attacker Machine:**
15 | 1) You MUST have [psexec install](https://docs.microsoft.com/en-us/sysinternals/downloads/psexec)ed
16 | (The installer installed it for you)
17 | **If you have A 32-bit installation, install psexec to `C:\windows\sysWOW64`.**
18 | Else, to `C:\windows\system32`
19 |
20 | **The Remote PC:**
21 | The remote pc (The pc that you are attacking) has very few requirements;
22 | 1) SMBv2 needs to be up and running on the Windows port. Run this CMD script on the remote computer:
23 | `powershell.exe Set-SmbServerConfiguration -EnableSMB2Protocol $true`
24 | 2) The ADMIN$ share to be enabled with read/write access of the user configured.
25 | Unless the machine already has an administrator user with password, I recommend making Another user that is administrator.
26 | CMD:
27 | `net user /add usernameToHack passToBeUsed`
28 | To enable administrator:
29 | `net localgroup administrators usernameToHack /add`
30 |
31 | 3) You'll need to add A registry key.
32 | This is because UAC is set up to deny connections like this, so you will get an `ACCESS_IS_DENIED` error when attempting to connect.
33 | Fix: Open CMD as administrator and run:
34 | `reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f`
35 |
36 | 4) RECOMMENDED: Disable firewall on the remote machine.
37 | This will allow for a faster experience while connecting.
38 | ~~There is also A tab for this~~, so you don't have to go to the remote PC NOW.
39 | Or, Open CMD with administrator privileges on the remote machine and run:
40 | `netsh advfirewall firewall set rule name="File and Printer Sharing (SMB-In)" dir=in new enable=Yes`
41 | Or, you can just disable the firewall entirely from administrator CMD:
42 | `netsh advfirewall set allprofiles state off`
43 |
44 | 5) Restart the system.
45 |
46 | ## NirCMD
47 | [NirCMD](https://www.nirsoft.net/utils/nircmd.html) is A windows command-line utility that allows you to do useful tasks without displaying any user interface.
48 | Unfortunately, NirCMD is NOT installed by default on windows systems.
49 | Thats why there is a button in the "Fun" tab, that automatically downloads NirCMD on the remote PC for you.
50 | Nircmd is required to be installed on the **remote** machine for all of the functions in:
51 | 1. The misc tab
52 | 2. Screenshot grabber
53 | 3. The sound tab
54 | 4. "Set Process Volume", "Mute process", "Unmute process" in the Process Control tab
--------------------------------------------------------------------------------
/Setup1/Release/Enhanced-PsExec-Installer.msi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/Setup1/Release/Enhanced-PsExec-Installer.msi
--------------------------------------------------------------------------------
/Setup1/Release/setup.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orishamir/Enhanced-PsExec-GUI/16b1e2b1e1eb3087958124c50e87f1d3783b49cf/Setup1/Release/setup.exe
--------------------------------------------------------------------------------
/convert.py:
--------------------------------------------------------------------------------
1 | """
2 | I don't use this anymore since I just rewrote everything in C#
3 | instead of in Py and convert to exe and some not nice stuff...
4 | but i'll leave it here.
5 |
6 |
7 | """
8 |
9 | import os
10 | import shutil
11 | """Convert all .py files to .exe files"""
12 |
13 | # remove already existing previous compiled
14 | for f in os.listdir(os.getcwd()):
15 | if f.endswith(".exe") and f != "EnhancedPsExecGUI.exe":
16 | os.remove(f)
17 |
18 | for f in os.listdir(os.getcwd()):
19 | if f.endswith('.py') and f != "convert.py":
20 | os.system(f"pyinstaller -y -F --onefile {f}")
21 | try:
22 | os.remove(f'{os.getcwd()}\\{f[:-3]+".spec"}')
23 | except OSError as e:
24 | print(f"Ignoring error: \"{str(e)[13:]}\"")
25 | # move dist/files to root directory.
26 | for f in os.listdir(os.getcwd()+'\\dist\\'):
27 | shutil.move(f"{os.getcwd()}\\dist\\{f}", f"{os.getcwd()}\\")
28 |
29 | shutil.rmtree(f'{os.getcwd()}\\build')
30 | os.rmdir(f'{os.getcwd()}\\dist')
31 | try:
32 | os.remove(f'{os.getcwd()}\\EnhancedPsExecGUI.exe.config')
33 | os.remove(f'{os.getcwd()}\\EnhancedPsExecGUI.pdb')
34 | except OSError as e:
35 | print(f"Ignoring Error: \"{str(e)[13:]}\"")
36 |
--------------------------------------------------------------------------------