Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Patch 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tylous authored Jul 15, 2021
1 parent 46ddaf4 commit 2be2a03
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Loader/Loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,17 @@ func DLLfile(b64ciphertext string, b64key string, b64iv string, mode string, ref
WindowsVersion := &WindowsVersion{}
WindowsVersion.Variables = make(map[string]string)

splitval := len(b64ciphertext)
splitval = splitval - 45
encodedfirsthalf := string(b64ciphertext[:splitval])
encodedsecondhalf := string(b64ciphertext[splitval:])

DLL.Variables["b64_string1name"] = Cryptor.VarNumberLength(4, 12)
DLL.Variables["b64_string2name"] = Cryptor.VarNumberLength(4, 12)
DLL.Variables["fullciphertext"] = Cryptor.VarNumberLength(4, 12)
DLL.Variables["b64_string1value"] = encodedfirsthalf
DLL.Variables["b64_string2value"] = encodedsecondhalf

DLL.Variables["ciphertext"] = b64ciphertext
DLL.Variables["key"] = b64key
DLL.Variables["iv"] = b64iv
Expand Down

0 comments on commit 2be2a03

Please sign in to comment.