https://github.com/andyg2/blackmamba
https://github.com/andyg2/blackmamba
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andyg2/blackmamba
- Owner: andyg2
- Created: 2023-05-04T06:09:34.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-04T09:04:28.000Z (about 3 years ago)
- Last Synced: 2025-03-03T14:13:22.327Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlackMamba POC
## Reconstructed BlackMamba POC code from fragments found on the internet
Python is not my primary programming language and I don't have a ChatGPT key or shitty MS Teams so it probably contains more than a couple of bugs.
I added a concept of permuting the initial prompt as that just seemed to make sense.
I also modified the main loop to continue generating new code until some keystrokes are logged. This isn't if the computer in unattened as this will probably get the chatGPT api key/account banned. There's a 1 minute delay between retrying the code generation.
Supposedly this can be compiled into an exe with [auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/).