npm.io
1.0.2 • Published 3 years ago

sqlia_detect

Licence
ISC
Version
1.0.2
Deps
0
Size
143 kB
Vulns
0
Weekly
0

SQLIA_detection


description: It will detect malicious text in input file. Based on pattern matching and trimming using z-algorithm.


const sqlia_detect = require('sqlia_detect');

const result = sqlia_detect(`usual password`);
//Here result will be false

result = sqlia_detect(`anything" or "x"="x`) 
//Here result will be true, as the input is malicious