Telegram bot for spying cam

Antivirus, forensics, intrusion detection, cryptography, etc.
Post Reply
Message
Author
User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

Telegram bot for spying cam

#1 Post by pri »

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,
Last edited by pri on Sat 30 Jul 2016, 01:27, edited 1 time in total.
Learning by Doing

april

#2 Post by april »

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
I get this all the time yet I log in etc but it will not work for me.
Do you have this problem?
How do you fix this problem?

april

#3 Post by april »

So it seems like just another chat method

How in particular is it useful for a camera as you state? The Readme does not mention it.
pri wrote: i love this bot, i can spying and create spycam based puppylinux.

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

modified bash command

#4 Post by pri »

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

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

litle scrip i made

#5 Post by pri »

if you already download, you can find script command.sh

find and modified like i do
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')
then made two script capture and printscreen, capture for webcam and print screen for capture desktop.

capture
echo "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
printscreen
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
and replace command avconv with ffmpeg. puppy already have ffmpeg inside. this avconv is usefull if you using debian.
Learning by Doing

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#6 Post by pri »

for moderator, i will not create any pet here, this is not pet section.
Learning by Doing

april

#7 Post by april »

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.

april

Re: litle scrip i made

#8 Post by april »

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.

Code: Select all

# ./bashbot.sh start

lost server
Tmux session name 
# 

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

Re: litle scrip i made

#9 Post by pri »

april wrote:
and I still cant get it to start the server.

Code: Select all

# ./bashbot.sh start

lost server
Tmux session name 
# 
use slacko like me.
using othet pupian will risk changed all todo.
already using tmux?
Learning by Doing

april

#10 Post by april »

Hmm I don't like Slako though

Post Reply