pftp 2.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pftp-2.0.0/PKG-INFO ADDED
@@ -0,0 +1,86 @@
1
+ Metadata-Version: 2.4
2
+ Name: pftp
3
+ Version: 2.0.0
4
+ Summary: PFTP - Pentest File Transfer Protocols - CLI Tool
5
+ Author-email: Ahmad Alawneh <a.3alawneh@gmail.com>
6
+ License: MIT
7
+ Keywords: pentest,file-transfer,security,hacking,ctf,ftp,CTF
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Information Technology
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Topic :: Security
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: click>=8.0
20
+ Requires-Dist: docker>=6.0
21
+ Requires-Dist: pyyaml>=6.0
22
+ Provides-Extra: dev
23
+ Requires-Dist: build; extra == "dev"
24
+ Requires-Dist: twine; extra == "dev"
25
+
26
+ # PFTP CLI
27
+
28
+ CLI tool for managing the PFTP (Pentest File Transfer Protocols) server.
29
+
30
+ ## Installation
31
+
32
+ ```bash
33
+ pipx install pftp
34
+ ```
35
+
36
+ Or from source:
37
+
38
+ ```bash
39
+ cd cli
40
+ pipx install .
41
+ ```
42
+
43
+ ## Quick Start
44
+
45
+ ```bash
46
+ # Install and configure
47
+ pftp install
48
+
49
+ # Start the server
50
+ pftp start
51
+
52
+ # Check status
53
+ pftp status
54
+
55
+ # Add tools
56
+ pftp add-tool /path/to/linpeas.sh
57
+
58
+ # View logs
59
+ pftp logs
60
+
61
+ # Stop the server
62
+ pftp stop
63
+ ```
64
+
65
+ ## Commands
66
+
67
+ - `pftp install` - Install and configure pftp
68
+ - `pftp configure` - Reconfigure settings
69
+ - `pftp start` - Start the server
70
+ - `pftp stop` - Stop the server
71
+ - `pftp restart` - Restart the server
72
+ - `pftp status` - Show status and configuration
73
+ - `pftp logs` - View server logs
74
+ - `pftp update` - Update to latest Docker image
75
+ - `pftp remove` - Uninstall pftp
76
+ - `pftp add-tool` - Add files to tools directory
77
+ - `pftp version` - Show version
78
+
79
+ ## Requirements
80
+
81
+ - Python 3.8+
82
+ - Docker
83
+
84
+ ## License
85
+
86
+ MIT
pftp-2.0.0/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # PFTP CLI
2
+
3
+ CLI tool for managing the PFTP (Pentest File Transfer Protocols) server.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pipx install pftp
9
+ ```
10
+
11
+ Or from source:
12
+
13
+ ```bash
14
+ cd cli
15
+ pipx install .
16
+ ```
17
+
18
+ ## Quick Start
19
+
20
+ ```bash
21
+ # Install and configure
22
+ pftp install
23
+
24
+ # Start the server
25
+ pftp start
26
+
27
+ # Check status
28
+ pftp status
29
+
30
+ # Add tools
31
+ pftp add-tool /path/to/linpeas.sh
32
+
33
+ # View logs
34
+ pftp logs
35
+
36
+ # Stop the server
37
+ pftp stop
38
+ ```
39
+
40
+ ## Commands
41
+
42
+ - `pftp install` - Install and configure pftp
43
+ - `pftp configure` - Reconfigure settings
44
+ - `pftp start` - Start the server
45
+ - `pftp stop` - Stop the server
46
+ - `pftp restart` - Restart the server
47
+ - `pftp status` - Show status and configuration
48
+ - `pftp logs` - View server logs
49
+ - `pftp update` - Update to latest Docker image
50
+ - `pftp remove` - Uninstall pftp
51
+ - `pftp add-tool` - Add files to tools directory
52
+ - `pftp version` - Show version
53
+
54
+ ## Requirements
55
+
56
+ - Python 3.8+
57
+ - Docker
58
+
59
+ ## License
60
+
61
+ MIT
@@ -0,0 +1,7 @@
1
+ """PFTP - Pentest File Transfer Protocols
2
+
3
+ A CLI tool for managing file transfer servers during penetration testing.
4
+ """
5
+
6
+ __version__ = "2.0.0"
7
+ __author__ = "Ahmad Alawneh"
@@ -0,0 +1,6 @@
1
+ """Entry point for pftp when run as a module"""
2
+
3
+ from .cli import cli
4
+
5
+ if __name__ == '__main__':
6
+ cli()