How hide session id in retrivewap help me plz ?

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

20 replies · 2,591 views · started 17 years ago · 1 min read

TL;DR · summary of 20 replies
  • - The fix for hiding session ID involves changing $sid = md5($did); to $_SESSION["sid"] = md5($did); in the login.php file.
  • - In every PHP file, add $sid = $_SESSION["sid"]; just below where $_SESSION["sid"] = md5($did); is placed.
  • - The error mentioned by analyzer was due to undefined variable: _SESSION. This can be resolved by ensuring that the session_start() function is called at the beginning of each PHP file, which initializes the session and...
  • - It was concluded that using an offline application (XAMPP) for editing PHP files does not require internet access; however, proper initialization of sessions must be done to avoid undefined variable errors.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

8 participants
12345xmen Developer · 239 posts #1

Hey bro ny budy hlp me i want hide my session id in retrivewap ,i read that thread realted to hide session id bt dnt undestand what i do thats y make this topic if ny budy knw plz help me,nd rider bro you knw vry wel then y u dnt tel me . . Plz help me i need ur help

kiLLeR-eyEd_14 Senior · 382 posts #2

12345xmen wrote: Hey bro ny budy hlp me i want hide my session id in retrivewap ,i read that thread realted to hide session id bt dnt undestand what i do thats y make this topic if ny budy knw plz help me,nd rider bro you knw vry wel then y u dnt tel me . . Plz help me i need ur help

lol..i've posted it already in the old thread hiding ses id..just find it on that thread..but that thing was not like what i've done in my site now..=)

12345xmen Developer · 239 posts #4

kiLLeR-eyEd_14 wrote: I will repeat it! In login.php, change $sid = md5($did) to $_SESSION["sid"] = md5($did) and then below that and in every top of page put $sid = $_SESSION["sid"];

bro i do that as u say

i change $sid = md5($did); to $_SESSION["sid"] = md5($did);

nd this line below i add $sid = $_SESSION["sid"];

like this $_SESSION["sid"] = md5($did); $sid = $_SESSION["sid"];

and nw in all othere php file i put

$sid = $_SESSION["sid"];

just below

<?php like this <?php $sid = $_SESSION["sid"]; but still my session id showwwwwwwwwww nw tel what i do ?
rocker Junior · 17 posts #5

Even i want this hiding session id thing

rocker Junior · 17 posts #6

Even i want this hid1ing session id thing

kiLLeR-eyEd_14 Senior · 382 posts #7

12345xmen wrote: bro i do that as u say

i change $sid = md5($did); to $_SESSION["sid"] = md5($did);

nd this line below i add $sid = $_SESSION["sid"];

like this $_SESSION["sid"] = md5($did); $sid = $_SESSION["sid"];

and nw in all othere php file i put

$sid = $_SESSION["sid"];

just below

<?php like this <?php $sid = $_SESSION["sid"]; but still my session id showwwwwwwwwww nw tel what i do ?

common sense..remove the &sid=$sid in every link..lol..if u wanna know if u've hidden the ses id..enter your homepage after logging in and remove the &sid=blahblahblah in the url

CreativityKills Lead · 833 posts #11

Btw if u wana do the above code knw that u have unleashed a whole new can of whoop ass holes on ur site. Easier to exploit holes.

kiLLeR-eyEd_14 Senior · 382 posts #13

mobileGIGS wrote: Btw if u wana do the above code knw that u have unleashed a whole new can of whoop ass holes on ur site. Easier to exploit holes.

i'm not afraid with that..i'm doing my best to secure my whole site..someone is trying to hack me with shell script but he couldn't be successful with that..lol..i'm juz lmao with him..and as of now, i'm never using cookies and session vars for holding the encrypted something as ses id..i use phpsessid that php provides ses id depending on the browser type used..but i'm not sure with these details i reviewed regarding phpsessid..

CreativityKills Lead · 833 posts #14

Its still insecure, duh. Simply put its an exploit thats easily luks harmless. . .except if u got sum xtra knwledge. Okay enuf speculashins. I exploited 3 sites recently to test. W2c.in, wapirate and retrivewap.co.za tho i dnt exploit wit malicious intent. Basically if ur site has as little as one XSS hole, game ova. Also wots so special is, i put one line of simple code and u do d dirty work 4 me lol. After much, ive written a class to protect, i'l share it after my mG v4.0 update.

CreativityKills Lead · 833 posts #15

Oh and killer, you SHOULD be afraid. Very. Its the "hardest exploit to protect...as the hacker does not need to steal anything...what makes it even harder? Its You and nt the hacker thats sending the request so its valid...put simply, you are doing his dirty work for him." so killer, storing ur sid in mars wnt even solve it. I'll make a thread lata.

kiLLeR-eyEd_14 Senior · 382 posts #16

Lol..I don't think so..The reason why i hide ses id is to prevent session hacking..I've done it so they couldn't get the ses id or they wouldn't know the things in session..the ses was just not included in the url but it's still inserted into the database table ibwf_ses..so, what's something new in the lavalair or wapdesire script i've modified was just i've hidden the ses id and just like what i've said..It's still inserted in the database..the script would still check if it exists in the database..There's nothing for me to be afraid..Then why don't hackers try to hack ses id system in my site..I'm not totally confident of the security of my site..Just try hackers! Lmao..Maybe you could hack me something in other backdoors..But let me prove first if session system in my site is not like what others are thinking it's not good and might easily get hacked..I wouldn't tell now more about my ses id and i would not share my script as hackers would have given informations about my session system..

kei_ki7 Senior · 431 posts #17

.. my xhtml does work, i dont know why wml didn't

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

CreativityKills Lead · 833 posts #18

Read about csrf, u are obviously too narrow minded. Wot u did was cover ONE hole, so what about the fact that csrf dnt rely on grabbin sessions? Csrf dnt give 3 fuks wat ur sid is or whether its goin thru a database or is ip locked. Csrf is a whole new dimension. Think owt ov d box.

Jerson Developer · 70 posts #19

just add salt in session. Y0u can put a s0luti0n 4 stealing sid. Just d0 what facebook did. If you l0gin in other computer or browser you will be logout. Means 1 user only can use your session haha but i dont know what is the code for that haha lol

analyzer Developer · 104 posts #20

Why everytime i put $sid = $_SESSION["sid"]; an error appeared the error is undefined variable: _SESSION in index.php on line 2 that is the error i am using xampp application. .is it not good to use offline application? Do i need to use internet in edittng this function??

It's n0t that i am afraid to die. Its just that if i die, wh0 wilL loVe her as muCh as i Do?

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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