Open nv05hndi1306 opened 2 weeks ago
This looks sick, respect! But it sadly destroys a lot of commands, which make the code kind of unusable. Is it normal?
Can you provide any instances of code which don't work?
This looks sick, respect! But it sadly destroys a lot of commands, which make the code kind of unusable. Is it normal?
Can you provide any instances of code which don't work?
If writing Write-Host "" the prompt will show [string]::Empty. Variables like $host or $null dont work anymore, switching between functions is buggy/sometimes dont work (either takes 1-3 seconds to instantly skips a function ->2nd function has for example $null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") at the end so it doesnt stop, it just instantly "skips" it, as $null doesnt work)
Something like this also doesnt work anymore
for ($i = 35; $i -le 75; $i++) {
Write-Host -NoNewline "`r Downloading "
Write-Host -NoNewline "preset" -ForegroundColor Cyan
Write-Host -NoNewline ", please wait ["
Write-Host -NoNewline "$i%" -ForegroundColor Red
Write-Host -NoNewline "]"
Start-Sleep -Milliseconds 20
}
and more visual bugs
This looks sick, respect! But it sadly destroys a lot of commands, which make the code kind of unusable. Is it normal?
Can you provide any instances of code which don't work?
If writing Write-Host "" the prompt will show [string]::Empty. Variables like $host or $null dont work anymore, switching between functions is buggy/sometimes dont work (either takes 1-3 seconds to instantly skips a function ->2nd function has for example $null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") at the end so it doesnt stop, it just instantly "skips" it, as $null doesnt work)
Something like this also doesnt work anymore
for ($i = 35; $i -le 75; $i++) { Write-Host -NoNewline "`r Downloading " Write-Host -NoNewline "preset" -ForegroundColor Cyan Write-Host -NoNewline ", please wait [" Write-Host -NoNewline "$i%" -ForegroundColor Red Write-Host -NoNewline "]" Start-Sleep -Milliseconds 20 }
and more visual bugs
I see. I'm fixing right now
Issue is now fixed with that code. If you encounter any more issues please lmk.
Issue is now fixed with that code. If you encounter any more issues please lmk.
Still the same issues, $host doesnt work, but it could be replaced, $null also doesnt work and it still shows [string]::Empty, if writing 'Write-Host ""'
Issue is now fixed with that code. If you encounter any more issues please lmk.
$env also doesnt work
Issue is now fixed with that code. If you encounter any more issues please lmk.
Still the same issues, $host doesnt work, but it could be replaced, $null also doesnt work and it still shows [string]::Empty, if writing 'Write-Host ""'
I need to add in all global vars to the list. Right now I only have a few. It can be found within the variable obfuscation file. Write-Host returns [string::Empty?
Issue is now fixed with that code. If you encounter any more issues please lmk.
Still the same issues, $host doesnt work, but it could be replaced, $null also doesnt work and it still shows [string]::Empty, if writing 'Write-Host ""'
I need to add in all global vars to the list. Right now I only have a few. It can be found within the variable obfuscation file. Write-Host returns [string::Empty?
Also yes and the other ones I've said
Thank you for the feedback. Both issues should be fixed now.
Thank you for the feedback. Both issues should be fixed now.
Nice, it is fixed, but I still found issues (sorry if im annoying ;D)
It duplicates "'", if they're in a write-host message (maybe also outside of these write suff) and if writing Write-Host "'", the script shows [string]::Empty, seems like it handles this ' incorrectly anywhere
it also shows this
it also shows this
What was the code before obfuscation?
it also shows this
What was the code before obfuscation?
$Host.UI.RawUI.WindowSize = New-Object Management.Automation.Host.Size(121, 42) $Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size(121, 300)
its caused here, as the number obfuscation probably changes them
but idk why it duplicates the ' and shows [string]::Empty, if writing Write-Host "'"
but idk why it duplicates the ' and shows [string]::Empty, if writing Write-Host "'"
It's because I just didn't make a good enough check for it. I'll fix that today too thank you.
but idk why it duplicates the ' and shows [string]::Empty, if writing Write-Host "'"
It's because I just didn't make a good enough check for it. I'll fix that today too thank you.
Is it already changed?
This looks sick, respect! But it sadly destroys a lot of commands, which make the code kind of unusable. Is it normal?