Code: Select all
Lookup =
(
some
text
here
)
Code: Select all
Lookup =
(
some
text
here
)
Code: Select all
;$OBFUSCATOR: $STRAIGHT_MODE:
f()
return
;$OBFUSCATOR: $END_AUTOEXECUTE:
f()
{
msgbox ok
}
Code: Select all
@%[email protected]#[email protected]%%k##ff##[email protected]@f#f%fk#f%[email protected]%[email protected]#k#k()
return
@ffk#[email protected]#k#k() {
msgbox ok
}
Code: Select all
@fk#[email protected]#k#k()
return
@ffk#[email protected]#k#k() {
msgbox ok
}
Yes, I also encountered an Empty variable reference (%%) error when I tried to use dynamic obfuscation. It took me a long time to modify the code to meet the prerequisites, but in the end it didn't work.Relayer wrote: ↑05 Sep 2019, 15:24Hi,
I've been interested in this for a while and finally played with it a little. Has anyone else seen a problem where dynamic variable insertion into regular variables or built-in functions produces an error at run time: "empty variable reference"? Looking at the RMESS file I can see what the substitution would be without the blank dynamic variable insertion. I then look at what the obsfucator created and I see a mismatch of the '%' character such that two end up next to each other as '%%' and AutoHotkey thinks it is a dynamic variable without a name.
I haven't been able to detect a pattern in how it is making this mistake. I thought it was because of some regular variables with simple names that are to be avoided per the documentation but then I started to see the same problem with built in function names such as 'SubStr'.
Example: Su%[email protected]%@kff%%#fff#[email protected]%%k#@f#kk##[email protected]#%[email protected]%Str
with spaces to better visualize: Su %[email protected]% @kff% %#fff#[email protected]% %k#@f#kk##[email protected]#% [email protected]% Str
Anyone see this?
Relayer
Error at line 86.
Line Text: kf%k#@k%#%[email protected]@ff%#fk#@f#k%%[email protected]#[email protected]%%kfkffk#k#k#f%[email protected]#[email protected]#k#ff%[email protected]@[email protected]#
Error: Empty variable reference (%%).
The program will exit.
Code: Select all
ESC:: ;hotkey
Coordmode, Mouse, [Client]
Click, 735, -19
Run, chrome.exe https link / Broken Link for safety
return
;$OBFUSCATOR: $END_AUTOEXECUTE:
Code: Select all
obf_copyright := " Date: 10:23 PM Wednesday, January 15, 2020 "
obf_copyright := " "
obf_copyright := " THE FOLLOWING AUTOHOTKEY SCRIPT WAS OBFUSCATED "
obf_copyright := " BY DYNAMIC OBFUSCATOR L FOR AUTOHOTKEY "
obf_copyright := " By DigiDon "
obf_copyright := " "
obf_copyright := " Based on DYNAMIC OBFUSCATOR "
obf_copyright := " Copyright (C) 2011-2013 David Malia "
obf_copyright := " DYNAMIC OBFUSCATOR is released under "
obf_copyright := " the Open Source GPL License "
;autoexecute
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
ESC::
Coordmode, Mouse, [Client]
Click, 735, -19
Run, chrome.exe https link / Broken Link for safety
return
as i remember, only certain things got obfuscated, like variable names and function names... you'd have to check the docs
Return to “Scripts and Functions”
Users browsing this forum: jlba and 21 guests