-
June 30th, 2004, 07:24 AM
#1
Remote Command Execution
Hi all,
i have a username and pasword of system(Win2000,WinXp) and i m trying to execute the command. Howz that possible
Waiting for reply
Thanks
Excuse me, is there an airport nearby large enough for a private jet to land?
-
June 30th, 2004, 07:49 AM
#2
Well, you need to access a shell or use a remote exploit.
To access your shell, the remote machine needs to be running a daemon such as ssh or telnet which you can access and log into to send the command.
<chsh> I've read more interesting technical discussion on the wall of a public bathroom than I have at AO at times
-
June 30th, 2004, 11:02 AM
#3
This means it is impossible to run any command on remote machine if u have both Administrator username and password. i donot want to run exploits on it . Any other solution would be better.
Thanks
Excuse me, is there an airport nearby large enough for a private jet to land?
-
June 30th, 2004, 11:38 AM
#4
On a XP box go to Start>Control Panel>Network and Internet Connections>Remote Desktop
It says learn more about remote desktop.
But the computer you are trying to connect to has to have it turned on.
When death sleeps it dreams of you...
-
June 30th, 2004, 12:04 PM
#5
Download sysinternal's pstools. It contains psexec. This will let you execute commands remotely (but you'll need administrator privileges on the remote machine). Best thing is it's free and nothing needs to be installed on the remote machine.
Example:
Code:
psexec \\remotemachine cmd
This will open a remote command shell. Be carefull though! Some commands don't like the way the input/output got redirected and will choke. A good example is the commandline ftp client.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
June 30th, 2004, 01:01 PM
#6
Hi,
i have tried pstools but when i try to execute command remotely their is access denied error but i can login with the same account name and password physically on that system. What be the problem and its possible soultion(I also used dameware but the same type of problems there). The command i used was
psexec \\computername cmd -u username -p password
Thanks
Excuse me, is there an airport nearby large enough for a private jet to land?
-
June 30th, 2004, 03:09 PM
#7
It should be
psexec \\remotemachine -u username -p password cmd
Everything after cmd gets interpreted as arguments for cmd.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
June 30th, 2004, 06:16 PM
#8
psexec \\10.10.1.49 -u Administrator -p A "dir"
psexec \\10.10.1.49 -u Administrator -p A "ipconfig.exe"
The out put was
PsExec v1.54 - Execute processes remotely
Copyright (C) 2001-2004 Mark Russinovich
Sysinternals - www.sysinternals.com
Couldn't access 10.10.1.49:
The network path was not found.
Make sure that the default admin$ share is enabled on 10.10.1.49.
What the problem could be???????????
Excuse me, is there an airport nearby large enough for a private jet to land?
-
June 30th, 2004, 07:19 PM
#9
You either have the wrong IP address or admin$ has been disabled.
Here is the article that describes administrative shares.
http://support.microsoft.com/default...b;en-us;314984
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|