Hidden sessions

Started on the old forum in January 2010 · view the original in the archive · old links redirect here

25 replies · 2,071 views · started 16 years ago · 1 min read

15 participants
kiLLeR-eyEd_14 Senior · 382 posts #4

It depends on your script..Example: on lavalair login.php

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..

$sid = session_id();

now, it will work..this will return your membership id..

$uid = getuid_sid($sid);

just analyze..this one is the link to your profile..

index.php?action=viewuser&who=$uid

and then this, on logout

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..

djlee Developer · 224 posts #5

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 😛

subzero Super moderator Fellow · 3,954 posts #6

djlee, is right lol

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

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

kei_ki7 Senior · 431 posts #7

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

Did I help you? You can help me too Your donations will help me finance my studies.

thunderwap Developer · 169 posts #11

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.

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

GumSlone Administrator Principal · 1,690 posts #12

thunderwap wrote: 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.

if you hide it - you will lose 50% or more of your users, you should better secure your site.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

kei_ki7 Senior · 431 posts #14

GumSlone wrote: if you hide it - you will lose 50% or more of your users, you should better secure your site.

yes, because some other phone does not supported by phpsessions

mobileGIGS wrote: Just secure it. I dnt hide myn bt its secure.

i think there is no need to hide the session if cookie is used

Did I help you? You can help me too Your donations will help me finance my studies.

kei_ki7 Senior · 431 posts #16

🙁 i dont have negative intension in my post, its to all readers.

Did I help you? You can help me too Your donations will help me finance my studies.

comando Developer · 68 posts #17

how GumSlone said , dont use $_SESSION[] on mobile sites because is not allow by all mobile browsers
Advice:

Try to make the session md5 of user browser and ip and the islogin function will be function islogin($sid){ $haip=$_SERVER["REMOTE_ADDR"]; $bw=$_SERVER['HTTP_USER_AGENT']; and then if(($sid==md5($haip.$ip))

{ is login

} so if somebody get the session can not enter because must have the same IP and the same BROWSER

🙂 I hope you undertand

iengioi!

amylee Principal · 1,092 posts #18

same IP and the same BROWSER

ip's and browsers can easily be spoofed

morse Senior · 364 posts #19

amylee wrote: ip's and browsers can easily be spoofed

IP spoofing ?? spoof A Moroccan or Iranian IP. I dont think its possible

tinyurl.com/earnbymobile Easy earning for Indians

Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3

ksg91 Developer · 162 posts #20

comando wrote: how GumSlone said , dont use $_SESSION[] on mobile sites because is not allow by all mobile browsers
Advice:

Try to make the session md5 of user browser and ip and the islogin function will be function islogin($sid){ $haip=$_SERVER["REMOTE_ADDR"]; $bw=$_SERVER['HTTP_USER_AGENT']; and then if(($sid==md5($haip.$ip))

{ is login

} so if somebody get the session can not enter because must have the same IP and the same BROWSER

🙂 I hope you undertand

we may use cookies also to find if this is the same person who logged in.

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close