PHP Classes

File: radius_uninstall.cmd

Recommend this page to a friend!
  Classes of André Liechti   multiOTP PHP class   ???   Download  
File: ???
Role: Auxiliary data
Content typex: text/plain
Description: Release 5.0.4.6
Class: multiOTP PHP class
Authenticate and manage OTP strong user tokens
Author: By
Last change: Release 5.10.0.2 - Fixed docker issue
Release 5.10.0.1
New release 5.9.9.1
FIX: Windows backup temp folder is now the default system temp folder
FIX: Adding -sync-delete-retention-days parameter doesn't return missing parameters error
FIX: Case sensitive issue has been fixed with MSCHAPv2 authentication (thanks Alexey)
FIX: Case sensitive issue has been fixed during FastCreateUser process
FIX: {MultiotpUserDisplayName} tag usage in templates (was not replaced in the QRcode)
ENH: Created users are trimmed to avoid bad space prefix/suffix during copy/paste
ENH: multiOTP Credential Provider enhanced support
ENH: New default-2fa-digits command line option to set the default amount of OTP digits
ENH: PHP 8.4.x deprecated code cleaned (xml_set_object removed)
ENH: New Message-Authenticator requirement support for FortiGate v7.2.10+, v7.4.5+ and v7.6.1+
ENH: New SetCurrentUserSid function for new Credential Provider -usersid option
ENH: Embedded Windows PHP edition updated to version 8.3.15
ENH: Embedded Windows nginx edition updated to version 1.27.3
New release 5.9.8.0
FIX: Database backend setup and initialization was not working well with some PHP version
ENH: New option to force writing logs only in file (even if the backend is a database)
ENH: Spryng SMS provider support
ENH: PHP 8.2.x deprecated code cleaned (null for string parameters)
FIX: without2fa token can be now correctly converted to TOTP with default 30 seconds time interval
FIX: Without2fa tokens with prefix pin where not working with CHAP/MSCHAP/MSCHAPv2
FIX: Windows: radiusd.conf and clients.conf files removed from the distribution
(they are created automatically when installing the services using radius_install.cmd)
ENH: Windows: -debug option removed from the radius module launcher
ENH: By design, Credential Provider check request don't wait any prefix. This behavior can now be overwrited.
Date: 5 days ago
Size: 3,127 bytes
 

Contents

Class file image Download
@ECHO OFF REM ************************************************************ REM @file radius_uninstall.cmd REM @brief Script to uninstall the radius service. REM REM multiOTP - Strong two-factor authentication PHP class package REM https://www\.multiOTP.net REM REM Windows batch file for Windows 2K/XP/2003/7/2008/8/2012/10 REM REM @author Andre Liechti, SysCo systemes de communication sa, <[email protected]> REM @version 5.10.0.2 REM @date 2025-10-31 REM @since 2013-08-20 REM @copyright (c) 2013-2025 SysCo systemes de communication sa REM @copyright GNU Lesser General Public License REM REM REM Description REM REM radius_uninstall is a small script that will uninstall REM the radius server of multiOTP under Windows using freeradius. REM (http://sourceforge.net/projects/freeradius/) REM REM REM Usage REM REM The script must be launched in the top folder of multiOTP. REM REM REM Licence REM REM Copyright (c) 2013-2025 SysCo systemes de communication sa REM SysCo (tm) is a trademark of SysCo systemes de communication sa REM (http://www.sysco.ch/) REM All rights reserved. REM REM This file is part of the multiOTP project. REM REM REM Change Log REM REM 2023-11-23 5.9.7.0 SysCo/al Space in installation path supported REM 2020-12-11 5.8.0.6 SysCo/al Do an automatic "Run as administrator" if needed REM 2018-11-13 5.4.0.2 SysCo/al Detection to know if something must be stopped REM 2017-05-29 5.0.4.5 SysCo/al Unified script with some bug fixes REM 2016-11-04 5.0.2.7 SysCo/al Unified file header REM 2016-10-16 5.0.2.5 SysCo/al Version synchronisation REM 2015-07-15 4.3.2.5 SysCo/al Version synchronisation REM 2014-03-27 4.2.4 SysCo/al More generic usage REM 2013-08-23 4.0.6 SysCo/al Enhanced options REM 2013-08-21 4.0.5 SysCo/al Service name can be given as a parameter REM 2013-08-20 4.0.4 SysCo/al Initial release REM REM ************************************************************ NET SESSION >NUL 2>&1 IF NOT %ERRORLEVEL% == 0 ( ECHO WARNING! Please run this script as an administrator, otherwise it will fail. ECHO Elevating privileges... REM PING 127.0.0.1 > NUL 2>&1 CD /d %~dp0 MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();" EXIT REM PAUSE REM EXIT /B 1 ) :NoWarning SET _service_tag=multiOTPradius IF NOT "%1"=="" SET _service_tag=%1 SET _folder=%~d0%~p0 SET _radius_folder=%~d0%~p0 IF NOT EXIST "%_radius_folder%radius" SET _radius_folder=%~d0%~p0..\ netsh firewall delete allowedprogram "%_radius_folder%radius\sbin\radiusd.exe" >NUL netsh advfirewall firewall delete rule name="multiOTP Radius server" >NUL SC queryex type= service state= all | FIND "%_service_tag%" >NUL IF ERRORLEVEL 1 GOTO NoService ECHO Stop and remove the service %_service_tag% "%_radius_folder%radius\nssm" stop "%_service_tag%" >NUL "%_radius_folder%radius\nssm" remove "%_service_tag%" confirm >NUL :NoService SET _folder= SET _radius_folder=