403Webshell
Server IP : 189.126.111.107  /  Your IP : 216.73.217.69
Web Server : Apache
System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64
User : gadotticar ( 1000)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/src/fusionpbx-install.sh/windows/resources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/fusionpbx-install.sh/windows/resources/install-webplatform.ps1
Function Install-WebPlatform() {
	#includes
	. .\resources\get-file.ps1
    . .\resources\get-cpu.ps1

	#send message
	if (Get-Installed-App "*Web Platform*") {
		Write-Host "Web Platform Installer is already installed"
	}

	#download and install the web platform installer
    if (-not (Test-Path "${env:ProgramFiles}\Microsoft\Web Platform Installer\WebPlatformInstaller.exe")) {
        $url = "http://download.microsoft.com/download/F/4/2/F42AB12D-C935-4E65-9D98-4E56F9ACBC8E/wpilauncher.exe"
        $filename = Get-File $url
        Start-Process $filename 
        Start-Sleep -s 25
    }
    else {
		#Start-Process "C:\Program Files\Microsoft\Web Platform Installer\WebPlatformInstaller.exe /silent" -Wait
	}

    Get-Process WebPlatformInstaller | ? { $_.CloseMainWindow() | Out-Null }

	# list available applications - All, Available
	# WebpiCmd-x64.exe /list /listoption:Available

    # install PHP 7.1 on IIS
    if (-not (Test-Path "${env:ProgramFiles}\PHP\v7.1\php.exe")) {
	    $cpu = Get-CPU
	    if ($cpu -eq "x86") {
            ."C:\Program Files\Microsoft\Web Platform Installer\WebpiCmd-x64.exe" "/install" "/Products:PHP71" "/AcceptEula"
        }
        else {
	        ."C:\Program Files\Microsoft\Web Platform Installer\WebpiCmd-x64.exe" "/install" "/Products:PHP71x64" "/AcceptEula"
        }
    }

}
#Install-WebPlatform

Youez - 2016 - github.com/yon3zu
LinuXploit