• Stefy Lanza (nextime / spora )'s avatar
    Add wsscp - WebSocket SCP wrapper application · cea666ef
    Stefy Lanza (nextime / spora ) authored
    New wsscp application:
    - WebSocket SCP wrapper similar to wsssh but for SCP instead of SSH
    - Uses -P option for port detection (SCP standard) instead of -p
    - Automatically constructs ProxyCommand for WebSocket tunnels
    - Supports same command line syntax as regular SCP
    - Includes automatic port detection from -P option
    - Full integration with wsssht WebSocket tunnel infrastructure
    
    Implementation details:
    - wsscp.h: Header file with configuration structures and function declarations
    - wsscp.c: Complete implementation with argument parsing and SCP command generation
    - Updated configure.sh to build wsscp alongside other tools
    - Added wsscp.1 man page with comprehensive documentation
    - Tested functionality with debug mode and argument parsing
    
    Features:
    - Automatic wsssht path detection (PATH or same directory)
    - Smart port detection: explicit --wssshd-port takes precedence over -P option
    - Support for all wsssht tunnel options (--tunnel, --tunnel-control, --debug)
    - Compatible with existing wssshc/wsssht infrastructure
    - Proper error handling and user-friendly help messages
    
    Usage examples:
      wsscp localfile user@myclient:/remote/path
      wsscp -P 2222 localfile user@myclient.server.com:/remote/path
      wsscp --debug --tunnel websocket localfile user@myclient:/remote/path
    cea666ef
Name
Last commit
Last update
templates Loading commit data...
wsssd Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
BRIDGE_MODE_TESTING.md Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
clean Loading commit data...
clean.sh Loading commit data...
clean.sh~ Loading commit data...
image.jpg Loading commit data...
prompt.txt Loading commit data...
prompt.txt~ Loading commit data...
requirements.txt Loading commit data...
test_bridge_mode.sh Loading commit data...
wsscp.conf.example Loading commit data...
wsssh.conf.example Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wssshd.py Loading commit data...
wsssht.conf.example Loading commit data...