0.0.15 • Published 5 years ago

sql-injections v0.0.15

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

SQL-INJECTIONS

npm version

It is a small frontend library that seeks to find in the fields of the forms some sql injection

EXAMPLE

If any value is detected with injection sql it will return true, otherwise it will return false

RESULT


result of the following line Import project with react , vue ,angular

import sqlInjection from 'sql-injections'	

Import project with node

const sqlInjection require sqlInjection	

Example


let text = "SELECT * FROM "
 let result = sqlInjection.hasSql(text)
console.log(result)

RESULT


true

Second example


let text = "Your name "
 let result = sqlInjection.hasSql(text)
console.log(result)

RESULT


false

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago