/    Sign up×
Community /Pin to ProfileBookmark

Obfuscated alert box in script

Hi all,
I’ve come across a rotating-image script from dyn-web.com
However, whenever activated, the script throws up an alert box warning the viewer that the script should only be used for a personnel site, which it is.
I’ve added a ‘ JavaScript code supplied by dyn-web.com ” snippet on my site, which I feel is enough.

How do I remove the alert box without destroying the code?
It appears to be ‘hex’-ified.

Anyone up for a ‘challenge’?
Here’s the [URL=”http://www.dyn-web.com/javascript/rotate-img/src/dw_rotator.js”]script[/URL].

If any of you [I]do[I] figure it out, please post a reply detailing how, or better yet, an example.

Thanks all,

SaKaTaMa

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Tweak4Apr 04.2007 — Double-check your link- all I get is a "Finding Content at dyn-web" page
Copy linkTweet thisAlerts:
@BeanisApr 04.2007 — The following is the obfuscation function:
[CODE]dw_Inf.fn=function(v){return eval(v)};[/CODE]

Copy each piece of code that calls that function and execute them one by one until you find the one you want.
Copy linkTweet thisAlerts:
@Tweak4Apr 05.2007 — and dw_Inf.mg is the property that appears to contain the actual message, so once you find the line that calls the above function and references this property, you should be in business.
×

Success!

Help @sa-ka-ta-ma spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...