GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nginx/html/JimMartinson/CST1861/Resources/Week/13/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST1861/Resources/Week/13/Profile.ps1
# Run powershell as Administrator and enter the command 'set-executionpolicy Bypass' to allow local scrips to run.
# Configure PS for Admin or normal account.
#$env:Voice = "No" # Turn off voice.
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal( [Security.Principal.WindowsIdentity]::GetCurrent() )
& {
	if( [IntPtr]::size * 8 -eq 64 )
	{
		$title = "Windows PowerShell (x64)" 
	}
	else
	{
		$title = "Windows PowerShell (x86)" 
	}

    if ($currentPrincipal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator ))
	{
		if ( $env:Voice -ne 'No' ) { # run 'set Voice=No' before running powershell to stop the voice output.
			Add-Type -AssemblyName System.Speech
			$voice = New-Object System.Speech.Synthesis.SpeechSynthesizer
			$voice.Speak("Oh, my god, its,")
			$voice.Speak("its,")
		}
		(Get-Host).UI.RawUI.Backgroundcolor="DarkMagenta" # Set the background color to dark red.
        Clear-Host # clear the screen to show in background color.
        Write-Host "`nWarning: PowerShell is running as" $env:Username" elevated to Administrator!`n" # Display a warning message.
		$title += " as Administrator"
		if ( $env:Voice -ne 'No' ) { $voice.Speak("its an admin") }
    }
	else
	{
		(Get-Host).UI.RawUI.Foregroundcolor="Black"
		(Get-Host).UI.RawUI.Backgroundcolor="DarkGreen"
        Clear-Host # clear the screen.
		Write-Host "`nPowerShell is running as" $env:Username".`n" # Display a welcome message.
	}
	$host.UI.RawUI.WindowTitle = $title
}
$currentPrincipal = $null # Remove the $currentPrincipal variable.

#$Transcript = "$env:USERPROFILE\Documents\WindowsPowerShell\Transcripts\PowerShell_transcript".$date.".txt"
#$test = $test.ToString()
#$Transcript = $test 

function x{ exit; }

$psdir="$env:USERPROFILE\Documents\WindowsPowerShell\Scripts\autoload" 
if (Test-Path -Path $psdir) {
	# Load all scripts in the 'autoload' directory. 
	Write-Host "Running autoload scripts."
    Get-ChildItem "${psdir}\*.ps1" | %{ Write-Host "Running script: $_"; .$_ }
} else {
	Write-Host "There are no autoload scripts to run."
    Write-Host "$psdir doesn't exist."
} 
Write-Host ""

cd "$env:USERPROFILE\Documents\WindowsPowerShell\Scripts"
#Write-Host "This script written by Jim Martinson.`n"


Anon7 - 2022
AnonSec Team