📝
Basic Penetration Testing
  • About Knowledge
  • Server Enumeration
    • Scanning
    • Common Services
      • FTP - 21
      • SMTP - 25
      • SMB - 139, 445
  • Web Application
    • Enumeration
    • Exploitation
    • Execute Commands
    • Databases
      • MySQL
      • SQLite
      • MSSQL
      • PostgreSQL
  • Remote Code Execution
  • File Transfer
    • HTTP Server
    • SMB Protocol
    • FTP Server on Kali Linux
  • Hash Cracking
  • Privilege Escalation
    • Windows Privilege Escalation
    • Linux Privilege Escalation
  • Buffer Overflow
  • About LeeCyberSec
Powered by GitBook
On this page
  • Server Connection
  • FTP Common Commands

Was this helpful?

  1. Server Enumeration
  2. Common Services

FTP - 21

Server Connection

  • Check for anonymous access

$ ftp $ip $port
Connected to <ip>.
220 Microsoft FTP Service
Name (<ip>:<host>): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230 User logged in.
Remote system type is Windows_NT.
ftp>

FTP Common Commands

ftp> passive
Passive mode on.
ftp> binary
200 Type set to I.
ftp> ascii
200 Type set to A.
ftp> upload <file>
ftp> get <file>
ftp> quit
221 Goodbye.
PreviousCommon ServicesNextSMTP - 25

Last updated 4 years ago

Was this helpful?