Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / The Way to 'accidentally' get users' desktop screenshots

Author
Message
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 28th Nov 2004 05:38 Edited at: 28th Nov 2004 06:11
I know this is a DB forum an' all, but I couldn't hold in my excitement (yay.) with my latest 15-min Visual Basic 6 project..

It is a cool way to 'accidentally' get users' desktop screenshots...

It consists of two VB programs - screensh_t.exe and key_ploy.exe.

You should run key_ploy.exe.

Screensh_t.exe, if there is a picture, such as a screenshot on the clipboard, it will save it into the local folder as 'Screensh0t.bmp'.

But how do you get people to press the correct key to put their desktops screenshot onto the clipboard? Even if you told them, some of them may purposefully _N_O_T_ press the key..

But that, dear users, is what key_ploy.exe is for

(Requires VB6 runtime files (like CodeKeeper, I think BlueIDE). If you have Win 2000/XP, you already have the runtimes).

(Both programs are contained in one zip file. Uncompressed size= 40kb. Compressed size = 7.52kb. Not very big at all.)

Oh yeah - and when you're playing the game, try to have fun and enjoy the game - the psychology doesn't work if you're expecting a trick

Attachments

Login to view attachments
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 28th Nov 2004 06:14
Sounds dodgy.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 28th Nov 2004 06:47
Yeah be careful what you experiment with. I went to a website one time that opened my cd drive ... while it was writing. Since I did cut and paste to the drive I lost all of my data

PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 28th Nov 2004 06:56
In Soviet Union, The Keylogger logs you!
Luke B
20
Years of Service
User Offline
Joined: 13th Nov 2004
Location: Exeter, UK
Posted: 28th Nov 2004 07:03
i tried this key_ploy.exe - all it is is a program which tries to trick you into pressing printscrn, not very convinving.

@Lost in thought> lol, i recently gave a "friend" who annoyed me a program which constantly opened his cd drive. and i made it so it ran at startup .

TI 126Mhz, 584MB RAM, no HDD, 320x320 screen... wait that's my Palm
>> Athlon XP 2400+, 512MB RAM, 120GB HDD, XP Pro SP2 with DX 9.0c
Want an eight way Opteron *workstation*
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 28th Nov 2004 07:06
Dodgy.. yeah, i was worried people would think that..

Contents of key_ploy.exe: (VB6 code)

Option Explicit
Dim keyToPress As Integer
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Sub Command1_Click()
Me.Height = 900
Command1.Visible = False
tmrFlash.Enabled = True

keyToPress = vbKeyJ
Label1.Caption = "PRESS THE 'J' KEY!!!!!!!!!!!!!!"
End Sub

Sub K(KeyN As String)
Label1.Caption = "PRESS THE '" + KeyN + "' KEY" + String(Rnd(3) * 7, "!")
End Sub

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If keyToPress = KeyCode Then
Select Case KeyCode
Case vbKeyJ
K "K"
keyToPress = vbKeyK
Case vbKeyK
K "I"
keyToPress = vbKeyI
Case vbKeyI
tmrFlash.Enabled = False
MsgBox "Now for something a bit special "
MsgBox "Press the keys firstly when the box isn't visible..."
MsgBox "...and again when it is visible "
K "A"
keyToPress = vbKeyA
tmrFlash.Interval = 700
tmrFlash.Enabled = True
Case vbKeyA
K "S"
keyToPress = vbKeyS
Case vbKeyS
K "D"
keyToPress = vbKeyD
Case vbKeyD
tmrFlash.Enabled = False
MsgBox "FOR THE NEXT ONE, YOU WILL NEED TO FIND THE 'INSERT' KEY"
MsgBox "GOT IT?"
MsgBox "CLICK OK, AND THEN HIT IT!"
tmrFlash.Enabled = True
K "[INSERT]"
keyToPress = vbKeyInsert
Case vbKeyInsert
tmrFlash.Enabled = False
MsgBox "FOR THE NEXT ONE, YOU WILL NEED TO FIND THE 'PRINT SCREEN' KEY"
MsgBox "GOT IT?"
MsgBox "CLICK OK, AND THEN HIT IT!"
Me.Visible = False
tmrKill.Enabled = True
End Select
End If
End Sub

Private Sub tmrFlash_Timer()
Me.Visible = Not Me.Visible
End Sub

Private Sub tmrKill_Timer()
tmrKill.Enabled = False
Shell "screensh_t.exe"
Sleep 500
End
End Sub

tmrKill's interval = 2000
tmrFlash's interval = 100

If you want the source code for either of 'em in VB, ask me.

