look out honey 'cause I'm using technology

Windows shows its BSD heritage

It’s well known that MS utilized code (which is allowed under the BSD License) in various places in Windows, but it’s still fun to see it in there. Unhappily I’m using XP at my current consulting gig, but I’ll fix that soon. If you are as well, drop to the cmd.exe window and do the following:

c:> strings.exe c:\\WINDOWS\\system32\\ftp.exe | grep Copyright

You’ll get back the following:

@(#) Copyright (c) 1983 The Regents of the University of California.

Incidentally, on my FreeBSD server at home it shows a bit more up to date code:

[pepe:/usr/bin]$ strings /usr/bin/ftp  | grep Copyright;
strings /usr/bin/ftp  | grep California

@(#) Copyright (c) 1985, 1989, 1993, 1994
The Regents of the University of California.  All rights reserved.

And yes, you’d expect it to be a bit out of date; there’s no reason to use ftp nowadays, as it’s completely insecure. OpenSSH provides scp and sftp for secure transfers, and you can tunnel almost anything else through it (I do rsync over ssh for backups) so there’s no reason not to use it.



Related posts

  • Let's see how long it takes until ssh and scp make it into a default Windows installation... I wouldn't mind not having to install cygwin or the likes on every Windows system I have to work on ;)
  • no kidding, don't get me started on the 'clunkiness' of the cygwin term - I have to install it, then an X server just to get a term I can stomach (xterm).
  • Craig Buchek
    The Windows FTP client is horrible. It doesn't even have command-line history. Telnet is really bad too; even had some simple RFC violations until a recent patch. How can you not even meet the RFC requirements for a 20-year old protocol? If you're looking for a good (GUI) SSH client for Windows, I can recommend PuTTY. It actually does FTP too. No clue why Microsoft has never included an SSH client. Must be because security is their "number 1 priority". BTW, strings.exe isn't something that comes standard on Windows.
    IP Address: 151.145.63.122
  • Sits
    FTP has lower overheard (both CPU and bandwidth) than SSH/SFTP. It makes far more sense for annoymous downloads...
  • Anonymous
    FTP would make more sense if it wasn't such a clumsy protocol - why can't they decide on an alternative PORT command / PASV response with no IP meaning : just connect to the same ip for the data channel ?

    Anyway, you can use SSL over FTP the same way you can use SSL over HTTP, SMTP and so on.
  • Nancy
    I tried to type these commands and got error messeges for both. It says these commands do not work. "'strings.exe' is not recognized as an internal or external command, operable program or batch file".
  • @Nancy
    What version of Windows are you running? I thought I saw it work in XP? Perhaps strings.exe isn't in your path, try searching for it, then change to that dir and run it from there.
blog comments powered by Disqus

We like





We support


EFF - Electronic Frontier Foundation       TOR - The Onion Router       HRC - Human Rights Campaign




Private