Simple script cannot be analyzed #1

Closed
invernizzi opened this Issue Jun 26, 2012 · 1 comment

Projects

None yet

2 participants

@invernizzi

Hello,
first of all, very cool project.
This is a simple script, working in my browser:

    <html>
        <body>
            <script>
                var a='aler'+'t ("ciao");';
                eval(a);
            </script>
        </body>
    </html>

Js-detox correctly identifies the script, and is able to run it and intercept the eval correctly. However, clicking the "Analyze" javascript button a failure is reported: The JS cannot be parsed.

Hoping this helps you, rock on.

jsdetox commit #: 4b79cd6

@svent svent was assigned Jun 26, 2012
@svent
Owner
svent commented Jun 26, 2012

Thanks for reporting this!
I found a bug in the string optimizer with your sample, I will commit the fix shortly.

@svent svent closed this in c31b2ab Jun 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment