@corellium/corellium-cli 1.0.1 → 1.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.
- package/README.md +15 -18
- package/package.json +1 -1
package/README.md
CHANGED
@@ -14,23 +14,20 @@ npm install -g @corellium/cli
|
|
14
14
|
2. Install dependencies: `npm install`
|
15
15
|
3. Link with `npm link`
|
16
16
|
|
17
|
-
*Note*: if you are running it locally create `.env` file and put the
|
17
|
+
*Note*: if you are running it locally create `.env` file and put the following line there `NODE_TLS_REJECT_UNAUTHORIZED=0`
|
18
18
|
|
19
|
-
##
|
20
|
-
|
21
|
-
```
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
--
|
28
|
-
|
29
|
-
--
|
30
|
-
--
|
31
|
-
|
32
|
-
|
33
|
-
--customer-name Customer name. Use company name, unless customer is an individual.
|
34
|
-
--enterprise-domain Enterprise Domain name [default: ""]
|
35
|
-
--trial-duration Trial duration. Default 7 days [number] [default: 7]
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```bash
|
22
|
+
# Enter your details here first
|
23
|
+
$projectId="....."
|
24
|
+
$apiToken="......"
|
25
|
+
|
26
|
+
# Let there be virtual
|
27
|
+
corellium login --apitoken $apiToken --endpoint https://app.corellium.com
|
28
|
+
instanceId=$(corellium instance create iphone6 12.5.6 $projectId true)
|
29
|
+
corellium agent apps --project $projectId --instance $instanceId
|
30
|
+
corellium agent files --project $projectId --instance $instanceId
|
31
|
+
corellium instance stop $instanceId true
|
32
|
+
corellium instance delete $instanceId
|
36
33
|
```
|