Colombia
Desde hace varios años y de acuerdo con el Open Web Application Security Project Foundation (OWASP), el riesgo de inyección SQL ha estado liderando el listado de los 10 principales riesgos en aplicaciones web, para lo cual se requiere llevar a cabo proyectos que permitan analizar sus algoritmos de ataque como mecanismo de protección. Este es el objetivo del presente artículo, para lo cual y luego de presentar dos de los algoritmos utilizados, se examinan bajo ciertas condiciones específicas, utilizando para ello una metodología basada en su análisis, modelación matemática, formulación de hipótesis y comprobación, obteniendo como conclusión que en algoritmos basados en el tiempo, si el tiempo inyectado es inferior a 30 veces el retardo de red, es mejor usar la búsqueda binaria, de lo contrario el algoritmo secuencial es una mejor opción, mientras que en algoritmos no basados en el tiempo, si el tamaño del juego de caracteres UNICODE es mayor que 10, es mejor usar el algoritmo de búsqueda binaria.
For several years and according to the Open Web Application Security Foundation (OWASP), the risk of SQL injection has been leading the list of the top 10 risks in web applications, for which it is required to carry out projects that allow to analyze its attack algorithms as a protection mechanism. This is the objective of this article, for which and after presenting two of the algorithms used, are examined under certain specific conditions, using a methodology based on their analysis, Mathematical modeling, hypothesis formulation and verification, concluding that in algorithms based on time, if the injected time is less than 30 times the network delay, it is better to use binary search, otherwise the sequential algorithm is a better choice, while in algorithms not based on time, if the size of the UNICODE character set is greater than 10, it is better to use the binary search algorithm.