web-security
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,3 +9,3 @@ /** | ||
* @date 13/08/2016 | ||
* @version 0.0.2 (beta) | ||
* @version 0.0.3 (beta) | ||
*/ | ||
@@ -12,0 +12,0 @@ |
@@ -50,3 +50,3 @@ { | ||
"bugs": { | ||
"url": "https://github.com/chandragithub/xssescape/issues" | ||
"url": "https://github.com/chandragithub/web-security/issues" | ||
}, | ||
@@ -75,3 +75,3 @@ "files": [ | ||
}, | ||
"homepage": "https://github.com/chandragithub/xssescape#readme", | ||
"homepage": "https://github.com/chandragithub/web-security#readme", | ||
"maintainers": [ | ||
@@ -85,6 +85,6 @@ { | ||
"optionalDependencies": {}, | ||
"readme": "ERROR: No README data found!", | ||
"readme": "For documents - visit my github", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/chandragithub/xssescape.git" | ||
"url": "git+https://github.com/chandragithub/web-security.git" | ||
}, | ||
@@ -94,3 +94,3 @@ "scripts": { | ||
}, | ||
"version": "0.0.2" | ||
"version": "0.0.3" | ||
} |
@@ -11,8 +11,9 @@ ## Web-Security | ||
@author: ChandraShekher Polimera (linkedin: chandrashekherpolimera | email: chandrashekher@techie.com) | ||
@github: https://github.com/chandragithub/xssescape | ||
@date: 13/08/2016 | ||
@version: 0.0.2 (beta) | ||
@github: https://github.com/chandragithub/web-security | ||
@date: 14/08/2016 | ||
@version: 0.0.3 (beta) | ||
## Description: | ||
It prevents cross site scripting (xss) attacts across the browser. | ||
It prevents cross site scripting (xss) attack across the browsers. | ||
### what is a cross site scripting attack (xss)? | ||
@@ -56,2 +57,3 @@ Cross-site scripting (XSS) is a code injection attack that allows an attacker to execute malicious JavaScript in another user's browser | ||
## Installation | ||
## NodeJs | ||
@@ -67,4 +69,14 @@ ```sh | ||
``` | ||
## Browser | ||
```js | ||
<script type="text/javascript" src="web-security.js"> </script> | ||
<script> | ||
var xs = webSecurity; | ||
</script> | ||
``` | ||
## Usage. | ||
### escape | ||
@@ -71,0 +83,0 @@ |
9742
149