DISCLAIMER: THIS IS FOR EDUCATIONAL USE ONLY. I TAKE NO RESPONSIBILITY FOR MISUSE OF SCAPY AND/OR OTHER FUNCTIONALITY BUILT INTO THIS PROGRAM. YOUR API KEYS ARE YOUR RESPONSIBILITY
This document plans to cover the funcitonality of the discord bot in as much detail as possible.
- OPENAI Davinci-002 functionality
- Scapy ICMP packet crafting for valid IPs and TLDs
- Domain & IP validation for commands
- IP to Geolocation
- Local user account permissions list
- Local chat logging
- Word swap
- Help menu
- Settings menu
- Scan %IP OR VALID TLD% // Crafts ICMP packet through Scapy and prints outcome as OFFLINE or ONLINE
Example "1" returns settings infomation in chat
-
Settings // Displays settings menu
-
Display chat log // Reads chat file and returns file contents in chat
-
Delete chat log // Deletes chat log file
-
Hard reset // Deletes chat log file and clears users.list permissions file
- Call openai using "." operator to feed davinci data - Example commands:
- .Tell me a story
- .Shall I fly via Paris or London?
- .Open the pod bay doors, HAL
- openai setkey %KEY% // Sets openai key
- openai showkey // Displays current openai key
- openai disable // Disables openai functionality
- ipgeo setkey %KEY% // Sets ipgeo key
- ipgeo showkey // Displays current ipgeo key
- ipgeo disable // Disables ipgeo functionality
- fly me to %IP OR VALID TLD% // Uses combination of ipgeo & flight api to fetch closest airport to IP address⋅⋅⋅
- rapidapi setkey %KEY% // Sets rapidapi key
- rapidapi showkey // Displays current rapidapi key
- rapidapi disable // Disables rapidapi functionality
Create a virtual environment
python3 -m venv venv
Install dependencies
pip install -r requirements.txt
Copy .env file - Remember to set your API keys!
cp .env.example .env
Start the application (May need sudo due to scapy)
python3 ./app/start.py