/    Sign up×
Community /Pin to ProfileBookmark

anyone can decode this please

please help me to decode this PHP file

[code=php]<script language=JavaScript>m=’%3CCreated%20by%20GabyCraioveanu%3E%0A%3CHTML%3E%0A%3CHEAD%3E%0A%3Ctitle%3EDownload%20YouTube%20Videos%21%20Download%20and%20save%20YouTube%20videos%20to%20your%20pc%21%3C/title%3E%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22download%20videos%20youtube%2C%20download%20youtube%20videos%2C%20download%20youtube%2C%20youtube%20catcher%2C%20video%20%2C%20download%20videos%2C%20videos%2C%20download%2C%20free%2C%20funny%20videos%2C%20sexy%20videos%2C%20porn%20videos%20youtube%2C%20video%2C%20free%2C%20funny%20clip%2C%20clips%2C%20metacafe%2C%20chat%2C%20games%2C%20voice%20chat%2C%20tutorials%2C%22%3E%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22YouTube%20Download%22%3E%0A%3CMETA%20HTTP-EQUIV%3D%22Pragma%22%20CONTENT%3D%22no-cache%22%3E%0A%3CLINK%20TITLE%3D%22%22%20HREF%3D%22style.css%22%20TYPE%3D%22text/css%22%20REL%3D%22stylesheet%22%3E%0A%3C/HEAD%3E%0A%3Cbody%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%20%20%3CSCRIPT%20TYPE%3D%22text/javascript%22%3E%3C%21–%20%0A%20%20%20%20doad2%28%29%3B%0A//–%3E%3C/SCRIPT%3E%0A%20%20%3Ctable%20class%3D%22maintable%22%20align%3D%22center%22%20border%3D%221%22%20cellSpacing%3D%220%22%20cellPadding%3D%220%22%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%3Ctd%20class%3D%22head%22%3E%0A%3CA%20href%3D%22http%3A//buyrapidsharepoint.blogspot.com%22%20target%3D_blank%3E%3Cimg%20title%3DEasy%20Rapidshare%20Points%205.1%20src%3D%22http%3A//i40.tinypic.com/651vkl.jpg%22%3E%3C/A%3E%0A%3CA%20href%3D%22http%3A//youtubedownloaderx.blogspot.com%22%20target%3D_blank%3E%3Cimg%20title%3DYouTube%20Downloader%20X%201.0%20%20src%3D%22http%3A//i44.tinypic.com/2w395bm.gif%22%3E%3C/A%3E%0A%3Ctr%3E%0A%3Ctd%20class%3D%22ip%22%3E%3Ch6%20align%3D%22center%22%3E%0AYoutube%20Download%3Cscript%20src%3D%22http%3A//www.dvdvideosoft.com/yd4all.js%22%20type%3D%22text/javascript%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%3E%0A//you%20have%20to%20include%20the%20above-cited%20yd4all.js%20file.%0A//do%20not%20change%20IDs%20of%20the%20following%20DIVs%3A%20resVideoLinkDivPre%2C%20resVideoLinkDivSuccess%2C%20resVideoLink%2C%20resVideoLinkDivError%0A//dvs_DirectDownload%20%3D%20true%3B//uncoment%20this%20string%2C%20if%20you%20want%20to%20always%20start%20download%20immediately%2C%20comment%20the%20DirectDownload%20box%20in%20this%20case%0A%3C/script%3E%20%0A%3Cform%20id%3D%22test%22%3E%0A%3Cinput%20id%3D%22VLink%22%20name%3D%22VLink%22%20size%3D%2260%22%3E%20%3Cinput%20type%3D%22button%22%20value%3D%22Download%22%20onclick%3D%22dvs_yd4all_CallServer%28VLink.value%29%3B%22%20id%3D%22Button1%22%20name%3D%22Button1%22%3E%3Cbr%3E%0A%3Cinput%20type%3D%22checkbox%22%20value%3D%22directDownload%22%20id%3D%22directDownload%22%20name%3D%22directDownload%22%20onclick%3D%22dvs_DirectDownload%3DdirectDownload.checked%3B%22%3EDirectDownload%0A%3C/form%3E%0A%3Cnoscript%3EJava%20scripts%20are%20disabled%20on%20your%20computer%2C%20try%20Free%20%3Ca%20href%3Dhttp%3A//www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm%3EYouTube%20Converter%3C/a%3E%20to%20download%20video%20from%20YouTube.%3C/noscript%3E%0A%3Cdiv%20id%3D%22resVideoLinkDivPre%22%3E%0ADownload%20YouTube%20Videos%21%0ACopy%20and%20paste%20the%20URL%20of%20the%20YouTube%20Video%20into%20the%20form%20below.%0AClick%20the%20DOWNLOAD%20button%20to%20start.%0ATick%20the%20Direct%20download%20box%20to%20start%20download%20immediately.%20%0A%3Ccenter%3E%3Cscript%20language%3D%22javascript%22%3E%0Afunction%20setHomepage%28%29%0A%7B%0A%20if%20%28document.all%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20document.body.style.behavior%3D%27url%28%23default%23homepage%29%27%3B%0A%20%20document.body.setHomePage%28%27http%3A//youtubedownload.freehostia.com%27%29%3B%0A%20%0A%20%20%20%20%7D%0A%20%20%20%20else%20if%20%28window.sidebar%29%0A%20%20%20%20%7B%0A%20%20%20%20if%28window.netscape%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20try%0A%20%20%20%7B%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20netscape.security.PrivilegeManager.enablePrivilege%28%22UniversalXPConnect%22%29%3B%20%20%0A%20%20%20%20%20%20%20%20%20%7D%20%20%0A%20%20%20%20%20%20%20%20%20catch%28e%29%20%20%0A%20%20%20%20%20%20%20%20%20%7B%20%20%0A%20%20%20%20alert%28%22this%20action%20was%20aviod%20by%20your%20browser%2Cif%20you%20want%20to%20enable%2Cplease%20enter%20about%3Aconfig%20in%20your%20address%20line%2Cand%20change%20the%20value%20of%20signed.applets.codebase_principal_support%20to%20true%22%29%3B%20%20%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20%0A%20%20%20%20var%20prefs%20%3D%20Components.classes%5B%[email protected]/preferences-service%3B1%27%5D.getService%28Components.%20interfaces.nsIPrefBranch%29%3B%0A%20%20%20%20prefs.setCharPref%28%27browser.startup.homepage%27%2C%27http%3A//youtubedownload.freehostia.com%27%29%3B%0A%20%7D%0A%7D%0A%3C/script%3E%0A%3Cinput%20type%3D%22button%22%20value%3D%22set%20home%20page%22%20onclick%3D%22setHomepage%28%29%3B%22%20/%3E%3C/center%3E%20%0A%20%20%20%20%20%20%20%3C/p%3E%0A%20%20%20%20%20%20%3C/td%3E%0A%20%20%20%20%3C/tr%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%3Ctd%20height%3D%2288%22%20class%3D%22ad%22%3E%20%20%0A%3Ca%20href%3D%22http%3A//www.000webhost.com/%22%20onClick%3D%22this.href%3D%27http%3A//www.000webhost.com/115883.html%27%22%20target%3D%22_blank%22%3E%3Cimg%20src%3D%22http%3A//www.000webhost.com/images/banners/728×90/banner2.gif%22%20alt%3D%22Free%20Website%20Hosting%22%20width%3D%22728%22%20height%3D%2290%22%20border%3D%220%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%20%20%3Ctd%20class%3D%22body%22%3E%0A%20%20%20%20%20%20%20%20%20%3Ch6%20align%3D%22center%22%3EWelcome%20to%20Youtube%20Download%0A-%3E%20it%27s%20a%20great%20place%20that%20allows%20you%20to%20watch%2C%20upload%20and%20share%20videos%20on%20the%20internet.%20But%20the%20YouTube%20doesn%27t%20allow%20you%20to%20download%20that%20amazing%20video%20that%20you%20watched.%20Now%20you%20can%21%20YouTube%20download%20allows%20you%20to%20download%20YouTube%20videos%20easy%20and%20fast%21%20Tell%20your%20friends%20about%20YouTube%20Download%20%3C/h6%3E%0A%3Ccenter%3E%0A%3C/div%3E%0A%3C/div%3E%3C/div%3E%3C/td%3E%0A%20%20%20%20%3C/tr%3E%0A%20%20%3C/table%3E%0A%3C/div%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//widgets.amung.us/classic.js%22%3E%3C/script%3E%3Cscript%20type%3D%22text/javascript%22%3EWAU_classic%28%27tf2o1izcoede%27%29%3C/script%3E%0A%3C/BODY%3E%0A%3C/HTML%3E%0A%0A’;d=unescape(m);document.write(d);</script>[/code]

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@kloon_zaJan 30.2009 — Try this

