Create Telegram bot chatgpt

1. Create bot telegram– Find BotFather on telegram – Choose /newbot and name your bot – Save bot’s address and token 2. Get Chatgpt token– Visit https://platform.openai.com/api-keys and create new api key 3. Create bot.py+ Install module:apt install python3-pippip3 install python-telegram-bot==13.15pip3 install openai==0.28 + bot.pyimport loggingfrom telegram import Updatefrom telegram.ext import Updater, CommandHandler, MessageHandler, Filters,…

Read More

How to completely block an IP with fail2ban

Suppose you’re being scanned by an IP for the SSH service, but there’s a possibility you’re also being attacked by scans for other services. I want to block this IP entirely from all of my services. Do I just need to edit the file: /etc/fail2ban/jail.conf Change option banaction=iptable-allports Save and restart fail2ban service: systemctl restart…

Read More

Zimbra – What is this ?

Zimbra Mail is an email server and web client developed by Zimbra, Inc., which was later acquired by Synacor. It provides email, calendar, contacts, and other collaboration features. Zimbra Mail offers both an open-source version (Zimbra Open Source Edition) and a commercial version (Zimbra Network Edition) tailored for businesses, organizations, and service providers. Overall, Zimbra…

Read More