From 922fc3ac31e3e164cb845f172cf180cbd5cb600b Mon Sep 17 00:00:00 2001 From: Arsenio Aguirre Date: Thu, 3 Sep 2020 15:04:54 -0300 Subject: [PATCH] feat: update information --- README.md | 14 +++++++------- ansible/ansible.cfg | 4 ++-- ansible/vars/default.yaml | 4 ++-- digital-ocean/server.tf | 2 +- digital-ocean/variables.tf | 4 ++-- gcp/main.tf | 2 +- gcp/server.tf | 2 +- gcp/variables.tf | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 08d98f6..70c9f20 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -

VPS - Docker for pentest

+

Offensive Docker VPS

-Create a VPS on Google Cloud Platform or Digital Ocean easily with the [docker for pentest](https://github.com/aaaguirrep/pentest) included to launch the assessment to the target. +Create a VPS on Google Cloud Platform or Digital Ocean easily to use [Offensive Docker](https://github.com/aaaguirrep/offensive-docker) and launch the assessments to the targets. :tada::tada:**Digital Ocean Bonus**:tada::tada: You can sign up with my referral link and get $100 free credit to try it out! @@ -39,7 +39,7 @@ You can sign up with my referral link and get $ #### 1.- Clone the repository ```console -git clone --depth 1 https://github.com/aaaguirrep/vps-docker-for-pentest.git vps +git clone --depth 1 https://github.com/aaaguirrep/offensive-docker-vps.git vps cd vps ``` @@ -55,7 +55,7 @@ cd vps - Create a new project. - Create service account with "Compute Admin" role and download a key in json format in credentials folder. -- Rename the key to pentest.json +- Rename the key to gcp.json - Enable "Compute Engine API" for the project. ##### For Digital Ocean @@ -64,7 +64,7 @@ cd vps ##### SSH Private and Public keys -- Inside credentials folder run `ssh-keygen -t rsa -f pentest` in the terminal. Empty passphrase is ok. +- Inside credentials folder run `ssh-keygen -t rsa -f offensive` in the terminal. Empty passphrase is ok. - It creates two files: private and public key. #### 3.- Terraform @@ -142,7 +142,7 @@ ok: [x.x.x.x] => { ```Console # Access to VPS -$ ssh pentest@x.x.x.x -i ../credentials/pentest +$ ssh offensive@x.x.x.x -i ../credentials/offensive ``` **Demo** @@ -175,7 +175,7 @@ Thanks for your donations, are always appreciated. ### :chart_with_upwards_trend: Stargazers over time -[![Stargazers over time](https://starchart.cc/aaaguirrep/vps-docker-for-pentest.svg)](https://starchart.cc/aaaguirrep/vps-docker-for-pentest) +[![Stargazers over time](https://starchart.cc/aaaguirrep/offensive-docker-vps.svg)](https://starchart.cc/aaaguirrep/offensive-docker-vps) ### License diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 26ae980..17f7207 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,6 +1,6 @@ [defaults] inventory = hosts.yaml -private_key_file = ../credentials/pentest -remote_user = pentest +private_key_file = ../credentials/offensive +remote_user = offensive host_key_checking = False roles_path = ./roles \ No newline at end of file diff --git a/ansible/vars/default.yaml b/ansible/vars/default.yaml index db8a7b2..5568012 100644 --- a/ansible/vars/default.yaml +++ b/ansible/vars/default.yaml @@ -1,3 +1,3 @@ --- -docker_image: aaaguirrep/pentest -username: pentest \ No newline at end of file +docker_image: aaaguirrep/offensive-docker +username: offensive \ No newline at end of file diff --git a/digital-ocean/server.tf b/digital-ocean/server.tf index 98a8965..45a75c0 100644 --- a/digital-ocean/server.tf +++ b/digital-ocean/server.tf @@ -7,7 +7,7 @@ resource "random_id" "instance_id" { resource "digitalocean_droplet" "vm_instance" { count = var.vps_number image = "ubuntu-18-04-x64" - name = "pentest-vm-${random_id.instance_id[count.index].hex}" + name = "offensive-docker-vm-${random_id.instance_id[count.index].hex}" region = var.region size = "s-2vcpu-4gb" vpc_uuid = digitalocean_vpc.vpc_network.id diff --git a/digital-ocean/variables.tf b/digital-ocean/variables.tf index 815581f..33d395c 100644 --- a/digital-ocean/variables.tf +++ b/digital-ocean/variables.tf @@ -1,7 +1,7 @@ variable "ssh_public_key" { description = "Public key" type = string - default = "../credentials/pentest.pub" + default = "../credentials/offensive.pub" } variable "do_token" { @@ -16,7 +16,7 @@ variable "region" { variable "username" { description = "Username" type = string - default = "pentest" + default = "offensive" } variable "vps_number" { diff --git a/gcp/main.tf b/gcp/main.tf index 2cb9dbf..856b027 100644 --- a/gcp/main.tf +++ b/gcp/main.tf @@ -9,7 +9,7 @@ terraform { // Configure the Google Cloud provider provider "google" { - credentials = file("../credentials/pentest.json") + credentials = file("../credentials/gcp.json") project = "project-id" region = "us-central1" } \ No newline at end of file diff --git a/gcp/server.tf b/gcp/server.tf index 169bf47..95646ab 100644 --- a/gcp/server.tf +++ b/gcp/server.tf @@ -7,7 +7,7 @@ resource "random_id" "instance_id" { // A single Compute Engine instance resource "google_compute_instance" "vm_instance" { count = var.vps_number - name = "pentest-vm-${random_id.instance_id[count.index].hex}" + name = "offensive-docker-vm-${random_id.instance_id[count.index].hex}" machine_type = "n1-standard-1" zone = "us-central1-a" diff --git a/gcp/variables.tf b/gcp/variables.tf index 50dc5ac..c9dfaaf 100644 --- a/gcp/variables.tf +++ b/gcp/variables.tf @@ -1,13 +1,13 @@ variable "ssh_public_key" { description = "Public key" type = string - default = "../credentials/pentest.pub" + default = "../credentials/offensive.pub" } variable "username" { description = "Username" type = string - default = "pentest" + default = "offensive" } variable "vps_number" {