Projects STRLCPY flan Commits 22208563
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    README.md
    skipped 49 lines
    50 50  Nmap also allows you to run UDP scans and to scan IPv6 addresses. To add these and other flags to Scan Flan's Nmap command after running `make build` run the container and pass in your Nmap flags like so:
    51 51   
    52 52  ```bash
    53  -$ docker run -v $(pwd)/shared:/shared flan_scan <Nmap-flags>
     53 +$ docker run -v $(CURDIR)/shared:/shared flan_scan <Nmap-flags>
    54 54  ```
    55 55   
    56 56  Pushing Results to the Cloud
    skipped 2 lines
    59 59  Flan Scan currently supports pushing Latex reports and raw XML Nmap output files to a GCS Bucket or to an AWS S3 Bucket. Flan Scan requires 2 environment variables to push results to the cloud. The first is `upload` which takes one of two values `gcp` or `aws`. The second is `bucket` and the value is the name of the S3 or GCS Bucket to upload the results to. To set the environment variables, after running `make build` run the container setting the environment variables like so:
    60 60  ```bash
    61 61  $ docker run --name <container-name> \
    62  - -v $(pwd)/shared:/shared \
     62 + -v $(CURDIR)/shared:/shared \
    63 63   -e upload=<gcp or aws> \
    64 64   -e bucket=<bucket-name> \
    65 65   -e format=<optional, one of: md, html or json> \
    skipped 14 lines
    80 80   
    81 81  ```bash
    82 82  $ docker run --name <container-name> \
    83  - -v $(pwd)/shared:/shared \
     83 + -v $(CURDIR)/shared:/shared \
    84 84   -e upload=gcp \
    85 85   -e bucket=<bucket-name> \
    86 86   -e GOOGLE_APPLICATION_CREDENTIALS=/shared/key.json
    skipped 7 lines
    94 94   
    95 95  ```bash
    96 96  docker run --name <container-name> \
    97  - -v $(pwd)/shared:/shared \
     97 + -v $(CURDIR)/shared:/shared \
    98 98   -e upload=aws \
    99 99   -e bucket=<s3-bucket-name> \
    100 100   -e AWS_ACCESS_KEY_ID=<your-aws-access-key-id> \
    skipped 20 lines
Please wait...
Page is in error, reload to recover