Skip to content

prepare-npk-installation.sh + delete_npkfile.sh scripts#155

Open
davidmans7 wants to merge 198 commits intoCoalfire-Research:mainfrom
c6fc:main
Open

prepare-npk-installation.sh + delete_npkfile.sh scripts#155
davidmans7 wants to merge 198 commits intoCoalfire-Research:mainfrom
c6fc:main

Conversation

@davidmans7
Copy link
Copy Markdown

Hi,

I have been working last days with your marvelous NPK repository and I've developed some interesting scripts:

  • prepare-npk-installation.sh: As its name states, this script installs and configures all required tools for good NPK operation. (I am stilll working on it).
  • delete_npkfile.sh: Deploying "npk/terraform-selfhost/deploy-selfhost.sh", I treated to delete some uploaded wordlists and I realised that it wasn't possible. So I decided to develop this script by modifying "upload_npkfile.sh" one. I know that there is probably a more elegant way to do this, but the current way works.

Please, take a look at both of them and decide if including them in the current NPK repository would worth.

Thank you a lot for your work and lookig forward to your soon reply.

Kind regards,

davidmans7

AlphaGit and others added 30 commits November 16, 2019 08:44
Added a dockerfile that builds a docker image to use npk. This provides two benefits.

1. If CoalfireLabs decides to publish and maintain the npk image, then users can just run npk by using a single command line in docker.

2. If CoalfireLabs does not publish a docker image, users can still use this dockerfile to build the container themselves.

This prevents everyone from dealing with multiple terraform, python, pip and node versions that do not quite work together.

Pending to be done:

- Add ARGs, ENVs or a startup script (á la MySQL) so that the container can setup the aws credential profile when running and does not need to be a manual process.
- Add ARG, ENVs or a startup script (á la MySQL) so that the container can setup the /npk/terraform/npk-settings.json file and does not need to be a manual process.
- After these are done, we can remove `nano` (or any text editor) being installed, making the image smaller and faster to create.

This change also fixes the error in the `terraform/cognito_iam_roles.tf` template, which basically just had an extra comma. Fixes #49.
Fixed wiki reference
… AlphaGit-docker-release

Pulling AlphaGit's docker work
Capturing AlphaGit's Docker work
📌 Pin AWSCLI to version 2

📌 Use `grep -c` for terraform dependency check
The `-c` flag counts the number of matches. A bit cleaner than `wc -l`
Pin AWSCLI version and update dependency checks
c6fc and others added 30 commits January 9, 2023 13:35
Update Graviton AMI name due to breaking AWS change. Add new Discord.
Fix architecture detection, use parallelcluster AMI
Remove unnecessary IAM actions from users
Bump sonnetry version
docs: Update NPK Official Discord link
Quota Page: Show EC2 Instance Type availability per Region+AZ
Hashcat v7 on Amazon Linux 2023 and new benchmarks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants