Commit Graph

1346 Commits

Author SHA1 Message Date
Daniil Gentili
a7a495561e Fixed security issues
Added check in send_file function to prevent user from requesting any file on the server and added a third parameter check to send_message.
If send_message is called with text as third param it will send the message given as is, without checking for keyboards, files etc...
One could simply do a myfilelocationstartshere $PWD/bashbot.sh and get the whole bot with the token.
2016-03-23 15:56:22 +01:00
Drew
652be0893f Merge pull request #8 from danog/patch-2
Fixed bugs and added option to source functions from other script
2016-03-22 09:00:55 -04:00
Drew
7b38ed5389 Merge pull request #7 from iicc1/patch-1
Added Markdown support for telegram-bot-bash
2016-03-22 09:00:22 -04:00
Daniil Gentili
994bfa3100 Update README.md 2016-03-20 23:40:00 +01:00
Daniil Gentili
a7801823ce Fixed last bugs 2016-03-20 22:34:55 +01:00
Ignacio Iglesias
4d2a6a6de2 Separated markdown sendmessage 2016-03-19 02:08:25 +01:00
Ignacio Iglesias
76e96c05a1 Added Markdown support for telegram-bot-bash 2016-03-18 01:34:05 +01:00
Daniil Gentili
79a7a7ee4a Update question 2016-03-06 21:30:25 +01:00
Daniil Gentili
6e3e156f42 Fixed other bugs 2016-01-25 13:37:05 +01:00
Daniil Gentili
931cf51a7c Update bashbot.sh 2016-01-22 19:03:12 +01:00
Daniil Gentili
c1456a3119 Update bashbot.sh 2016-01-22 19:01:24 +01:00
Daniil Gentili
471819f934 Update README.md 2016-01-22 18:54:08 +01:00
Daniil Gentili
905d68a9f3 FIxing bugs 2016-01-22 18:52:37 +01:00
Daniil Gentili
43c468e336 Fix loop 2016-01-22 16:47:58 +01:00
Daniil Gentili
6eca34758f fixed some more bugs 2016-01-22 16:06:41 +01:00
Drew
fce86d0884 Merge pull request #5 from danog/patch-1
Added documentation
2016-01-19 15:01:09 -05:00
Daniil Gentili
2036217f74 Let script read urls 2016-01-19 20:59:15 +01:00
Daniil Gentili
d3c59da613 Added documentation 2016-01-19 20:53:45 +01:00
Drew
bd86cece58 Merge pull request #4 from danog/patch-1
Added remaining api methods (video, audio, location, contact) and fixed tmux
2016-01-19 14:37:32 -05:00
Daniil Gentili
89fdfdf14b Removed token and added checks 2016-01-19 20:32:29 +01:00
Daniil Gentili
329b248987 Finished! 2016-01-19 20:27:09 +01:00
Daniil Gentili
54c7186848 Update bashbot.sh 2016-01-19 14:17:06 +01:00
danogentili
501b757ac2 Nearly done 2016-01-17 17:46:24 +01:00
danogentili
bd4a9cdae4 Adding missing telegram methods... 2016-01-06 17:11:56 +01:00
Daniil Gentili
03be1530cb Fixed newline 2016-01-06 14:05:39 +01:00
Daniil Gentili
2ee0b52af3 Added smore instructions 2016-01-06 14:04:24 +01:00
Drew
d5331eb4eb Merge pull request #3 from danog/interactive
Interactive chat support, bugs fixed, added installation instructions to readme, added support for custom keyboards, made curl quiet
2016-01-05 18:34:31 -05:00
danogentili
c5ef39b9f3 Added option to download photos 2016-01-05 18:26:27 +01:00
danogentili
641c55628d Updated description and added installation instructions, fixed a few typos and bugs. 2016-01-05 17:54:34 +01:00
Daniil Gentili
976a20a069 Remove useless code 2016-01-05 17:15:14 +01:00
Daniil Gentili
c27d708036 Added list of commands 2016-01-05 17:14:47 +01:00
Daniil Gentili
c822cfb5d9 Added description 2016-01-05 17:05:26 +01:00
Daniil Gentili
fb0c473c90 Fixed the bugs and switched to tmux 2016-01-05 17:01:28 +01:00
Daniil Gentili
7ef846b8c0 Added custom keyboard function 2016-01-03 02:14:07 +01:00
Daniil Gentili
b541042e79 done! 2016-01-02 21:51:45 +01:00
Daniil Gentili
46031627b7 Make it multitask again 2016-01-02 20:46:34 +01:00
Daniil Gentili
c60aabb9ee Starting to work on interactive commands 2016-01-02 20:35:15 +01:00
Drew
c6c524b2c8 Merge pull request #2 from bignerd95/multitasking-branch
Multitasking branch
2015-12-26 13:06:24 -05:00
BigNerd95
723e479efa Merge branch 'master' into multitasking-branch 2015-12-26 03:08:43 +01:00
BigNerd95
060377527a Merge pull request #1 from bignerd95/multitasking-branch
Multitasking branch
2015-12-26 03:07:40 +01:00
BigNerd95
ff80d139e4 added contributor 2015-12-26 02:58:54 +01:00
BigNerd95
fb9c9923a9 multitasking
added process_client to manage multi client at same time
fixed function to work with nohup
2015-12-26 02:47:10 +01:00
Drew
7f3e717f77 Merge pull request #1 from JuanPotato/patch-1
My code looks even less hackish here.
2015-11-24 22:13:11 -05:00
Juan Potato
120866a805 send_photo 2015-11-24 22:07:39 -05:00
dupie
ad5796dd08 improvements 2015-07-10 03:32:34 -04:00
dupie
16f601a2d3 initial commie bastard 2015-07-10 01:43:08 -04:00