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
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 ???

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.