Skip to content

Commit

Permalink
Merge branch 'main' of github.com:matejsmycka/gophish_setup_client
Browse files Browse the repository at this point in the history
  • Loading branch information
matej smycka committed Apr 14, 2024
2 parents 29b8018 + f547a3b commit eb953fc
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: Build
run: go build -v ./...
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# gophish_setup_client
# Gophish Setup Client

## Introduction
`gophish_setup_client` is a command-line tool designed to set up Gophish without a graphical user interface. This tool facilitates automation and simplifies the Gophish configuration process.

It will set `password_change_required=false` and API key to the one from the CLI argument.

## Prerequisites
- Golang must be installed on your system to build the executable.

## Installation

Clone the repository and build the executable:

```bash
git clone https://github.com/matejsmycka/gophish_setup_client.git
cd gophish_setup_client
go build
chmod +x gophish_setup_client
```

## Usage

Run the tool using the following command:

```bash
./gophish_setup_client -file <path-to-gophish.db> -api_key=<your-api-key>
```
- Replace <path-to-gophish.db> with the actual path to your gophish.db file.
- Replace <your-api-key> with your actual Gophish API key.

Example:

```bash
./gophish_setup_client -file ../Desktop/phishing/gophish/gophish.db -api_key=12345abcde
```

0 comments on commit eb953fc

Please sign in to comment.