Skip to content

This script is written to provide the support for back-up of your data and sending it to telegram bot.

Notifications You must be signed in to change notification settings

abhiunix/backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

backup everything using your telegram bot.

A script to create a backup of the files in current directory and sending it to your telegram bot.

Installation:

./installer.sh

Provide your telegram_apikey and telegram_chat_id.

To get your own telegram_apikey & telegram_chat_id:

Get your telegram_apikey:

Open Telegram and search for @BotFather, send him a “/start” message or click on "https://t.me/BotFather".

Now Send another message “/newbot” then follow the instructions to setup a name and a username.

You will get your token to access the HTTP API, this HTTP API token is your bot_token.

Get your telegram_chat_id:

Now Open Telegram and search for @chat_id_echo_bot, send him a “/start” message or click on "https://t.me/chat_id_echo_bot" to get your telegram_chat_id .

Usage:

Usage of backup
Basic: Go to any desired directory and enter `backup`. You will get backup of your current directory on your telegram bot.
  
  $ backup

  $ crtsh -d abhiunix.in | tee abhiunix.subdmains.txt ; backup

  $ sqlmap -u http://testphp.vulnweb.com/artists.php?artist=2 --dbs --banner --batch | tee output.txt ; backup

Demo:

About

This script is written to provide the support for back-up of your data and sending it to telegram bot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published