Updated Payload hide cmd window (asciidoc)

This commit is contained in:
overwraith 2013-03-06 13:56:42 -08:00
parent ebd200cc59
commit 9b10afe493
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
The following is an example of how to hide the command window below the bottom of the screen while typing in commands. The window movement part of the script can also be used on any other window. CMD.exe is also run with some command line flags for changing the appearance of the window to make it harder to view, and also a flag that turns on delayed expansion in the command prompt which allows for variable names to be called more than once in a line with no adverse effects. Ex... SET Something = Something + Something_Else
```
REM Target: WINDOWS VISTA/7
REM Encoder V2.4
REM Using the run command for a broader OS base.
DELAY 3000
@ -15,12 +16,12 @@ DOWNARROW
REPEAT 100
ENTER
```
The following is an unrefined attempt at creating a hide CMD window script that uses a key combo to run as administrator when UAC is turned on. The delays in this script are very heavy, and I will be making refinements later, so expect this script to change rapidly.
The following is an attempt to create a hide CMD window script that uses a key combo to run as administrator when UAC is turned on.
```
REM Target: WINDOWS VISTA
REM Encoder V2.4
REM Purpose: Hide cmd window script that uses a key combo to circumvent UAC limitations.
DELAY 2000
DELAY 3000
CONTROL ESCAPE
DELAY 500
STRING cmd /Q /D /T:7F /F:OFF /V:ON /K
@ -28,7 +29,7 @@ DELAY 500
CTRL-SHIFT ENTER
DELAY 1000
ALT C
DELAY 1000
DELAY 750
ALT SPACE
STRING M
DOWNARROW