Originally posted by Mysterio3
View Post
Lavalair Sql Injection Blocker
Collapse
X
-
its for the links,posted by users.like http://site.com should be go.php?site=http://site.comOriginally posted by manavworld View Postyou said make like this go.php when hacker cames with external link via fourm,picture,avtar links, but my question is that go.php for wot? U mean we have need to rename gallery.php or core.php or wot. Can u explain about it, than newbie user can undrstand easly about all function
in go.php make header location the site value.
for images dnt allow direct images..pass images through php fileshe is beautifull than php.and i love her more than php.
sigpic
Comment
-
ahh ok sir, i will remove link of avtar, iam undrstand w0t u said, thank budy, realy thankful to uOriginally posted by ranzit2 View Postits for the links,posted by users.like http://site.com should be go.php?site=http://site.com
in go.php make header location the site value.
for images dnt allow direct images..pass images through php file
Comment
-
brother i hv already updated (magic_quotes in my core.php coding, now i can update this code in my .htaccess file?..ok...and one more question....<Files *.php>Originally posted by ozziemale31 View Postto protect your file share folders from php pages being uploaded make a htaccess page and put in it the following
when a php page is uploaded in that directory and the hacker goes to open it they end up with a nice 403 error page not found even though their script to hack may be there lol thanks to gum for that lil trickPHP Code:IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Files images>
deny from all
</Files>
<Files *.php>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
<Files *.php.php.*>
deny from all
</Files>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
..its ur code, hv we need to replace anythng? Plz ur litle teach make me secure, plz help me brother...i wil thankful to u.
Comment
-
I put this .htacces in folder gallery and got error message from server than i change script like thisOriginally posted by ozziemale31 View Postto protect your file share folders from php pages being uploaded make a htaccess page and put in it the following
when a php page is uploaded in that directory and the hacker goes to open it they end up with a nice 403 error page not found even though their script to hack may be there lol thanks to gum for that lil trickPHP Code:IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Files images>
deny from all
</Files>
<Files *.php>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
<Files *.php.php.*>
deny from all
</Files>
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from *.php
deny from *.php.
deny from *.php.php.
Its working..! I try to upload 99cy.php. and can't open that file.
Comment
Comment