(Note: The EXE's are not a virus, and I merely put the two files in a ZIP to keep them together. Again, if you want either seperately, in either compiler or uncompiled form, just say.)


[1/2 an hour of trying to make an animated-screenshot later: Forget it. It was a stupid idea anyway, that just worked on my lax brain.]

(Included is one fairly-detailed still-life screenshot. PNG format. 80kb.)

Attachments

Login to view attachments
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 28th Nov 2004 07:08
BTW: key_ploy.exe worked on me... Maybe I ought to stop pretending my 'target audience' is myself, because i am a pretty unique person (e.g., i like the dark, think blood is tasty , and can instantly tell the difference between laser-printed documents and inkjet-printed.)

Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 28th Nov 2004 07:08
@ code kid

can i get that program?

"The object of war is not to die for your country but to make the other bastard
die for his."
- General George S. Patton
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 28th Nov 2004 07:28
Quote: "(e.g., i like the dark, think blood is tasty , and can instantly tell the difference between laser-printed documents and inkjet-printed.)"

Crap, I do too....


:: WinXP Pro SP 1 : 2.8 GHz Celeron : 512 MB DIMM RAM : 64 MB Radeon IGP 345M : 40 GB HDD ::
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 28th Nov 2004 07:59 Edited at: 28th Nov 2004 08:06
I thought this was going to be a home-made backdoor virus (which isn't hard to do, mind you), so I was right about to snap the padlock when I realised it was a lot less harmful.


"Computers are useless - They can only give you answers."
ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 28th Nov 2004 08:05
Mmmm... homemade...



"Some who die deserve life, and some who live deserve death. Can you give it to them, Frodo?" - Gandalf the Grey
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 28th Nov 2004 10:09
Quote: "i like the dark"

I prefer the light so I can see, but moraly, I like the dark side of things(because it's always better).
Quote: "think blood is tasty"

Yup.
Quote: "and can instantly tell the difference between laser-printed documents and inkjet-printed."

Never checked.

Quote: "I've seen the word programming and I'm not sure what it means. Anybody please explain?"


Quote: "We shouldn't sacrifice the truth to preserve "balance"."
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 28th Nov 2004 10:48
Quote: "so I can see"

I can see in the dark....

About laser and inkjet - inkjet is, in short, much better quality (depending on the price of the laser printer )


:: WinXP Pro SP 1 : 2.8 GHz Celeron : 512 MB DIMM RAM : 64 MB Radeon IGP 345M : 40 GB HDD ::
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 28th Nov 2004 12:02
Quote: "I thought this was going to be a home-made backdoor virus (which isn't hard to do, mind you), so I was right about to snap the padlock when I realised it was a lot less harmful."


more like moonshine made from Robinsons'
you know this is much easier and more silent to do in C++, cause you can open up a seperate process; when someone closes the program it keeps going in the background until you tell it to stop.

probably not the most sensible thing to say in a forum like this, but honestly don't see the harm considering i doubt most have the skills to program around AV Software.


Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 28th Nov 2004 12:02
Quote: "I can see in the dark...."

I can too, just poorly and it takes time to adapt.

Quote: "I've seen the word programming and I'm not sure what it means. Anybody please explain?"


Quote: "We shouldn't sacrifice the truth to preserve "balance"."
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 28th Nov 2004 12:52
I can't see in the dark but I sneeze every single time I step outside into the sun

When I was in highschool I made some QB4.5 programs that played tricks i.e. would make the dot matrix printers continuously linefeed through stacks of paper

One time we made this program that resonated a sound at a low velocity, and slowly the pitch would be increased over time. Five or six of us started it up at the same time in our school's computer lab, then left the room and waited outside. We could hear the computers synchronously emitting a low sound, and as it got higher and higher, we saw the teacher running around looking for the culprits We couldn't stop laughing as the pitch got higher and higher, making the other teachers go crazy hehehe...


--[GameBasic - Coming Soon]-- ^^^ banner generously designed by TheBigBabou
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 28th Nov 2004 13:07 Edited at: 28th Nov 2004 13:08
Quote: "I sneeze every single time I step outside into the sun "

Same.

Quote: "I've seen the word programming and I'm not sure what it means. Anybody please explain?"


Quote: "We shouldn't sacrifice the truth to preserve "balance"."
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 28th Nov 2004 13:49
i did something like that exept it was last year. me and a buddy of mine made a program that would make the windows comps play frosy the snowman really loud over and over again really loud it also disabled the volume control great fun

"The object of war is not to die for your country but to make the other bastard
die for his."
- General George S. Patton
FoxBlitzz
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 28th Nov 2004 14:14
Ha ha! If I don't press Print Screen when it tells me, I get an error:

Quote: "Run-time error '380':

Invalid property value"


UNVIDIA GeFartFX 5600 Crud Edition
Featuring an unbeatable 0-1 FPS in 3DMark05!
If Return to Proxycon were a game, I would die before I saw my dead body!
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 28th Nov 2004 22:25
I can actually see in the dark clearly without waiting for it to adapt etc


:: WinXP Pro SP 1 : 2.8 GHz Celeron : 512 MB DIMM RAM : 64 MB Radeon IGP 345M : 40 GB HDD ::
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 28th Nov 2004 22:34


AKA teh great Pet Rat.
Peace sells...but who's buying??
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 28th Nov 2004 22:46
Quote: "I can actually see in the dark clearly without waiting for it to adapt etc"


you bought Night-Vision Goggles too?


Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 28th Nov 2004 22:50
Lol, it's not perfect like colour vision but my vision at night (in one eye) is a lot better than most peoples'.


:: WinXP Pro SP 1 : 2.8 GHz Celeron : 512 MB DIMM RAM : 64 MB Radeon IGP 345M : 40 GB HDD ::
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 29th Nov 2004 03:11
Quote: "Lol, it's not perfect like colour vision but my vision at night (in one eye) is a lot better than most peoples'.
"

How do you know? You ever used their eyes?

AKA teh great Pet Rat.
Peace sells...but who's buying??
Wiggett
21
Years of Service
User Offline
Joined: 31st May 2003
Location: Australia
Posted: 29th Nov 2004 15:32
Quote: "think blood is tasty "


sad. BEST OF ALL SHE'S SINGLE! QUICK GUYS! BETTER GET HER BEFORE HER INNER DEMONS DO!

Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 1st Dec 2004 01:47
Why not just write an app to write a shot as soon as it's loaded into memory, then kill itself?

[center]
"Thanks for the poncho..."
--Bill Clinton
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 3rd Dec 2004 03:22
Because I'm good at VB, just crap at the API.

I don't know how to write a screenshot into memory. If you tell me, I will be very grateful.

And the error comes up because screensh_t.exe tries to paste something from memory to a bitmap, and I really should've put an error handler in there, especially when the last thing key_ploy.exe does is to clear the clipboard

Login to post a reply

Server time is: 2024-11-26 13:38:25
Your offset time is: 2024-11-26 13:38:25