PFTP - Pentest File Transfer Protocols - CLI Tool
Project description
PFTP CLI
CLI tool for managing the PFTP (Pentest File Transfer Protocols) server.
A lightweight, multi-protocol file transfer hub for penetration testers, ethical hackers, and CTF players. Supports HTTP, FTP, and SMB simultaneously.
Docker Image: ahmadalawneh3/pftp
Installation
pipx install pftp
Or with pip:
pip install pftp
Quick Start
# Install and configure (interactive wizard)
pftp install
# Start the server
pftp start
# Check status
pftp status
# Add tools
pftp add-tool /path/to/linpeas.sh
pftp add-tool /path/to/windows/ --recursive --category windows
# View logs
pftp logs
# Stop the server
pftp stop
Commands
| Command | Description |
|---|---|
pftp install |
Install and configure (interactive wizard) |
pftp configure |
Reconfigure settings (interactive or flags) |
pftp start |
Start the server |
pftp stop |
Stop the server |
pftp restart |
Restart the server |
pftp status |
Show status and configuration |
pftp logs |
View server logs |
pftp update |
Update to latest Docker image |
pftp remove |
Uninstall pftp |
pftp add-tool |
Add files to tools directory |
pftp version |
Show version |
Features
- Multi-protocol: HTTP, FTP, and SMB running simultaneously
- Interactive setup wizard with
pftp install - Optional authentication across all protocols
- Configurable Docker restart policy
- Auto-detects network interfaces (prioritizes VPN/tun0)
- Web UI with download command generation (PowerShell, wget, curl, bitsadmin, base64)
- File upload/exfiltration support
- Live activity logs via SSE
Requirements
- Python 3.8+
- Docker
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pftp-2.0.3.tar.gz.
File metadata
- Download URL: pftp-2.0.3.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
304df9e48e1c42f22c17580299114c1ac44ca00cef26445f20c85f7d718d80b6
|
|
| MD5 |
87211cbdf7a6116af7815799abcc2766
|
|
| BLAKE2b-256 |
d7de0f4e512c81401af84727340193a31c4e7410666e91e1a2ff24168e2055cf
|
File details
Details for the file pftp-2.0.3-py3-none-any.whl.
File metadata
- Download URL: pftp-2.0.3-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adee9e060362d76e7dcb865322cf010b5aec6a3f084e60602c0eea1e5aff11ae
|
|
| MD5 |
e75a12e496a9ea0a3cee4b17d486a830
|
|
| BLAKE2b-256 |
b05c94d1b2690c828defdd166f068f572fe4ea9f2d4ca9a966aab09e6256b400
|