update to ChatGPT API

This commit is contained in:
wunderwuzzi23
2023-03-02 22:33:58 -08:00
parent 9e65494158
commit 486673f84b
5 changed files with 75 additions and 32 deletions
+14 -6
View File
@@ -6,12 +6,13 @@ cd yolo-ai-cmdbot
pip install -r requirements.txt
chmod +x yolo.py
alias yolo=$(pwd)/yolo.py
#source launch.sh
```
# Windows
You can use: `pyinstaller yolo.py --onefile` to get a single `yolo.exe` to run.
Windows is less tested, but it does work.
Windows is less tested, it does work and will use PowerShell.
# OpenAI API Key configuration
@@ -23,7 +24,7 @@ There are two ways to configure the key:
Here are a couple of examples on how this utility can be used.
**WARNING**: By default the command that comes back from GPT-3 will be immediatly executed (yolo!).
**WARNING**: By default the command that comes back from ChatGPT will be immediatly executed (yolo!).
If you want to inspect the command that is executed, add the `-a` argument, e.g `yolo -a delete the file test.txt`.
@@ -32,17 +33,24 @@ More examples:
```
yolo whats the time?
yolo whats the time in UTC
yolo is there an ssh-agent process running
yolo whats the date and time in Vienna Austria
yolo show me some unicode characters
yolo what is my user name and what's my machine name?
yolo is there a nano process running
yolo download the homepage of ycombinator.com and store it in index.html
yolo find all unique urls in index.html
yolo create a file named test.txt and write my user name into it
yolo print the contents of the test.txt file
yolo -a delete the test.txt file
yolo whats the current price of Bitcoin in USD
yolo whats the current price of Bitcoin in USD. Extract the price only
yolo look at the ssh logs to see if any suspicious logons accured
yolo is the user hacker logged in right now?
yolo look at the ssh logs and show me all recent logins
yolo is the user hacker logged on right now?
yolo do i have a firewall running?
yolo create a hostnames.txt file and add 10 typical hostnames based on planet names to it
yolo write a new bash script file called scan.sh, with the contents to iterate over hostnames.txt and invokes a default nmap scan on each host. Make it over multiple lines with comments and annotiations.
yolo create a hostnames.txt file and add 10 typical hostnames based on planet names to it, line by line, then show me the contents
yolo write a new bash script file called scan.sh, with the contents to iterate over hostnames.txt and invokes a default nmap scan on each host. then show me the file.
yolo write a new bash script file called scan.sh, with the contents to iterate over hostnames.txt and invokes a default nmap scan on each host. then show me the file. Make it over multiple lines with comments and annotiations.
```
# License