The article discusses a method for preventing SQL injections and cross-site scripting using the Knuth-Morris-Pratt string matching algorithm.SQL injection and cross-site scripting remain a major threat to data-driven web applications.There are more and more cases where hackers gain unlimited access to the internal database of web applications in order to steal, edit and destroy confidential data.Therefore, measures must be taken to curb the growing threats of SQL injection and XSS attacks.This study presents a technique to detect and prevent these threats using the Knuth-Morris-Pratt string matching algorithm.The algorithm was used to match the user's input string with a stored injection string pattern to detect any malicious code.The implementation was carried out using the PHP scripting language and the Apache XAMPP server.The security level of the method was measured using various test cases of SQL injection, cross-site scripting (XSS), and code injection attacks.The results obtained showed that the proposed technique is able to successfully detect and prevent attacks, register an attack record in the database, block the system by its mac address, and also generate a warning message.Thus, the proposed technique turned out to be more effective in detecting and preventing SQL injections and XSS attacks.
| Jurnal | ТАТУ хабарлари |
|---|---|
| Nashr sanasi | 2024-02-14 |
| DOI | 10.61663/241tuitmct2 |
DOI: 10.61663/241tuitmct2 · Maqolaning asl sahifasi · PDF
The paper presents an overview of methods and technologies used to develop mobile applications using augmented reality (AR).The main focus is on spatial methods that allow for the effective integration of virtual…
This study investigates the use of Recursive Feature Elimination (RFE) for feature selection in multi-output classification, particularly with a medical dataset.The classification task requires predicting several…
Explores the concept of partitioning customer-centric social networks into two distinct communities to optimize marketing strategies.It delves into the application of graph algorithms to identify discrete communities…
This article presents a method of constructing a sequence of coordinate functions (solution structures) using the R-function method of V.L. Rvachev (Rvachev Function Method, RFM) to solve numerically the problem of the…
This article studies the use of modeling and algorithms based on 3D fractal geometry for early detection of internal diseases.Fractal models provide an opportunity to clarify the diagnostic process through accurate…
Understanding the subtle interactions between individuals and objects is critical for a variety of applications, including robotics, computer vision, and human-computer interaction.This paper looks at the research…
Robustness to geometric distortions and distribution shifts remains a major challenge in deep learning.Standard data augmentation methods, such as random rotations and translations, improve generalization but often fail…
The article tries to solve the problem of intersection with a plane by constructing their exact geometric dimensions using a new geometric model based on the creation of virtual images of original museum exhibits based…