forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Who wants to be a hero?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
VDSuser
Contributor
Contributor


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Wed Apr 03, 2002 4:28 pm    Post subject: Who wants to be a hero? Reply with quote

Idea Here's a project for a DLL author to make you loved by millions: Come up with a method to check the Caps Lock state on a remote PC.

No, I don't want the final proggie to run on their computer, I want it to run on mine. I help administer over a thousand desktop PCs and one of the biggest problems we have when it comes to logons is people trying to enter passwords in upper case characters. When I ask "Is your Caps Lock on?" the answer always is "No," spoken in the tone of "(What's a Caps Lock?)"

I want to be smarter than the user. I want to know when they're lying. I want a DLL that'll call the GetKeyState of a remote PC, as in "%a = @keystate(capital[,computername])" or "%a = @keystate(numlock[,computername])." You know what I mean.

So I ask you, fellow programmers, who wants to be a hero? Smile
Back to top
View user's profile Send private message
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Wed Apr 03, 2002 4:52 pm    Post subject: Reply with quote

I'm no programmer, but I doubt that could be done without a program running on the remote PC.
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Wed Apr 03, 2002 5:25 pm    Post subject: Reply with quote

I would not be possible to do without a program running
on the users computer to serve as a client.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Apr 03, 2002 6:44 pm    Post subject: Reply with quote

Whooooo, Chris. I think that your avatar has gone totally Pulp Fiction! Take
more care when headbanging at your keyboard - maybe that's the way
people's Caps Lock gets stuck so they have to lie to VDSuser about
it Wink

Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Wed Apr 03, 2002 8:01 pm    Post subject: Reply with quote

Hey, Haven't you felt like doing that when you just can't
take it anymore? Very Happy I don't think there is enough blood. Twisted Evil

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VDSuser
Contributor
Contributor


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Wed Apr 17, 2002 5:45 pm    Post subject: Reply with quote

Getting back to the question at hand for a moment, are there any Basic programmers in the forum who are familiar with PEEK and POKE?

I know that using PEEK locally, one can read a specific memory address to check the value of the Caps Lock.

The Basic code for determining the Caps Lock state is:
DEF SEG = 0
X = PEEK(1047) AND 64

If the Caps Lock is off, X will equal 0, otherwise, it will equal 64.

Each bit of location 1047 reflects the status of a keyboard flag. This includes NUM LOCK, SCROLL LOCK, CAPS LOCK, INSert mode, and whether or not the LEFT SHIFT and RIGHT SHIFT keys, the ALT key, or the CTRL (Control) key is currently pressed or not.

Why can't one PEEK a remote PC's memory? 8O
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Apr 18, 2002 3:30 am    Post subject: Reply with quote

Use Windows XP, it'll warn the user if capslock is turned on while entering
a password in the login screen Wink

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Apr 19, 2002 6:48 pm    Post subject: Reply with quote

VDSuser wrote:
Why can't one PEEK a remote PC's memory? 8O


That would be a huge security issue if memory could be read remotely without a program running on the remote computer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group