cisagov / kali-packer

This project can be used to create AMIs based on Kali Linux, a penetration testing distribution.
Creative Commons Zero v1.0 Universal
16 stars 6 forks source link

Cobalt Strike license expired #123

Closed jsf9k closed 2 years ago

jsf9k commented 2 years ago

🐛 Summary

The Kali AMI cannot currently be built because the Cobalt Strike license we are using has expired.

To reproduce

Steps to reproduce the behavior:

  1. Attempt to built the Kali AMI using this repo.
  2. Watch it fail like this:
    2022-10-27T19:50:21Z:     amazon-ebs.kali: TASK [cobalt_strike : Extract the download token and download the Cobalt Strike tarball] ***
    2022-10-27T19:50:21Z:     amazon-ebs.kali: fatal: [default]: FAILED! => {"msg": "Unexpected templating type error occurred on (https://download.cobaltstrike.com/downloads/{{ lookup('file', '/tmp/token.html') | regex_search('href=\"/downloads/(.+)/cobaltstrike-dist.zip\"', '\\\\1') | first }}/cobaltstrike-dist.tgz): 'NoneType' object is not iterable"}

Expected behavior

I expect the AMI to build successfully.