PHP Classes

File: radius_uninstall.cmd

Recommend this page to a friend!
  Classes of André Liechti   multiOTP PHP class   radius_uninstall.cmd   Download  
File: radius_uninstall.cmd
Role: Auxiliary data
Content type: text/plain
Description: Release
Class: multiOTP PHP class
Authenticate and manage OTP strong user tokens
Author: By
Last change: New release
ENH: LDAP filter can be customized using SetLdapFilter() method ({cn_identifier}, {username}, and {groups_filtering} placeholders are supported)
ENH: Full PHP 8.x support (tested with 8.2.1 and 8.1.14), with backward compatibility support (7.x, >=5.4.x)
ENH: Enhanced AD/LDAP paging support
ENH: Embedded Windows nginx edition updated to version 1.22.1
ENH: Embedded Windows PHP edition updated to version 8.2.0
ENH: PHP 8.2.x deprecated code cleaned (nullable trim, dynamic properties, PostgreSQL command without connection argument)
ENH: Enhanced sms library (MultiotpSms), new eCall API implementation, new ASPSMS API implementation
ENH: Better MySQL error handling
ENH: Better PostgreSQL error handling
New release
New release
ENH: It's now possible to define a special AD/LDAP group to attribute "Without2FA" token to specific users
ENH: Default username and password are not displayed anymore if default password has been changed
Enhanced multiOTP Credential Provider support
New release
FIX: Better special characters support in username and password
ENH: The locked accounts list now also list the temporary delayed accounts
ENH: Accounts with Without2FA tokens can now also be stored in cache
New release
ENH: Command -iswithout2fa added as a CLI option (to check if a token is needed)
ENH: Enhanced multiOTP Credential Provider
ENH: Additional CLI option -nt-key-only added
New release
FIX: Issue with /run/php when a Docker container is restarted
FIX: {MultiOtpVersion} is now correctly replaced in scratchtemplate.html
ENH: {MultiOtpDisplayName} tag (AD/LDAP DisplayName) can be used in templates
FIX: User account containing octal encoded ISO characters are now also converted to UTF
New release
FIX: Set specific flags to run Perl scripts from FreeRADIUS
FIX: User account containing special ISO characters are now also converted to UTF
ENH: New Hyper-V and OVA appliances available (version 011, based on Debian 11)
ENH: Scratchlist can be generated from the Web GUI
Date: 6 months ago
Size: 2,989 bytes


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\ 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, <> REM @version REM @date 2023-01-19 REM @since 2013-08-20 REM @copyright (c) 2013-2023 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 ( 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-2023 SysCo systemes de communication sa REM SysCo (tm) is a trademark of SysCo systemes de communication sa REM ( REM All rights reserved. REM REM This file is part of the multiOTP project. REM REM REM Change Log REM REM 2020-12-11 SysCo/al Do an automatic "Run as administrator" if needed REM 2018-11-13 SysCo/al Detection to know if something must be stopped REM 2017-05-29 SysCo/al Unified script with some bug fixes REM 2016-11-04 SysCo/al Unified file header REM 2016-10-16 SysCo/al Version synchronisation REM 2015-07-15 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 > 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% SC stop %_service_tag% >NUL SC delete %_service_tag% >NUL :NoService SET _folder= SET _radius_folder=