[code=php]
$m = '&#37;3CCreated%20by%20GabyCraioveanu%3E%0A%3CHTML%3E%0A%3CHEAD%3E%0A%3Ctitle%3EDownload%20YouTube%20Videos%21%20Download%20and%20save%20YouTube%20videos%20to%20your%20pc%21%3C/title%3E%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22download%20videos%20youtube%2C%20download%20youtube%20videos%2C%20download%20youtube%2C%20youtube%20catcher%2C%20video%20%2C%20download%20videos%2C%20videos%2C%20download%2C%20free%2C%20funny%20videos%2C%20sexy%20videos%2C%20porn%20videos%20youtube%2C%20video%2C%20free%2C%20funny%20clip%2C%20clips%2C%20metacafe%2C%20chat%2C%20games%2C%20voice%20chat%2C%20tutorials%2C%22%3E%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22YouTube%20Download%22%3E%0A%3CMETA%20HTTP-EQUIV%3D%22Pragma%22%20CONTENT%3D%22no-cache%22%3E%0A%3CLINK%20TITLE%3D%22%22%20HREF%3D%22style.css%22%20TYPE%3D%22text/css%22%20REL%3D%22stylesheet%22%3E%0A%3C/HEAD%3E%0A%3Cbody%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%20%20%3CSCRIPT%20TYPE%3D%22text/javascript%22%3E%3C%21--%20%0A%20%20%20%20doad2%28%29%3B%0A//--%3E%3C/SCRIPT%3E%0A%20%20%3Ctable%20class%3D%22maintable%22%20align%3D%22center%22%20border%3D%221%22%20cellSpacing%3D%220%22%20cellPadding%3D%220%22%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%3Ctd%20class%3D%22head%22%3E%0A%3CA%20href%3D%22http%3A//buyrapidsharepoint.blogspot.com%22%20target%3D_blank%3E%3Cimg%20title%3DEasy%20Rapidshare%20Points%205.1%20src%3D%22http%3A//i40.tinypic.com/651vkl.jpg%22%3E%3C/A%3E%0A%3CA%20href%3D%22http%3A//youtubedownloaderx.blogspot.com%22%20target%3D_blank%3E%3Cimg%20title%3DYouTube%20Downloader%20X%201.0%20%20src%3D%22http%3A//i44.tinypic.com/2w395bm.gif%22%3E%3C/A%3E%0A%3Ctr%3E%0A%3Ctd%20class%3D%22ip%22%3E%3Ch6%20align%3D%22center%22%3E%0AYoutube%20Download%3Cscript%20src%3D%22http%3A//www.dvdvideosoft.com/yd4all.js%22%20type%3D%22text/javascript%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%3E%0A//you%20have%20to%20include%20the%20above-cited%20yd4all.js%20file.%0A//do%20not%20change%20IDs%20of%20the%20following%20DIVs%3A%20resVideoLinkDivPre%2C%20resVideoLinkDivSuccess%2C%20resVideoLink%2C%20resVideoLinkDivError%0A//dvs_DirectDownload%20%3D%20true%3B//uncoment%20this%20string%2C%20if%20you%20want%20to%20always%20start%20download%20immediately%2C%20comment%20the%20DirectDownload%20box%20in%20this%20case%0A%3C/script%3E%20%0A%3Cform%20id%3D%22test%22%3E%0A%3Cinput%20id%3D%22VLink%22%20name%3D%22VLink%22%20size%3D%2260%22%3E%20%3Cinput%20type%3D%22button%22%20value%3D%22Download%22%20onclick%3D%22dvs_yd4all_CallServer%28VLink.value%29%3B%22%20id%3D%22Button1%22%20name%3D%22Button1%22%3E%3Cbr%3E%0A%3Cinput%20type%3D%22checkbox%22%20value%3D%22directDownload%22%20id%3D%22directDownload%22%20name%3D%22directDownload%22%20onclick%3D%22dvs_DirectDownload%3DdirectDownload.checked%3B%22%3EDirectDownload%0A%3C/form%3E%0A%3Cnoscript%3EJava%20scripts%20are%20disabled%20on%20your%20computer%2C%20try%20Free%20%3Ca%20href%3Dhttp%3A//www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm%3EYouTube%20Converter%3C/a%3E%20to%20download%20video%20from%20YouTube.%3C/noscript%3E%0A%3Cdiv%20id%3D%22resVideoLinkDivPre%22%3E%0ADownload%20YouTube%20Videos%21%0ACopy%20and%20paste%20the%20URL%20of%20the%20YouTube%20Video%20into%20the%20form%20below.%0AClick%20the%20DOWNLOAD%20button%20to%20start.%0ATick%20the%20Direct%20download%20box%20to%20start%20download%20immediately.%20%0A%3Ccenter%3E%3Cscript%20language%3D%22javascript%22%3E%0Afunction%20setHomepage%28%29%0A%7B%0A%20if%20%28document.all%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20document.body.style.behavior%3D%27url%28%23default%23homepage%29%27%3B%0A%20%20document.body.setHomePage%28%27http%3A//youtubedownload.freehostia.com%27%29%3B%0A%20%0A%20%20%20%20%7D%0A%20%20%20%20else%20if%20%28window.sidebar%29%0A%20%20%20%20%7B%0A%20%20%20%20if%28window.netscape%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20try%0A%20%20%20%7B%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20netscape.security.PrivilegeManager.enablePrivilege%28%22UniversalXPConnect%22%29%3B%20%20%0A%20%20%20%20%20%20%20%20%20%7D%20%20%0A%20%20%20%20%20%20%20%20%20catch%28e%29%20%20%0A%20%20%20%20%20%20%20%20%20%7B%20%20%0A%20%20%20%20alert%28%22this%20action%20was%20aviod%20by%20your%20browser%2Cif%20you%20want%20to%20enable%2Cplease%20enter%20about%3Aconfig%20in%20your%20address%20line%2Cand%20change%20the%20value%20of%20signed.applets.codebase_principal_support%20to%20true%22%29%3B%20%20%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20%0A%20%20%20%20var%20prefs%20%3D%20Components.classes%5B%[email protected]/preferences-service%3B1%27%5D.getService%28Components.%20interfaces.nsIPrefBranch%29%3B%0A%20%20%20%20prefs.setCharPref%28%27browser.startup.homepage%27%2C%27http%3A//youtubedownload.freehostia.com%27%29%3B%0A%20%7D%0A%7D%0A%3C/script%3E%0A%3Cinput%20type%3D%22button%22%20value%3D%22set%20home%20page%22%20onclick%3D%22setHomepage%28%29%3B%22%20/%3E%3C/center%3E%20%0A%20%20%20%20%20%20%20%3C/p%3E%0A%20%20%20%20%20%20%3C/td%3E%0A%20%20%20%20%3C/tr%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%3Ctd%20height%3D%2288%22%20class%3D%22ad%22%3E%20%20%0A%3Ca%20href%3D%22http%3A//www.000webhost.com/%22%20onClick%3D%22this.href%3D%27http%3A//www.000webhost.com/115883.html%27%22%20target%3D%22_blank%22%3E%3Cimg%20src%3D%22http%3A//www.000webhost.com/images/banners/728x90/banner2.gif%22%20alt%3D%22Free%20Website%20Hosting%22%20width%3D%22728%22%20height%3D%2290%22%20border%3D%220%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%20%20%20%20%3Ctr%3E%0A%20%20%20%20%20%20%20%20%3Ctd%20class%3D%22body%22%3E%0A%20%20%20%20%20%20%20%20%20%3Ch6%20align%3D%22center%22%3EWelcome%20to%20Youtube%20Download%0A-%3E%20it%27s%20a%20great%20place%20that%20allows%20you%20to%20watch%2C%20upload%20and%20share%20videos%20on%20the%20internet.%20But%20the%20YouTube%20doesn%27t%20allow%20you%20to%20download%20that%20amazing%20video%20that%20you%20watched.%20Now%20you%20can%21%20YouTube%20download%20allows%20you%20to%20download%20YouTube%20videos%20easy%20and%20fast%21%20Tell%20your%20friends%20about%20YouTube%20Download%20%3C/h6%3E%0A%3Ccenter%3E%0A%3C/div%3E%0A%3C/div%3E%3C/div%3E%3C/td%3E%0A%20%20%20%20%3C/tr%3E%0A%20%20%3C/table%3E%0A%3C/div%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//widgets.amung.us/classic.js%22%3E%3C/script%3E%3Cscript%20type%3D%22text/javascript%22%3EWAU_classic%28%27tf2o1izcoede%27%29%3C/script%3E%0A%3C/BODY%3E%0A%3C/HTML%3E%0A%0A';
$d = urldecode($m);
print $d;
[/code]
Copy linkTweet thisAlerts:
@abeng888authorJan 30.2009 — sorry i'm newbie..

