A script to create a backup of the files in current directory and sending it to your telegram bot.
./installer.sh
Provide your telegram_apikey and telegram_chat_id.
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.
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 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