Command line utility tweaked to deliver bash-one liners to your question, based on the GPT-3 model.
Basic character substitution in your shell:
almroot@x:~(main)$ ai replace comma with linebreak
tr ',' '\n'
SysOps help for your ansible needs:
almroot@x:~(main)$ ai deploy with ansible to all hosts except A
ansible-playbook site.yml --limit '!A'
Internet-wide recon:
almroot@x:~(main)$ ai find exposed ssh on the internet using masscan
sudo masscan 0.0.0.0/0 -p22 --rate=1000
Bug bounty hunting and pentesting:
almroot@x:~(main)$ ai download common wordlists used for pentesting and bug bounty hunting
git clone https://github.com/danielmiessler/SecLists
- Clone the repository like so
git clone git@github.com:almroot/ai.py.git
- You must have an OpenAI account to get access to GPT-3
- Sign in and grab your API key
- In order to use the script, set the environment variable
OPENAI_API_KEY
to the key
The script currently supports Python 3.
The script depends on the openai
and numpy
python modules.
These dependencies can be installed using the requirements file:
almroot@x:~(main)$ ai install python dependencies
pip install -r requirements.txt