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
Collapse
X
-
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.
PHP Code: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
Last edited by thunderwap; 13.05.15, 06:16.sigpic
WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!
- Likes 1
-
Originally posted by thunderwap View Postwhat 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.
PHP Code: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).
Comment
-
Originally posted by something else View PostThe 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.
Comment
-
Replace your current ip function with this one:PHP Code:function getip()
{
return $_SERVER['REMOTE_ADDR'];
}
Last edited by something else; 15.05.15, 18:18.
Comment
-
Originally posted by something else View PostReplace your current ip function with this one:PHP Code:function getip()
{
return $_SERVER['REMOTE_ADDR'];
}
landing page? U mean Logout page bro?
Comment
-
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.
Comment
-
Originally posted by something else View Postsorry 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.
Comment
Comment