Hidden sessions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • thunderwap
    replied
    hiding sid will help lot of sites who getting hacked by image hack or stealing session.

    this can be safe from noob hackers.

    any guys using lava must try to hide sessions.

    Leave a comment:


  • CreativityKills
    replied
    If i got a coin for every topic like this.

    Leave a comment:


  • kiLLeR-eyEd_14
    replied
    That was just my past used thing or experience in having a session w/o getting it into a url that was done in lavalair..My only point is to give hidden sessions for them to experience having a session w/o having it in a url..

    Leave a comment:


  • Mysterio
    replied
    it only hiddes the sid, nothing more

    Leave a comment:


  • kei_ki7
    replied
    i think you dont need to hide sid if you using $_SERVER['PHPSESSID'], $PHPSESSID, session_id() , you are hiding for cleanliness.

    Leave a comment:


  • subzero
    replied
    djlee, is right lol

    Build your own sid i have my script if you tryed to hack sid you only get username lmao

    Leave a comment:


  • djlee
    replied
    So basically your hiding the real session ID... whats the point lol. Your site translates the user viewable session id into the hidden sid stored in the session. If i have the user viewable session and use it, your site is still gonna translate that into the hidden sid for me. I really dont see the point in such a modification???

    or did i understand it wrong :P

    Leave a comment:


  • kiLLeR-eyEd_14
    replied
    It depends on your script..Example: on lavalair login.php
    PHP Code:
    mysql_query("INSERT INTO ibwf_sessions SET id='".session_id()."' WHERE uid='".getuid_nick($_GET['loguid'])."', expiretm='".(time() + (24*60*60))."'"); 
    
    you then inserted it into the database..Then in every top of a file like index.php..assign session_id() to $sid..
    PHP Code:
    $sid = session_id(); 
    
    now, it will work..this will return your membership id..
    PHP Code:
    $uid = getuid_sid($sid); 
    
    just analyze..this one is the link to your profile..
    PHP Code:
    index.php?action=viewuser&who=$uid 
    
    and then this, on logout
    PHP Code:
    index.php?action=logout&who=$uid 
    
    got my point?the thing i can tell you about this is to be wise 'cause they might abuse it by putting that url in an image source..once you executed that image with that url, example, the source is the logout url, then you will be logged out..
    Last edited by kiLLeR-eyEd_14; 05.01.10, 15:37.

    Leave a comment:


  • slayder
    replied
    what is this?

    Leave a comment:


  • makvanpor2000
    replied
    I dont understand use them as in how

    Leave a comment:


  • kiLLeR-eyEd_14
    started a topic Hidden sessions

    Hidden sessions

    PHP Code:
    $_SESSION['sid'] = put here the encrypted value to be used as session, $_SERVER['PHPSESSID'], $PHPSESSID, session_id() 
    
    you can use any of them..
    Last edited by kiLLeR-eyEd_14; 05.01.10, 11:03.
Working...
X