Skip to content

Instantly share code, notes, and snippets.


malwarezone/deobf.ps1 Secret

Last active Nov 27, 2020
What would you like to do?
<# rncrmnip #>
for ($i=0;$i -le 700;$i++){
Try{$a=$a+(Get-ItemProperty -path $c).$i}Catch{}
function chba{
$Bytes = [byte[]]::new($hs.Length / 2);
for($i=0; $i -lt $hs.Length; $i+=2){
$Bytes[$i/2] = [convert]::ToByte($hs.Substring($i, 2), 16)
$i = 0;
While ($True){
$ko = [math]::Sqrt($i);
if ($ko -eq 1000){ break}
[byte[]]$b = chba($a.replace("!@#",$ko));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment