fixed few things
This commit is contained in:
parent
ec683e2d0e
commit
366693178c
@ -1,4 +1,4 @@
|
|||||||
::Coded by SergentThoamsKelly
|
::Coded by LouisVallat
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
::Firstly we want to chack if program is running as Administrator
|
::Firstly we want to chack if program is running as Administrator
|
||||||
@ -22,14 +22,18 @@ if %errorLevel% == 0 (
|
|||||||
)
|
)
|
||||||
|
|
||||||
:Admin
|
:Admin
|
||||||
|
cls
|
||||||
::Here we know that the program is running as Administor.
|
::Here we know that the program is running as Administor.
|
||||||
echo [!] CONGRATULATIONS YOU'RE EXECUTING THIS AS ADMIN
|
echo [!] CONGRATULATIONS YOU'RE EXECUTING THIS AS ADMIN
|
||||||
pause
|
pause
|
||||||
|
cls
|
||||||
|
::Insert here whatever command you want to execute as an admin.
|
||||||
|
cmd
|
||||||
::please don't forget to exit with this command, if you don't, Resolution settings will open.
|
::please don't forget to exit with this command, if you don't, Resolution settings will open.
|
||||||
exit
|
exit
|
||||||
|
|
||||||
:NotAdmin
|
:NotAdmin
|
||||||
::Wher all the magic happens : we know we're not admin so we know also that the break is now wide open
|
::Where all the magic happens : we know we're not admin so we know also that the breach is now wide open
|
||||||
::So let's let launch this piece of code by itself with admin rights !
|
::So let's let launch this piece of code by itself with admin rights !
|
||||||
cls
|
cls
|
||||||
fodhelper.exe
|
fodhelper.exe
|
Loading…
Reference in New Issue
Block a user