Tired of scam calls? Fight back with Bait CLI! This powerful command-line tool lets you automatically answer and engage with scammers using AI-driven conversations. Turn the tables on them and waste their time, not yours.
- 📞 Automated VoIP Calls: Connects to any SIP-based VoIP provider (like VoIP.ms) to make and receive calls.
- 🤖 Realistic AI Conversations: Uses advanced conversational AI to keep scammers on the line.
- 🎙️ Call Recording & Transcription: Automatically records calls and generates transcripts for later review.
- 🔒 Secure & Configurable: Manage your credentials securely using environment variables or a local config file.
- 📝 Detailed Logging: In-depth logs with adjustable verbosity levels for easy debugging.
- DRY-RUN MODE FOR SAFE TESTING
Clone the repository and install the required dependencies:
git clone https://github.com/your-repo/bait-cli.git
cd bait_cli
pip install -r requirements.txtSet up your VoIP credentials. You can do this interactively:
python main.py config --set-voipOr by setting environment variables:
export VOIP_USERNAME="your_username"
export VOIP_PASSWORD="your_password"
export VOIP_SERVER="sip.voip.ms"Now you're ready to start scambaiting. Run the call command with the target phone number:
python main.py call +1234567890For a safe test without making a real call, use the --dry-run flag:
python main.py call +1234567890 --dry-run --verbosePlace a VoIP call to a target number.
| Option | Shorthand | Description |
|---|---|---|
--voip-username |
-u |
VoIP provider username |
--voip-password |
-p |
VoIP provider password |
--voip-server |
-s |
VoIP server address |
--config |
-c |
Path to a custom configuration file |
--verbose |
-v |
Enable detailed, verbose logging |
--log-file |
-l |
Specify a file to write logs to |
--dry-run |
Simulate a call without connecting to VoIP |
Manage your bot's configuration.
| Option | Description |
|---|---|
--show |
Display the current configuration |
--set-voip |
Interactively set VoIP provider credentials |
Check the operational status and health of the bot.
View and manage logs.
| Option | Shorthand | Description |
|---|---|---|
--follow |
-f |
Tail the logs and follow new output in real-time |
--lines |
-n |
Number of recent log lines to display (default: 50) |
Contributions are welcome! Whether you want to fix a bug, add a feature, or improve the documentation, we'd love your help. Please check out our contributing guidelines to get started.
This project is licensed under the MIT License. See the LICENSE file for details.
