Hello frnds. im here seeking a help in protecting sid (session) in lavalair script. I dont use bbcodes for images, i dont use any external links. Also i protected the session by ip and browser check. That means, if somebody copy and paste the sid, they will get SESSION EXPIRED messages. But still peoples are hijacking my sessions and entering in others id. is it because of brute force attack? Please help me to secure my site from session stealing.
lavalair session sid and brute force attack
Started on the old forum in May 2015 · view the original in the archive · old links redirect here
what is the addy?u can pm me.let me check.
if u have uploader in site then see if it only accepts needed extensions. i.e if someone using shell.php.jpg then it should stop them if u use use condition in it and use proper code in htaccess.i think they must using shells in ur site.
AddType image/gif .gif
AddType image/gif .gif
AddType image/jpeg .jpeg .jpg .jpe .JPG
AddType image/png .png .PNG
addtype audio/x-mpegurl m3u
addtype audio/mpegurl m3u
addtype text/vnd.wap.wml wml
addtype application/vnd.wap.wmlc wmlc
addtype text/vnd.wap.wmlscript wmls
addtype application/vnd.wap.wmlscriptc wmlsc
addtype image/vnd.wap.wbmp wbmp
addType application/java-archive jar
addType application/x-java-archive jar
addType text/vnd.sun.j2me.app-descriptor;charset=UTF-8 jad
addType application/vnd.symbian.install sis
addType application/vnd.symbian.install sisx
addType audio/3gpp 3gp
addType video/3gpp 3gp
addType audio/x-wav wav
addType audio/amr amr
addType audio/amr-wb awb
addType audio/mpeg mp3
addType audio/x-midi mid
addType audio/midi mid
addType audio/midi midi
addType application/x-smaf mmf
addType application/vnd.smaf mmf
addType application/vnd.mophun.application mpn
addType application/vnd.mophun.application mpc
addType application/vnd.eri.thm thm
addType application/vnd.nok-s40theme nth
WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!
thunderwap wrote: what is the addy?u can pm me.let me check.
if u have uploader in site then see if it only accepts needed extensions. i.e if someone using shell.php.jpg then it should stop them if u use use condition in it and use proper code in htaccess.i think they must using shells in ur site.
AddType image/gif .gif AddType image/gif .gif AddType image/jpeg .jpeg .jpg .jpe .JPG AddType image/png .png .PNG addtype audio/x-mpegurl m3u addtype audio/mpegurl m3u addtype text/vnd.wap.wml wml addtype application/vnd.wap.wmlc wmlc addtype text/vnd.wap.wmlscript wmls addtype application/vnd.wap.wmlscriptc wmlsc addtype image/vnd.wap.wbmp wbmp addType application/java-archive jar addType application/x-java-archive jar addType text/vnd.sun.j2me.app-descriptor;charset=UTF-8 jad addType application/vnd.symbian.install sis addType application/vnd.symbian.install sisx addType audio/3gpp 3gp addType video/3gpp 3gp addType audio/x-wav wav addType audio/amr amr addType audio/amr-wb awb addType audio/mpeg mp3 addType audio/x-midi mid addType audio/midi mid addType audio/midi midi addType application/x-smaf mmf addType application/vnd.smaf mmf addType application/vnd.mophun.application mpn addType application/vnd.mophun.application mpc addType application/vnd.eri.thm thm addType application/vnd.nok-s40theme nth
Uploader was also kind of secure.. Hacker was saying, he was doing brute force, so that he came through other users SID (session).
Hacker will not tell u true way that how he did entered in ur site.so u should not trust them what they says to u.i m sure he using shell.
WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!
Not exactly hard to get the persons ip and browser details at same time as the session id 😳
something else wrote: Not exactly hard to get the persons ip and browser details at same time as the session id 😳
brother... i could not understand this.. could you please tell me clearly? Sorry for my ignorance
The hacker is stealing session, ip and browser from his target. The hacker then uses the targets session and browser and ip to gain access to their account.
something else wrote: The hacker is stealing session, ip and browser from his target. The hacker then uses the targets session and browser and ip to gain access to their account.
Thank you so much for this. but there is no solution for this? i alredy santized all the input datas. but how is it possible bro?
Replace your current ip function with this one:
function getip()
{
return $_SERVER['REMOTE_ADDR'];
}
I cant tell you where all the holes are - but it sounds like you may have missed some. Maybe a landing page for clearing session id from urls
something else wrote: Replace your current ip function with this one:
function getip() { return $_SERVER['REMOTE_ADDR']; }I cant tell you where all the holes are - but it sounds like you may have missed some. Maybe a landing page for clearing session id from urls
landing page? U mean Logout page bro?
sorry i dont think its called a landing page now >.< i cant think what they are called but its a page that goes between: a page containing an external site link and the external site. This page contains no session id so therefore session id can not be stolen via referrer as it contains the session id.
something else wrote: sorry i dont think its called a landing page now >.< i cant think what they are called but its a page that goes between: a page containing an external site link and the external site. This page contains no session id so therefore session id can not be stolen via referrer as it contains the session id.
thank you bro.
if you dont know how to protect the sid, why dont you remove the sid from every page. or use the script without the sid 🙂
😳 .................................... http://photomag.lk/ .................................... 🤨
centi wrote: if you dont know how to protect the sid, why dont you remove the sid from every page. or use the script without the sid 🙂
u mean by using SESSIONS bro?
Server sessions are only safe if you know how to protect your site from other malicious attacks that you don't get with the session in the url. You cant just change from a session in the url to a Server session and think that it is safer - (its actually much more dangerous if unprotected)
something else wrote: Server sessions are only safe if you know how to protect your site from other malicious attacks that you don't get with the session in the url. You cant just change from a session in the url to a Server session and think that it is safer - (its actually much more dangerous if unprotected)
Hi.. you mean, like you mentioned in your previous topics that, hackers can make someone LOGOUT by just giving the link? (if we use sessions).. you mean that bro? right.?
cookies is much easier to steal than url session 🙂
External image (may be gone) http://wapx.amob.com Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!
Yes not to mention many other ways from cross site scripting to an uploader session attack - and logging out could be the least of your worries 🙂
wapxtech commented
cookies is much easier to steal than url session 🙂
I wouldn't say either is easier to steal than the other - The only reason url sessions get stolen more is because people dont know how to edit there own cookies on there web browser (vs editing a url is simple)