Tag Archives: FTP

Okay let me begin with telling you that I aint good at “networking” and probably just have a day or two knowledge of it .. but i got a good idea of it now i think!

Okay lets start with ports , they are like open doors to you computers .. there ports ranging from 0-65535 i think so if any of them is open someone can gain acess to your computer depending on the rights of the user set to that port .. what a firewall does is close all ports unless you specify a particular port to be open!

ports are not physical so stop wondering where are the 65535 holes in your comp! ;) no most services have default ports like

 

  • http port:80
  • ftp port:21
  • telnet port:23
  • ssh port:25

these are the default ports but other ports can be used to set them up .. someone can access these services from your computer using these ports and with certain access  rights like edit read write and other attributes set to the user .. to certain sections of your hard disk ..  what a hacker does is open a port on your comp ( with a trojan mostly perl scripts with cgi extensions ..google it!! ) and then set the rights to edit and del on whole of your comp and all he has to do is insert a nice little virus ( mostly a batch file {.bat if you didn’t know} if a infinite loop calling most programs and deleting a few key process like … na i aint gonna say that .. search for it.. ) ..  okay so got till this point clearly?

well now okay so how to you search for open ports .. ? well try using something called NMAP. it’s awesome for searching for open ports and once you find open ports just telnet them or ftp them depending on the protocol set to that port .. and if you are lucky it will set to a anonymous account ( that is anybody without a user and password can enter it lucky you!! ;) ) ..

more on this later … need to pack and get back to the campus for now ..

Sala Kahle till then!! bbye

P.S : try using a ftp client like Filezilla for ftp access!!

So as the topic suggests accesing a ftp site from a command promt? heh how many of you people knew that is possible … ? well if you know how to or are pro at this at are laughing at me .. then pls do not read further cause it would amuse this is no end ;) .. but if you are hearing this for the first time then do continue !! ( For windows users )

First of all in the run command box type cmd.exe this would open the command prompt ( the rest of the article is for people who love to work in the command prompt cause it’s cool!! ) in the command prompt 

type ftp website(url) of eg ( ftp.gimp.org or ftp.skynet.be)

for user give anonymous 

in password : give a valid e-mail id .. some websites stop checking after the @ so check if this one does it! (if you have an user name and a password in your ftp site do enter that though most websites tend to take an anonymous user it’s not necessary) .

type dir to see a list of all files in the root folder that the folder that you enter first.( btw if you type that and you see a connection closed by the remote host ..like it was for me!!.. then just type user “your-username or anonymous” again)

then type cd “directory name” to enter the directory you want ..

type get “file name” to download files and 

type put “file name” if you got upload rights to the folder ..

mget or mput commands can be used to download or upload multiple files .. 

get a list of all ftp commands here FTP Commands. or just type help to get a list of all commans then do a “? command” to check what the command does ..  awesome right btw the command to exit the ftp mode is bye ..   :P

Sala Kahle!  ( btw the climate is awesome for blogging heh mumbaikers )

P.S : a goof ftp search engine FTP Search.