Lucene search
+L

FTP Listener

🗓️ 01 Dec 2025 12:51:31Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

KittySploit FTP Listener connects to an FTP server to create an interactive shell session.

Refs
Code
from kittysploit import *
from ftplib import FTP

class Module(Listener):
	
	__info__ = {
		'name': 'FTP Listener',
		'description': 'FTP client listener - connects to FTP server and creates interactive FTP shell session',
		'author': 'KittySploit Team',
		'handler': Handler.BIND,
		'session_type': SessionType.FTP,
	}
	
	host = OptString("127.0.0.1", "FTP server host", True)
	port = OptPort(21, "FTP server port", True)
	username = OptString("anonymous", "FTP username", True)
	password = OptString("", "FTP password", False)

	def run(self):
		"""Connect once to the FTP server."""
		if getattr(self, '_connect_done', False):
			return None
		self._connect_done = True
		try:
			print_status(f"Connecting to FTP server {self.host}:{self.port}...")
			
			# Connect to FTP server
			ftp = FTP()
			ftp.connect(self.host, int(self.port))
			ftp.login(self.username, self.password)
			
			print_success(f"Connected to FTP server as {self.username}")
			
			# Store connection and credentials for the shell
			additional_data = {
				'host': self.host,
				'port': int(self.port),
				'username': self.username,
				'password': self.password,
				'connection': ftp  # Store FTP connection object
			}
			
			# Return connection, target, port, and additional data
			return (ftp, self.host, int(self.port), additional_data)
			
		except Exception as e:
			print_error(f"FTP connection failed: {e}")
			return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Sep 2026 11:39Current
5.9Medium risk
Vulners AI Score5.9
2