how to use that?
Copy linkTweet thisAlerts:
@kloon_zaJan 30.2009 — just put it inside a .php file between <?php ?> tags
Copy linkTweet thisAlerts:
@abeng888authorJan 30.2009 — its still there, not change.. sorry ?
Copy linkTweet thisAlerts:
@OctoberWindJan 30.2009 — The string isn't going to change, but the output will.

To help you understand:

This script you posted in the OP isn't PHP, it's javascript.

The PHP that kloon_za provided is the PHP equivalient of that.

What urlencode() does, is replace all non-alphanumeric characters with their hex codes.

urldecode() does just the opposite; decodes any &#37;## hex code.

As an example, lets look at just the first part of the string:

[code=php]
$m1 = '%3CCreated%20by%20GabyCraioveanu%3E%0A%3CHTML%3E%0A%3CHEAD%3E%0A%3Ctitle%3EDownload%20YouTube%20Videos%21%20Download%20and%20save%20YouTube%20videos%20to%20your%20pc%21%3C/title%3E';
$d1 = urldecode($m1);
print $d1;
[/code]


When running urldecode(), it takes %3C and converts it to < (less than), %20 is a space, %3E is > (greater than) and so on.

In the end, you get a sting that looks like this:

[code=html]
<Created by GabyCraioveanu>
<HTML>
<HEAD>
<title>Download YouTube Videos! Download and save YouTube videos to your pc!</title>
[/code]


And, if you decode the entire string, you end up with a full webpage.
Copy linkTweet thisAlerts:
@abeng888authorFeb 02.2009 — thank you
×

Success!

Help @abeng888 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 5.6,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...