Author Topic: grab ftp version with ftplib or socket?  (Read 756 times)

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
grab ftp version with ftplib or socket?
« on: November 07, 2011, 10:40:16 am »
Ok so I want to grab the version of ftp protocol of a webserver without having username and password.  This is possible with nmap and netcat, but I didnt know if it was possible with ftplib or socket.  I have a port scanner but it only shows if the port is open.  Any suggestions?

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: grab ftp version with ftplib or socket?
« Reply #1 on: November 07, 2011, 10:43:40 am »
Why can't you just use netcat? Why does it have to be ftplib?

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: grab ftp version with ftplib or socket?
« Reply #2 on: November 09, 2011, 04:03:03 pm »
I want to make it completly python.  I think I    can just use the welcome messege with ftplib.welcome().  Although nmap might be of choice for grabbing the protocol information at this point....which sucks because I hate using dependencies.