I need help with a script to grab webcam image

Status
Not open for further replies.

cotufa-ssdd

Active Member
387
2011
82
0
Hello, any help is greatly apreciated!

Basically I want my own laptop theft defence mechanism. Big words I know.

What I want to do is have a scheduled task to run a browser where the homepage is predetermined to one that I create, whose only function is to access my webcam, snap an image, and save it on the hosting site, or mail to me, in hope of snaping an image of whoever stole my laptop, if it where to happen!

Anyone have a script that can help me with this? Or guide me to the right place...?

Thanks!
 
14 comments
What he is after is a script/software to take a picture for him. So basically, whenever someone opens his laptop and boots up, when Windows starts, his webcam automatically takes a picture, uploads it to an image-host (LulzImg for example) and then e-mails it to him, so he knows who is using his laptop.
 
I remember "back in the day" when I used to play around with Trojans, you could be notified when your victim / 'stolen laptop' was online, through sniffing.

The infected computer would basically start sending packets as such over a IP Address, and it would give you details of the machine.

Then using a client you could connect to the infected machine, and view the webcam - have remote desktop access as well. etc etc.

I would say that a Application might be best... stick it in the STARTUP options, and code it so that you were notified in a similar way.

But, then again.... we are treading on the grounds of coding a trojan, and I'm sure that isn't permitted here.

Another way, would be to infect yourself... tell your antivirus that its safe... give it minimal options so that no harm would come to your own equipment - just give it the ability to send the packets upon startup.

Just a quick workaround I guess. But it would work.
 
lol yes the good old times with sub7 and netbus! :P

but I am not looking for an app, I want a script.

I have 2 options I think, one is to make a very simple site that displays the local webcam, and on load it would snap and image and send to mail or save as a file on hosting site. Or a simpler script would be to capture the screen on load, which should be displaying the webcam, and again send to mail or save.

Any ideas?
 
LOL
So what you will do if the theft format your hard disk ?
if you are still interested in doing this, open vb or c sharp, and simply code a program which takes a screenshot of your webcam every 2-3 mins and sends it to ftp !!
thats the best solution !
i have done something like this in past with vb 6 !
 
hehe well hopefully it will snap an image before they format :P

I like the idea you propose but i dont want to have that running in the background snapping images every 3 minutes and filling my ftp with snapshots forever.
I rather have my computer startup say iexplorer and load mysite.com/i.got.u.bitch.php now i.got.u.bitch.php wouldnt be uploaded unto my hosting service until my laptop was stolen. That way I wouldnt have a million images uploaded dayly. :P

But thnks anyway bro

I am working on something that might just work, but its still a work in progress. Once i get it done I´ll post it here. If anyone already has something that can do this, please post it! :P
 
well i was thinking of that, but then i thought my machine would detect it and not allow it to run. I could add it to the exceptions list, but that would also add the trojan to the list making my machine vulnerable to any other similar RATs available out there.
 
lol this is not possible in PHP like how you want this, you want after windows boots up right? How can a PHP script function? Open browser first, visit website?
 
well that wont have to be part of the php, you would simply have a scheduled task on your computer, the task would be to launch IE or firefox everyday at the same time, and the homepage of this browsers would be the one containing this script... :P
 
Status
Not open for further replies.
Back
Top