Add a reply button to list all currently open (listening) TCP ports and the associated processes.
- Reply button in main menu:
π Ports
- Should return a list like:
- π 80/tcp β nginx
- π 22/tcp β sshd
- π 5432/tcp β postgres
- Use
psutil, lsof, or netstat to fetch open ports and owning process names
- Show only listening TCP ports (
LISTEN state)
π‘ Optional
- Add flag to list UDP ports too
- Display process PID (optional)
π οΈ Difficulty: Medium
π€ Good for contributors interested in system introspection
Add a reply button to list all currently open (listening) TCP ports and the associated processes.
π Portspsutil,lsof, ornetstatto fetch open ports and owning process namesLISTENstate)π‘ Optional
π οΈ Difficulty: Medium
π€ Good for contributors interested in system introspection