Jump to content
Sign in to follow this  
JackyChan

Obfuscator Error!

Recommended Posts

JackyChan

Why ? Can you fix this script for me ?

C:\Documents and Settings\ZXZX\Desktop\2-3\New Folder\Google-Gmail.au3(10,1) Warning for line:$oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2")

-#############################################################################################

-#### Obfuscator Found 1 Error(s)!!!! This means your script could have problems running properly. ####

-#############################################################################################

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Run_Obfuscator=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <IE.au3>
Opt("WinTitleMatchMode", 2)
$1 = 0
While 1
    If $1 <> WinExists('Gmail') And WinExists('Gmail') <> 0 Then
        $oIE = _IEAttach("Gmail")
        $oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2")
        $1 = WinExists('Gmail')
    EndIf
WEnd


Func IEEvent_BeforeNavigate2($notsurewhatthisis, $url, $TargetFrameName, $PostData, $Headers, $Cancel)
ConsoleWrite($url & @CR)
EndFunc   ;==>IEEvent_BeforeNavigate2

Share this post


Link to post
Share on other sites
JackyChan

no reply ? help me pls

Share this post


Link to post
Share on other sites
Jos

You posted incomplete information. The Warning shown is:

-### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script.
>### current Func: Main Script
OpenInScite6.au3(11,1) Warning for line:$oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2")

... and it simply states that it cannot find Func IEEvent_ so it has problems obfuscating this code.

You have to realise that when you start renaming funcs that issues like this can happen and cannot always be resolved.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
JackyChan

Can we fix this code ?

Share this post


Link to post
Share on other sites
trancexx

Can we fix this code ?

The power to change things resides in your mind and within you.

Mr. Chan use that power. Make this world a better place for us all and generations to come. (I'm a big fan - see my sig)


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Jos

Can we fix this code ?

Plenty options. First options that comes to mind:

- Why do you need to obfuscate the script.

- Do not obfuscate Func Names

- Don't obfuscate parts of the code using the appropriate directives....

... oh and before you ask: I am not going to do it for you. :P

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
JackyChan

Plenty options. First options that comes to mind:

- Why do you need to obfuscate the script.

- Do not obfuscate Func Names

- Don't obfuscate parts of the code using the appropriate directives....

... oh and before you ask: I am not going to do it for you. :P

Thank you very much

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×