Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
How do I protect my client
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Tails" data-source="post: 302142" data-attributes="member: 41820"><p>Original code posted by Vrop93 on a forum-that-i-shall-not-name, so don't give me credit for it.</p><p></p><p>Make a PHP file in your habbo.swf directory with this inside;</p><p>[code]</p><p><?php</p><p>/* System created by Vrop93 ;)</p><p>*/</p><p>session_start();</p><p></p><p>$client["fdata"] = "furnidata.txt";</p><p>$client["pdata"] = "productdata.txt";</p><p>$client["vars"] = "external_variables.txt";</p><p>$client["txts"] = "external_flash_texts.txt";</p><p>$client["swf"] = "Habbo.swf";</p><p></p><p>$vllb = $_GET['external'];</p><p>switch($vllb)</p><p>{</p><p>case "txt":</p><p>include($client["txts"]);</p><p>return;</p><p>case "var":</p><p>include($client["vars"]);</p><p>return;</p><p>case "product":</p><p>include($client["pdata"]);</p><p>return;</p><p>case "furni":</p><p>include($client["fdata"]);</p><p>return;</p><p>case "swf":</p><p>readfile($client["swf"]); // Thanks Joopie ;)</p><p>return;</p><p>}</p><p>?>[/code]</p><p></p><p>Now make a .htaccess file with this;</p><p>[code]</p><p>RewriteEngine On</p><p>RewriteBase /</p><p></p><p>RewriteCond %{HTTP_REFERER} !/client\.php [NC]</p><p>RewriteRule \.(php)$ - [F,L]</p><p>RewriteCond %{HTTP_REFERER} !/swfs/externals\.php [NC]</p><p>RewriteRule \.(swf|txt)$ - [F,L][/code]</p><p></p><p></p><p>You rename your files to something else, people won't be able to see the folder so as long as they can't guess /habbo.swf you should be good from direct download.</p></blockquote><p></p>
[QUOTE="Tails, post: 302142, member: 41820"] Original code posted by Vrop93 on a forum-that-i-shall-not-name, so don't give me credit for it. Make a PHP file in your habbo.swf directory with this inside; [code] <?php /* System created by Vrop93 ;) */ session_start(); $client["fdata"] = "furnidata.txt"; $client["pdata"] = "productdata.txt"; $client["vars"] = "external_variables.txt"; $client["txts"] = "external_flash_texts.txt"; $client["swf"] = "Habbo.swf"; $vllb = $_GET['external']; switch($vllb) { case "txt": include($client["txts"]); return; case "var": include($client["vars"]); return; case "product": include($client["pdata"]); return; case "furni": include($client["fdata"]); return; case "swf": readfile($client["swf"]); // Thanks Joopie ;) return; } ?>[/code] Now make a .htaccess file with this; [code] RewriteEngine On RewriteBase / RewriteCond %{HTTP_REFERER} !/client\.php [NC] RewriteRule \.(php)$ - [F,L] RewriteCond %{HTTP_REFERER} !/swfs/externals\.php [NC] RewriteRule \.(swf|txt)$ - [F,L][/code] You rename your files to something else, people won't be able to see the folder so as long as they can't guess /habbo.swf you should be good from direct download. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
How do I protect my client
Top