Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- color 02
- Title Emergency Task manager
- cd c:\
- md Emergency.Task.Manager.Files
- set Bor="C:\Emergency.Task.Manager.Files"
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo Emergency Task manager
- echo ~C0ded by eRr0r~
- echo Any Copying or selling of that Program is
- echo NOT Allowed without Consulting the author
- echo For Contact Error_hk@ymail.com
- ping localhost -n 4 > c:\nul
- cls
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo **********************
- echo ^| ^|
- echo ^| Emergency ^|
- echo ^| Task manager ^|
- echo ^| ^|
- echo **********************
- ping localhost -n 3 > c:\nul
- cls
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo **********************
- echo ^| ^|
- echo ^| Emergency ^|
- echo ^| Task manager ^|
- echo ^| ^|
- echo **********************
- echo.
- echo.
- echo This program is Used as an Emergency
- echo Task manager when the task manager is
- echo Disabled by the administrator or when
- echo the machine is just infected with a RAT
- echo Or a virus that disabled it
- echo.
- echo Loading...
- ping localhost -n 8 > c:\nul
- :main
- color 02
- cls
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo **********************
- echo ^| ^|
- echo ^| Emergency ^|
- echo ^| Task manager ^|
- echo ^| ^|
- echo **********************
- echo.
- echo.
- echo 1- View Running Processes
- echo 2- Kill a Running Process
- echo 3- Analyze a Process (Associated DLL's)
- echo 4- Analyze a Process (Associated Services)
- echo 5- View Non responsive Processes
- echo 6- Kill all Non responsive Processes
- echo 7- connect to a remote computer and Manage Processes
- echo 8- Persistent Kill
- echo 9- Kill By PID
- echo 10- Exit
- echo.
- set /p choice=Please Enter a Choice:
- if %choice%==1 goto :ch1
- if %choice%==2 goto :ch2
- if %choice%==3 goto :ch3
- if %choice%==4 goto :ch4
- if %choice%==5 goto :ch5
- if %choice%==6 goto :ch6
- if %choice%==7 goto :ch7
- if %choice%==8 goto :ch8
- if %choice%==9 goto :ch9
- if %choice%==10 goto :ch10
- if %choice% GTR 10 goto :invalid
- :ch1
- tasklist > %Bor%\log.txt
- start /realtime /max /wait C:\Emergency.Task.Manager.Files\log.txt
- pause
- del /Q %Bor%\log.txt
- goto main
- :ch2
- set /p prokill=Please enter the name of the Process (including the format):
- taskkill /f /im %prokill%
- echo.
- Echo Successfull Kill, If it Re-runed Please Try the Persistent Kill Choice
- pause
- goto main
- :ch3
- set /p proana=Please enter the name of the desired Process (including the format):
- tasklist /m /fi "imagename eq %proana%" >> %Bor%\analysis.txt
- start /realtime /max /wait C:\Emergency.Task.Manager.Files\analysis.txt
- del /q %Bor%\analysis.txt
- Echo.
- Echo Analysis Complete.
- Pause
- goto main
- :ch4
- set /p prosvc=Please enter the name of the desired Process (including the format):
- tasklist /svc /fi "imagename eq %prosvc%" >> %Bor%\svc.txt
- start /realtime /max /wait C:\Emergency.Task.Manager.Files\svc.txt
- del /q %Bor%\svc.txt
- Echo.
- Echo Analysis Complete.
- Pause
- goto main
- :ch5
- tasklist /fi "status eq not responding" >> %Bor%\nrespond.txt
- start /realtime /max /wait C:\Emergency.Task.Manager.Files\nrespond.txt
- del /q %Bor%\nrespond.txt
- Echo.
- Pause
- goto main
- :ch6
- taskkill /f /fi "status eq not responding"
- echo.
- echo All non resposive Processes Has been terminated
- pause
- goto main
- :ch7
- cls
- echo.
- echo.
- echo Please Make sure that the RPC Service is Enabled on the remote computer.
- echo.
- set /p ip=Please enter the IP address of the Desired Computer:
- set /p usr=Please enter the Username of the Desired Computer:
- set /p pass=Please enter the password of the username of the Desired computer (press enter if none):
- echo.
- echo 1- View Processes Running on the Remote Computer
- echo 2- Kill a Process Running on the Remote Computer
- set /p chh=Please Choose what you want to do on the Remote computer:
- echo.
- if %chh%==1 goto re1
- if %chh%==2 goto re2
- :re1
- tasklist /s %ip% /u %usr% /p %pass% > %bor%\reproc.txt
- start /realtime /wait /max C:\Emergency.Task.Manager.Files\reproc.txt
- del /q C:\Emergency.Task.Manager.Files\reproc.txt
- pause
- goto main
- :re2
- set /p prkill=Please Enter the name of the desired process (including the format):
- taskkill /s %ip% /u %usr% /p %pass% /f /im %prkill%
- pause
- goto main
- :ch8
- echo.
- echo.
- echo WARNING : Do NOT use this Option with Critical System Processes
- Echo This Option is For Trojan or Virus processes only
- echo.z
- pause
- cls
- ping localhost -n 3 >nul
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- color 04
- echo PERSISTENT KILL
- echo.
- echo.
- echo.
- echo.
- ping localhost -n 3 >nul
- set /p PKIL=Please enter the name of the Desired Process:
- Set /p sure=Are you Sure that you Want to use this option ?(Y\N):
- echo.
- if /i %sure%==Y goto surey
- if /i %sure%==N goto suren
- :surey
- echo @echo off >> %Bor%\Prekill.bat
- echo :X >> %Bor%\Prekill.bat
- echo Taskkill /f /t /im %PKIL% >> %Bor%\Prekill.bat
- echo goto X >> %Bor%\Prekill.bat
- start /realtime C:\Emergency.Task.Manager.Files\prekill.bat
- echo.
- pause
- del /q C:\Emergency.Task.Manager.Files\prekill.bat
- goto main
- :suren
- goto main
- :ch9
- set /p PID=Please enter the Process's PID:
- taskkill /f /PID %PID%
- pause
- goto main
- :invalid
- Echo Invalid Choice, Please Choose from 1-10.
- echo.
- pause
- goto main
- :ch10
- Cls
- color 05
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo C0DED BY ERR0R
- Echo.
- echo ^Error_hk@ymail.com^
- Ping localhost -n 6 >nul
- RMDIR /q C:\Emergency.Task.Manager.Files
Add Comment
Please, Sign In to add comment