Jump to content

site mysql vulnerability - avoiding it ???


abemaca

Recommended Posts

hi all , sorry if this is posted in the wrong section , im a phpfreak noob

 

running a site i like to read into the hacking side to things to keep myself and my site on its toes so to speak.

 

i notice that to find if a site has mysql vulnerability you would simply place a ' after the url and look for error.

 

My question is that if i add the ' to my site it shows as being vulnerable .

 

how could i stop this giving an error back ???

Link to comment
https://forums.phpfreaks.com/topic/196685-site-mysql-vulnerability-avoiding-it/
Share on other sites

ok i've read about sanitizing and im closer to my goal (secure mysql) but it didnt directly help me solve the issue i posted about.  The above is regarding inputs and data queries were as  im after something alot more simpler , as this can be used before you even enter data , IE: http://mysiteurl.com is where they go ... if they add a ' like so .... http://mysiteurl.com/' then it reads the ' character. how can i avoid this ???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.