sql - Finding blind_SQL vulnerability in php site code -


hi i'm beginner in web domain , wondering if guide me in should blind sql injection vulnerability in code of whole forum example if exploit of vulnerability index.php?m=content&c=rss&catid=[valid catid] should in code portion validates user form & url input; i'm beginner in php , how should fix it.

if worried sql injection have bad design. should using parametrized queries library adodb or pdo. there no question, 100% protected against sql injection.

for testing blind sql can somthing like: index.php?m=content&c=rss&catid=sleep(30).

this request should take 30 seconds page load. if need quote mark payload ' , sleep(30) or 1='.

to patch vulnerability know catid should int. @ top of page can add line: $_get['catid']=intval($_get['catid']);


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -