Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hi
i have just a listening server that listen on 3306 port!!
users can connect my server using mysql client and telnet.
i want to get password of database using getpass()?
how can i use this function in client side of my program?
i only have a server.so i should modify server program!!
Posted
Comments
Mohibur Rashid 4-Aug-12 6:13am    
confused. what do you mean?
[no name] 4-Aug-12 6:27am    
hias i said i'm working on a honeypot project!!
i wrote a listening server!
client connect to it using mysql client or telnet to excecute query!
at first user should enter a password!!
i can send a message to client by send but i want to get password like when you enter password in unix. i mean you cant see th password on screen! using getpass() but i dont know how to do it?
Joan M 4-Aug-12 8:04am    
It is difficult to imagine what you need. Improve your question please.

1 solution

You can't make the server do something on the client, especially looking in to local databases. I have no idea what a honeypot is, but it sounds rude.... You will need to run code on the client, in order to run within the client's environment and access client data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900