Hiding Externals, Furnidata

Page 1 of 2 12 LastLast
Results 1 to 25 of 38
  1. #1
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Hiding Externals, Furnidata

    Hey, so, i want to stop people ripping my furniture 'cause im in development at the moment, so how do i make it so like Habmoon, the furnidata is internal or something? (basically people cant use it to rip)
    Last edited by Spheral; 22-02-13 at 01:03 PM.


  2. #2
    Sorcerer Supreme Dysfunctional is offline
    Member +Rank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Hiding Externals, Furnidata

    What do you mean... Mind linking me to HabMoons hotel so I know what you're talking about?

  3. #3
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata


  4. #4
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts

    Re: Hiding Externals, Furnidata

    Why don't you ask him yourself? :D

  5. #5
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by Quackster View Post
    Why don't you ask him yourself? :D
    He wont tell me x]

  6. #6
    Grand Master Emily is offline
    Grand MasterRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Hiding Externals, Furnidata

    Use it in a PHP file and do something with IP, use .htaccess to remove the .php and well done.

  7. #7
    Sorcerer Supreme FapInc is offline
    Member +Rank
    Nov 2012 Join Date
    499Posts

    Re: Hiding Externals, Furnidata

    John, try put this at the top of the files you wanna hide:


    <?php
    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }


    If not work try: without <?php

    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

  8. #8
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Might try your ideas out x]

  9. #9
    lol Disguised is offline
    Grand MasterRank
    Jan 2011 Join Date
    521Posts

    Re: Hiding Externals, Furnidata

    This might work,
    as its on the top of your config, which is also hidden.

    so yeah try that

    Code:
    <?php
    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
    
    
    If not work try: without <?php
    
    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

  10. #10
    Sorcerer Supreme FapInc is offline
    Member +Rank
    Nov 2012 Join Date
    499Posts

    Re: Hiding Externals, Furnidata

    Take this on the bottom of the page also, ?>

  11. #11
    lol Disguised is offline
    Grand MasterRank
    Jan 2011 Join Date
    521Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by FapInc View Post
    Take this on the bottom of the page also, ?>
    No i dont believe so,
    but if it doesnt work, try also adding it at the back of the page.

  12. #12
    Sorcerer Supreme FapInc is offline
    Member +Rank
    Nov 2012 Join Date
    499Posts

    Re: Hiding Externals, Furnidata

    You really like wannabeeing Disguised :D

  13. #13
    lol Disguised is offline
    Grand MasterRank
    Jan 2011 Join Date
    521Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by FapInc View Post
    You really like wannabeeing Disguised :D
    What are you talking about?

  14. #14
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Sweet, thanks for all de help :)

    Right, i dont get it.

    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

    i use .txt files for my furnidata and shit?

  15. #15
    No, Just no. Matthew is offline
    Grand MasterRank
    Jul 2008 Join Date
    United KingdomLocation
    1,408Posts

    Re: Hiding Externals, Furnidata

    I believe Habbo.swf sends a referrer. Make a script to check if your furnidata/texts etc.. is being refereed from Habbo.swf.

  16. #16
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by Matthew View Post
    I believe Habbo.swf sends a referrer. Make a script to check if your furnidata/texts etc.. is being refereed from Habbo.swf.
    This ^

    Or when a user loads up the client page

    Set some sessions like

    PHP Code:
    $_SESSION['externals']['furnidata'] = true
    And on your "furnidata/texts" put:

    PHP Code:
    if (!isset($_SESSION['externals']['furnidata'])) exit; 
    And at last.

    Rename your file with an php extention. Or tell in the .htaccess to execute a .txt file as php and you're done :)

  17. #17
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by Matthew View Post
    I believe Habbo.swf sends a referrer. Make a script to check if your furnidata/texts etc.. is being refereed from Habbo.swf.
    Right, i dont understand you.

    Quote Originally Posted by joopie View Post
    This ^

    Or when a user loads up the client page

    Set some sessions like

    PHP Code:
    $_SESSION['externals']['furnidata'] = true
    And on your "furnidata/texts" put:

    PHP Code:
    if (!isset($_SESSION['externals']['furnidata'])) exit; 
    And at last.

    Rename your file with an php extention. Or tell in the .htaccess to execute a .txt file as php and you're done :)
    Dont work x[

  18. #18
    lol Disguised is offline
    Grand MasterRank
    Jan 2011 Join Date
    521Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by JohnHearfield View Post
    Sweet, thanks for all de help :)

    Right, i dont get it.

    if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }


    i use .txt files for my furnidata and shit?
    Just add it on top of the text file.

  19. #19
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by Disguised View Post
    Just add it on top of the text file.
    I did.
    im gonna try Matthews SWF furnidata thing x]

  20. #20
    Elite Member prodigy007 is offline
    Member +Rank
    Feb 2013 Join Date
    MissouriLocation
    177Posts

    Re: Hiding Externals, Furnidata

    I just check my cache folder for peoples files. Cant ever hide anything if you can decompile and navigate your own pc.

  21. #21
    ☮TAKU???? seanrom is offline
    Grand MasterRank
    Nov 2009 Join Date
    1,004Posts

    Re: Hiding Externals, Furnidata

    PHP Code:
        if($_SERVER["HTTP_ACCEPT"] != '*/*') {
            die(
    "U from sulake bro?");
        } 
    Add this to the top of the page. It'll block all direct traffic (from a browser) only allowing Habbo.swf to get the vars. At least this is how I do it and none of my users having trouble.

  22. #22
    Eye Eye Capt'n Spheral is offline
    Grand MasterRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by HickDead View Post
    PHP Code:
        if($_SERVER["HTTP_ACCEPT"] != '*/*') {
            die(
    "U from sulake bro?");
        } 
    Add this to the top of the page. It'll block all direct traffic (from a browser) only allowing Habbo.swf to get the vars. At least this is how I do it and none of my users having trouble.
    Lol, what page?

  23. #23
    Grand Master iRetro™ is offline
    Grand MasterRank
    Feb 2010 Join Date
    United KingdomLocation
    558Posts

    Re: Hiding Externals, Furnidata

    I think its rather obvious that hes made them in PHP, all you do is add include global.php and do a PHP if else statement

    UberCMS example;
    <?php
    if (!LOGGED_IN) {
    echo "Fuck off Ripper";
    } else
    {
    echo "Texts Here?";
    }
    ?>

    if($_SERVER["HTTP_ACCEPT"] != '*/*') {
    die("U from sulake bro?");
    }
    You serious?

  24. #24
    ☮TAKU???? seanrom is offline
    Grand MasterRank
    Nov 2009 Join Date
    1,004Posts

    Re: Hiding Externals, Furnidata

    Quote Originally Posted by ImJoeYz View Post
    I think its rather obvious that hes made them in PHP, all you do is add include global.php and do a PHP if else statement

    UberCMS example;
    <?php
    if (!LOGGED_IN) {
    echo "Fuck off Ripper";
    } else
    {
    echo "Texts Here?";
    }
    ?>


    You serious?
    I don't post non-serious things.
    Infact I should ask you "Are you serious?" beacuse you clearly diden't understand this question.
    He asked for a script that blocked direct access to his external files. Not a script that blocks access for people that are NOT logged in
    Spoiler:




    Now for the SERIOUS part.
    This is what I'm using in my cms
    Code:
    <?php
    	if($_SERVER["HTTP_ACCEPT"] != '*/*') {
    		ob_start();
    			var_dump($_SERVER);
    		$server = ob_get_clean();
    		$core->ReportError('blockedexternalaccess' . time() . '.txt', $server, 'NOTICE');
    		die("U from sulake?");
    	}
    	$core->require_login();
    	define('IGNORE_EXECUTEMSG', true);
    	header("Content-Type: text/plain;charset=UTF-8"); 
    	echo $core->GetCache('external_variables.txt');
    ?>
    ^This is just an example in my own cms with a report if someone gets blocked out/trying to access to directly.

    Something like this will probly work for you.
    Code:
    <?php
    	if($_SERVER["HTTP_ACCEPT"] != '*/*') {
    		die("U from sulake?");
    	}
    	header("Content-Type: text/plain;charset=UTF-8"); 
    	echo file_get_contents('%path_to_your_external_variables%');
    ?>

  25. #25
    Grand Master iRetro™ is offline
    Grand MasterRank
    Feb 2010 Join Date
    United KingdomLocation
    558Posts

    Re: Hiding Externals, Furnidata

    The fact is, I'm sure the users have to view these things or they won't work :S

    So for that I don't believe your script.



Page 1 of 2 12 LastLast

Advertisement