I have a better solution! If you want pm me 👋 🤕
stop session stealing on lava scripts
Started on the old forum in November 2009 · view the original in the archive · old links redirect here
TL;DR · summary of 30 replies
- - The code approach was discussed but not fully resolved as to where exactly the provided code should be placed in the core.php file.
- - Some participants suggested adding more specific checks for extensions like .php3 or .php4, and also blocking certain characters that could indicate SQL injection attempts.
- - A suggestion was made about using a session control generator to prevent session hijacking by limiting how long users can stay logged in without activity.
- - The issue of where to place the code related to preventing session stealing from being resolved as it was suggested to be placed after function isblocked2($str,$sender).
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
Why dont u post what u got here,everybody are postin theirs..
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
makvanpor2000 wrote: Why dont u post what u got here,everybody are postin theirs..
oh sowi brotha, ok, what ozziemale31 post here in his 1st post, and after that code anothe code for blocking injection, code[3] = "$" code[4] = "{" code[4] = "}" ,,, after this code i hv block a more word, code[5] = "sid" its main part of stealing sesion of id and 4 enter by any xternel link, if u using opera browser on mobile,just click on menu>>tools>>page information,u wil get this word, for more security we have update catche control generator, means u can access site how long u want,in case ur gprs has disconect coz of network error, u cant use history for enter or from direct ph0nes (last login address), catche control generator will kick ur butts 4 login again, and without user online seasion stealing posible? Blocking "sid" i was think its just normal, and as nebie i did try to block it, and result front of me, if user online,and he wil try to online by copy bookmark,he cant enter... Cant explain more abt it., soon i wil upload here cathe conrol generator and more information,
Have already done that before i was hacked
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
makvanpor2000 wrote: Have already done that before i was hacked
oh thats it, nice man,
after this code i hv block a more word, code[5] = "sid"
a few other words you may wanna replace:
.js (since session stealing is a client side exploit it uses xss attacks commonly in the form of JS scripts)
.cookie (blocking sid from being used is fine but now everyone knows you've told people to block sid they will use something else to steal sessions, this stops u entering document.cookie or any other cookie related func)
ofcourse none of this code accounts for encoding so you may wanna apply urldecode() at the very least before str matching. Might be a good idea to implement other forms of decoding functions native to php, if your worried about the decode func messing up the original message then create a copy of the message before decoding
hey
manavworld wrote: oh sowi brotha, ok, what ozziemale31 post here in his 1st post, and after that code anothe code for blocking injection, code[3] = "$" code[4] = "{" code[4] = "}" ,,, after this code i hv block a more word, code[5] = "sid" its main part of stealing sesion of id and 4 enter by any xternel link, if u using opera browser on mobile,just click on menu>>tools>>page information,u wil get this word, for more security we have update catche control generator, means u can access site how long u want,in case ur gprs has disconect coz of network error, u cant use history for enter or from direct ph0nes (last login address), catche control generator will kick ur butts 4 login again, and without user online seasion stealing posible? Blocking "sid" i was think its just normal, and as nebie i did try to block it, and result front of me, if user online,and he wil try to online by copy bookmark,he cant enter... Cant explain more abt it., soon i wil upload here cathe conrol generator and more information,
well in ccase hacker steal my session so immediately my session expired if he use that same session heheh
Erro occured when error file create
revenge wrote: well in ccase hacker steal my session so immediately my session expired if he use that same session heheh
u guys r funny.
<?php
$value = 'something from somewhere';
setcookie("TestCookie",$value);
setcookie("TestCookie",$value, time()+0);
setcookie("TestCookie",$value,time()+0, "/~rasmus/",".mysite.com",1)
?>
put this code in ur online list, if user wil b disconect once, an example,an network error,attend the call while browsing, gone out of site via bookmark,and afta one mint wil try to come bk with press back key..[sesion will expire]... The session will live with user wil continualy attached with site, only a miscal on hiz mobile wil clear the sesion,than he hv need to login again
If u want that one use logout after an every hour, replace +0 with -3600 ,,
if you wana to put this codes only for free proxy browser ,than pm me, and ya dont forget to click on thanx..wink.