Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Replying to Need Help


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

yordan

Posted 12 May 2011 - 11:26 AM

You don't need the client PC admin password, you only need his IP.
At least you don't need the PC to send his password through the network, you need the customer to tell you his password through a secured way (while having a coffee together for instance), you only need the current IP to be sent at boot time.
And on the gentoo system I was not talking about the root password, I was talking about a dedicated user's password, this user owning the transferred files. Such a user cannot touch the system files, he can only touch the transferred files.

spawN-eD

Posted 12 May 2011 - 10:11 AM

i need clients pc pass not my server root password ;D

yordan

Posted 12 May 2011 - 09:51 AM

I am not talking about the PC's admin password.
I am talking about a password on your gentoo system for the customer filesystem transfer.
Let's say I create a user named "spawned" on your gentoo system.
Then, the PC makes a scp myfile.txt spawned@yourser:myfile.txt
The only password which has to be sent is the spawned's password on the gentoo system. And this gentoo user spawned is a user which is only allowed to store the text files received from your customer's PC.
And of course this text file should have nothing secret, so that if some spy is listening to your customer's phone line he can catch nothing precious.

spawN-eD

Posted 12 May 2011 - 09:41 AM

heh tnx ;) but i have wondered about one thing if the pc got password protected and its got sleep maby is some way to get that password at pc start when user write it or maby its saving in some file

yordan

Posted 12 May 2011 - 09:22 AM

This is perfect, and should work with your gentoo system.
Just have a look at the resulting file to check that all your infos are there, manually check the scp syntax in order to validate your hostname and username settings, and then add the scp line inside your script.

spawN-eD

Posted 12 May 2011 - 09:13 AM

btw i forgot to say that the server on what i want to send info is based on gentoo system

for a while i got something like this :

@echo off
echo [*] Collecting Relevant system information
echo Host Name : %computername% > %computername%.txt
systeminfo | find "OS" >> %computername%.txt
systeminfo | find "Domain" >> %computername%.txt
ipconfig | find "IP" >> %computername%.txt
echo. >> %computername%.txt

i made it just for tests and maby what info send to my server

yordan

Posted 12 May 2011 - 09:06 AM

OK, now we see what you want to do, this can be done very easily.
You can do this very easily in a bat file.
This bat could be something like this, and could be easily sent at the end of system boot.
ipconfig >myip.txt
scp myip.txt remoteuser@remoteserver:myip.txt
echo ip sent to remote server
Of course, you will have to install scp for windows on your customer system (a free version), and setup scp signatures for unattended send, but this is a standard system administration task.
Regards
Yordan

spawN-eD

Posted 12 May 2011 - 07:01 AM

sory for double post but i got net lag :/

spawN-eD

Posted 12 May 2011 - 07:00 AM

im computer tehnic and we got clients show live in citys who are far away from us and if something happens thos that pc maby we can user vncviewer and that peoples dont know where to see ip and etc ... so we want make programm wich will launch at pc start and send info about this user so that info will save in mysql or etc and displays in some php file

yordan

Posted 11 May 2011 - 08:14 PM

Sorry, but, this is quite not clear.
the wget sentence is easy to put in a .bat file.
What we cannot understand is what you want to be done. Why do you need a mysql database?
And what is the operation that has to be performed. Do you want to save on your server the contents of the whole PC of each guy accessing your website?
Why do you need to store the IP address, password and start a wget remote backup?
You know, we cannot fully help you if we do not fully understand what you are wanting to be performed.

Review the complete topic (launches new window)