sql-injections

0.0.15 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i sql-injections

Weekly Downloads

0

Version

0.0.15

License

MIT

Unpacked Size

1.74 kB

Total Files

3

Last publish

Collaborators

  • dreamer98