/hackGPT

I leverage OpenAI and ChatGPT to do hackerish things

Primary LanguageJupyter Notebook

hackGPT

Automate CVE exploit creation and CyberDefense protections: (results https://github.com/NoDataFound/PwnAI/tree/main/output)

Screenshot 2022-12-14 at 8 08 05 AM

Ask ChatGPT to print its own source

Screenshot 2022-12-16 at 4 46 35 PM

Screenshot 2022-12-04 at 6 27 59 PM

Screenshot 2022-12-04 at 6 32 40 PM

Screen.Recording.2022-12-06.at.4.17.45.PM.mov

𝗜𝗻𝘀𝘁𝗮𝗹𝗹𝗮𝘁𝗶𝗼𝗻

Clone this repo

git clone https://github.com/NoDataFound/PwnAI.git

Install dependancies

python3 -m pip install -r requirements.txt

Review Input and Bulk Input samples

head -n 10 input/malware/malware_sample && head -n 10 input/sample_sources

# Exploit Title: TP-Link Tapo c200 1.1.15 - Remote Code Execution (RCE)
# Date: 02/11/2022
# Exploit Author: hacefresko
# Vendor Homepage: https://www.tp-link.com/en/home-networking/cloud-camera/tapo-c200/
# Version: 1.1.15 and below
# Tested on: 1.1.11, 1.1.14 and 1.1.15
# CVE : CVE-2021-4045

# Write up of the vulnerability: https://www.hacefresko.com/posts/tp-link-tapo-c200-unauthenticated-rce

https://github.com/rapid7/metasploit-payloads/blob/master/python/meterpreter/meterpreter.py
https://github.com/rapid7/metasploit-payloads/blob/master/powershell/MSF.Powershell/Meterpreter/Core.cs

Open Jupyter Notebook Install Juypter Notebook if needed - use pip or download binaries here: https://jupyter.org/

pip3 install jupyter notebook

install (pictured) https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter-renderers

𝖫𝖺𝗎𝗇𝖼𝗁 𝖭𝗈𝗍𝖾𝖻𝗈𝗈𝗄 𝘄𝗶𝘁𝗵 𝗩𝗦𝗰𝗼𝗱𝗲

Configure .env with your OpenAI API key(notebook will help you)

Use Python

set API key on launch Screenshot 2022-12-03 at 1 23 38 PM

single searches

python3 PwnAI.py

Screenshot 2022-12-04 at 6 26 38 PM

Bulk searches

python3 PwnAI_bulk.py

Screenshot 2022-12-04 at 6 27 59 PM