Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pointlessai/chatgpt-for-offensive-security
ChatGPT For Offensive Cybersecurity Training Python Scripts
https://github.com/pointlessai/chatgpt-for-offensive-security
ai chatgpt chatgpt-api training-materials
Last synced: 1 day ago
JSON representation
ChatGPT For Offensive Cybersecurity Training Python Scripts
- Host: GitHub
- URL: https://github.com/pointlessai/chatgpt-for-offensive-security
- Owner: PointlessAI
- Created: 2024-03-30T11:06:03.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-07-10T15:59:58.000Z (7 months ago)
- Last Synced: 2024-07-10T18:59:47.781Z (7 months ago)
- Topics: ai, chatgpt, chatgpt-api, training-materials
- Language: Python
- Homepage: https://pointlessai.com
- Size: 354 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT For Offensive Cybersecurity Training Materials
This project utilizes Python and the OpenAI API to as part of the ChatGPT For Offensive Cybersecurity Training Course through the INFOSEC INSTITUTE. The purpose is to uncover the capabilities of ChatGPT to generate, analyze, and refine content, code, scripts and logs, tailored for cybersecurity professionals.
## License for Training Materials
The training materials in this repository are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). To view a copy of this license, visit [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) or see the [LICENSE-CC-BY](LICENSE-CC-BY) file for details.
## Features
- ChatGPT For Offensive Cybersecurity Training Materials
- Generate offensive cybersecurity scenarios and materials using ChatGPT.
- Customize and enhance content through Python scripts.
- Run the project in a Python virtual environment for isolation and dependency management.## Prerequisites
- Python 3.7 or higher
- An OpenAI API key
- DVWA on Docker
**https://hub.docker.com/r/vulnerables/web-dvwa**
*docker run --rm -it -p 80:80 vulnerables/web-dvwa*
* Best run in Kali## Installation
* First virtual environment:
- python -m venv yourname-venv
- source yourname-venv/bin/activate
* Then get repo:
- Clone the Repository
- Set API keys either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
```python
# /class/chatgpt_func.py
_ = load_dotenv(find_dotenv())
self.client = OpenAI(
api_key=os.environ.get("OPENAI_API_KEY"),
)
# Optional
self.githubapi_key = os.environ.get("GITHUB_API_KEY")
self.google_api_key = os.environ.get("google_api_key")
self.google_cse_id = os.environ.get("google_cse_id")
```
- pip install -r requirements.txt