Telegram bot for spying cam
Telegram bot for spying cam
now there is telegram,
aplication for chating and have many thing todo with it.
creating custom and bot.
i love this bot, i can spying and create spycam based puppylinux.
using puppylinux slacko latest. git, tmux and jason/jq everithing is there on puppy package.
git clone --recursive https://github.com/topkecleon/telegram-bot-bash
cd telegram-bot-bash
open readme and edit comand,
aplication for chating and have many thing todo with it.
creating custom and bot.
i love this bot, i can spying and create spycam based puppylinux.
using puppylinux slacko latest. git, tmux and jason/jq everithing is there on puppy package.
git clone --recursive https://github.com/topkecleon/telegram-bot-bash
cd telegram-bot-bash
open readme and edit comand,
Last edited by pri on Sat 30 Jul 2016, 01:27, edited 1 time in total.
Learning by Doing
Code: Select all
# git clone --recursive https://github.com/topkecleon/telegram-bot-bash
Cloning into 'telegram-bot-bash'...
error: Problem with the SSL CA cert (path? access rights?) while accessing https://github.com
Do you have this problem?
How do you fix this problem?
modified bash command
thats script is made from bash, and bash can do all of linux command like capturing desktop and capture camera then send it back to telegram who command.
Learning by Doing
litle scrip i made
if you already download, you can find script command.sh
find and modified like i do
capture
find and modified like i do
then made two script capture and printscreen, capture for webcam and print screen for capture desktop.case $MESSAGE in
'/question')
startproc "./question"
;;
'/capture')
startproc "./capture"
;;
'/printscreen')
startproc "./printscreen"
;;
'/info')
send_markdown_message "${CHAT[ID]}" "This is bashbot, the *Telegram* bot written entirely in *bash*."
;;
'/start')
capture
printscreenecho "capture"
avconv -v quiet -f video4linux2 -i /dev/video0 -vframes 1 /tmp/taken.jpeg
echo "tunggu upload"
echo "nu kasep myfilelocationstartshere /tmp/taken.jpeg"
exit
and replace command avconv with ffmpeg. puppy already have ffmpeg inside. this avconv is usefull if you using debian.echo "capture desktop screen"
sleep 5; xwd -root | xwdtopnm | pnmtopng > /tmp/taken2.png
echo "tunggu upload"
echo "ini yg sedang di lakukan myfilelocationstartshere /tmp/taken2.png"
exit
Learning by Doing
Thanks . You are very knowledgeable and capable . avconv works straight off so perhaps no need to change it in Puppy Precise 5.7.1.
I played with the script snippets and indeed got a screen capture so I will move on from that .
I don't know about the message bot as yet but indeed a ".pet" here would be interesting and I don't think it is of much importance where it goes . One would think to keep it in this thread would make sense.
I played with the script snippets and indeed got a screen capture so I will move on from that .
I don't know about the message bot as yet but indeed a ".pet" here would be interesting and I don't think it is of much importance where it goes . One would think to keep it in this thread would make sense.
Re: litle scrip i made
I think a pet makes a lot of sense .
Just chasing this down I have needed to clone and compile
libevent (even though there is one in puppy)
tmux
JSON.sh
and I still cant get it to start the server.
Just chasing this down I have needed to clone and compile
libevent (even though there is one in puppy)
tmux
JSON.sh
and I still cant get it to start the server.
Code: Select all
# ./bashbot.sh start
lost server
Tmux session name
#
Re: litle scrip i made
use slacko like me.april wrote:
and I still cant get it to start the server.
Code: Select all
# ./bashbot.sh start lost server Tmux session name #
using othet pupian will risk changed all todo.
already using tmux?
Learning by Doing