Skip to content

Commit 922fc3a

Browse files
committed
feat: update information
1 parent cc74c9e commit 922fc3a

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- markdownlint-disable MD033 MD041 -->
2-
<h2>VPS - Docker for pentest</h2>
2+
<h2>Offensive Docker VPS</h2>
33

4-
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.
4+
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.
55

66
:tada::tada:**Digital Ocean Bonus**:tada::tada:
77
You can sign up with my referral link <https://m.do.co/c/0d2d40f6a8a1> and get $100 free credit to try it out!
@@ -39,7 +39,7 @@ You can sign up with my referral link <https://m.do.co/c/0d2d40f6a8a1> and get $
3939
#### 1.- Clone the repository
4040

4141
```console
42-
git clone --depth 1 https://github.com/aaaguirrep/vps-docker-for-pentest.git vps
42+
git clone --depth 1 https://github.com/aaaguirrep/offensive-docker-vps.git vps
4343
cd vps
4444
```
4545

@@ -55,7 +55,7 @@ cd vps
5555

5656
- Create a new project.
5757
- Create service account with "Compute Admin" role and download a key in json format in credentials folder.
58-
- Rename the key to pentest.json
58+
- Rename the key to gcp.json
5959
- Enable "Compute Engine API" for the project.
6060

6161
##### For Digital Ocean
@@ -64,7 +64,7 @@ cd vps
6464

6565
##### SSH Private and Public keys
6666

67-
- Inside credentials folder run `ssh-keygen -t rsa -f pentest` in the terminal. Empty passphrase is ok.
67+
- Inside credentials folder run `ssh-keygen -t rsa -f offensive` in the terminal. Empty passphrase is ok.
6868
- It creates two files: private and public key.
6969

7070
#### 3.- Terraform
@@ -142,7 +142,7 @@ ok: [x.x.x.x] => {
142142

143143
```Console
144144
# Access to VPS
145-
$ ssh pentest@x.x.x.x -i ../credentials/pentest
145+
$ ssh offensive@x.x.x.x -i ../credentials/offensive
146146
```
147147

148148
**Demo**
@@ -175,7 +175,7 @@ Thanks for your donations, are always appreciated.
175175

176176
### :chart_with_upwards_trend: Stargazers over time
177177

178-
[![Stargazers over time](https://starchart.cc/aaaguirrep/vps-docker-for-pentest.svg)](https://starchart.cc/aaaguirrep/vps-docker-for-pentest)
178+
[![Stargazers over time](https://starchart.cc/aaaguirrep/offensive-docker-vps.svg)](https://starchart.cc/aaaguirrep/offensive-docker-vps)
179179

180180
### License
181181

ansible/ansible.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[defaults]
22
inventory = hosts.yaml
3-
private_key_file = ../credentials/pentest
4-
remote_user = pentest
3+
private_key_file = ../credentials/offensive
4+
remote_user = offensive
55
host_key_checking = False
66
roles_path = ./roles

ansible/vars/default.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
docker_image: aaaguirrep/pentest
3-
username: pentest
2+
docker_image: aaaguirrep/offensive-docker
3+
username: offensive

digital-ocean/server.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "random_id" "instance_id" {
77
resource "digitalocean_droplet" "vm_instance" {
88
count = var.vps_number
99
image = "ubuntu-18-04-x64"
10-
name = "pentest-vm-${random_id.instance_id[count.index].hex}"
10+
name = "offensive-docker-vm-${random_id.instance_id[count.index].hex}"
1111
region = var.region
1212
size = "s-2vcpu-4gb"
1313
vpc_uuid = digitalocean_vpc.vpc_network.id

digital-ocean/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variable "ssh_public_key" {
22
description = "Public key"
33
type = string
4-
default = "../credentials/pentest.pub"
4+
default = "../credentials/offensive.pub"
55
}
66

77
variable "do_token" {
@@ -16,7 +16,7 @@ variable "region" {
1616
variable "username" {
1717
description = "Username"
1818
type = string
19-
default = "pentest"
19+
default = "offensive"
2020
}
2121

2222
variable "vps_number" {

gcp/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ terraform {
99

1010
// Configure the Google Cloud provider
1111
provider "google" {
12-
credentials = file("../credentials/pentest.json")
12+
credentials = file("../credentials/gcp.json")
1313
project = "project-id"
1414
region = "us-central1"
1515
}

gcp/server.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "random_id" "instance_id" {
77
// A single Compute Engine instance
88
resource "google_compute_instance" "vm_instance" {
99
count = var.vps_number
10-
name = "pentest-vm-${random_id.instance_id[count.index].hex}"
10+
name = "offensive-docker-vm-${random_id.instance_id[count.index].hex}"
1111
machine_type = "n1-standard-1"
1212
zone = "us-central1-a"
1313

gcp/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
variable "ssh_public_key" {
22
description = "Public key"
33
type = string
4-
default = "../credentials/pentest.pub"
4+
default = "../credentials/offensive.pub"
55
}
66

77
variable "username" {
88
description = "Username"
99
type = string
10-
default = "pentest"
10+
default = "offensive"
1111
}
1212

1313
variable "vps_number" {

0 commit comments

Comments
 (0)