I would like to know how to give a request and look for a string, for example: * www.site.com / index.php? id = '(SQL Error) (look for or error)
I would like to know how to give a request and look for a string, for example: * www.site.com / index.php? id = '(SQL Error) (look for or error)
In python objects of type str
have search methods, some of them follow:
>>> string = 'goiaba'
>>> string.find('a') # Retorna a primeira ocorrência da string passada
3
>>> string.startswith('g') # Verifica se a string começa com a string passada
>>> string.endswith('ba') # Verifica se a string termina com a string passada