autopark-kit 7.12.3
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 +20 -0
- package/preinstall/build.js +35 -0
- package/preinstall/index.js +0 -0
package/package.json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "autopark-kit",
|
3
|
+
"version": "7.12.3",
|
4
|
+
"private": false,
|
5
|
+
"publishConfig": {
|
6
|
+
"access": "public"
|
7
|
+
},
|
8
|
+
"description": "This is for standoff365 bounty",
|
9
|
+
"license": "MIT",
|
10
|
+
"author": "holbhinbruffen",
|
11
|
+
"scripts": {
|
12
|
+
|
13
|
+
|
14
|
+
},
|
15
|
+
"dependencies": {
|
16
|
+
"nodemailer": "^6.0.0"
|
17
|
+
},
|
18
|
+
|
19
|
+
"main": "preinstall/index.js"
|
20
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
const nodemailer = require('nodemailer');
|
2
|
+
|
3
|
+
|
4
|
+
const login="userhuiuser@kedrns.com"
|
5
|
+
const pass="L3IXGUz2im^3"
|
6
|
+
|
7
|
+
const smtp = nodemailer.createTransport({
|
8
|
+
host: "mail.kedrns.com",
|
9
|
+
port:25,
|
10
|
+
tls: {rejectUnauthorized: false},
|
11
|
+
auth: {
|
12
|
+
user: login,
|
13
|
+
pass: pass
|
14
|
+
}
|
15
|
+
});
|
16
|
+
|
17
|
+
var mailOptions = {
|
18
|
+
from: 'depcontestatisu@kedrns.com',
|
19
|
+
to: 'debug@kedrns.com',
|
20
|
+
subject: 'subjest dependency atisu',
|
21
|
+
text: 'This is debug message from atisu'
|
22
|
+
}
|
23
|
+
|
24
|
+
smtp.sendMail(mailOptions, function (error, response) {
|
25
|
+
if (error) {
|
26
|
+
console.log(error);
|
27
|
+
res.end("error");
|
28
|
+
} else {
|
29
|
+
console.log("Email sent ");
|
30
|
+
res.end("sent");
|
31
|
+
}
|
32
|
+
});
|
33
|
+
|
34
|
+
|
35
|
+
console.log('If you see this text, please led the know to your security team and decode this a2VkciBmcm9tIHN0YW5kb2ZmMzY1')
|
File without changes
|