File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ This python script will scan all the Floating IPs associated with your IBM Cloud
9
9
The first step is to clone the respository and change in to our port scan directory:
10
10
11
11
``` shell
12
- git clone https://github.com/cloud-design-dev/dts-ce-demo .git
13
- cd dts-ce-demo /jobs/account-port-scan
12
+ git clone https://github.com/cloud-design-dev/ibmcloud-code-engine-demos .git
13
+ cd ibmcloud-code-engine-demos /jobs/account-port-scan
14
14
```
15
15
16
16
### Set your IBM Cloud API key
@@ -24,13 +24,17 @@ export IBMCLOUD_API_KEY="YOUR_IBMCLOUD_API_KEY"
24
24
Install the required python SDKs to interact with the classic and vpc resources.
25
25
26
26
``` shell
27
+ python3 -m venv .venv
28
+
29
+ source .venv/bin/activate
30
+
27
31
pip install -r requirements
28
32
```
29
33
30
34
### Run script
31
35
32
36
With the variables set and modules installed, you can run the script:
33
37
34
- ```
35
- python app .py
38
+ ``` shell
39
+ python port-scan-report .py
36
40
```
You can’t perform that action at this time.
0 commit comments