Add GPL-3.0 license headers to shell scripts and C implementations

- Added license headers to build.sh, clean.sh, and wssshtools/configure.sh
- Added license headers to wssshtools/wsscp.c, wssshtools/wsssh.c, and wssshtools/wssshc.c
- Headers match the format used in Python files for consistency
parent 7240da10
#!/bin/bash #!/bin/bash
# WebSocket SSH Tools Build Script
# Build script for WebSocket SSH tools (wssshd, wssshc, wsscp, etc.)
#
# Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Parse command line arguments # Parse command line arguments
BUILD_DEBIAN=false BUILD_DEBIAN=false
BUILD_DEBIAN_ONLY=false BUILD_DEBIAN_ONLY=false
......
#!/bin/bash #!/bin/bash
# WebSocket SSH Tools Clean Script
# Clean script for removing build artifacts from WebSocket SSH tools
#
# Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Remove PyInstaller build artifacts # Remove PyInstaller build artifacts
rm -rf build/ rm -rf build/
rm -rf dist/ rm -rf dist/
...@@ -9,6 +27,7 @@ rm -f *.spec ...@@ -9,6 +27,7 @@ rm -f *.spec
if [ -d "wssshtools" ]; then if [ -d "wssshtools" ]; then
cd wssshtools cd wssshtools
make clean 2>/dev/null || true make clean 2>/dev/null || true
rm -f Makefile
rm -f configure.sh.stamp rm -f configure.sh.stamp
rm -f man/*.1.gz 2>/dev/null || true rm -f man/*.1.gz 2>/dev/null || true
cd .. cd ..
......
#!/bin/bash #!/bin/bash
# configure.sh - Configuration script for wssshtools C implementation # configure.sh - Configuration script for wssshtools C implementation
# Generates Makefile for building WebSocket SSH tools C components
#
# Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
echo "Configuring wssshtools..." echo "Configuring wssshtools..."
......
/*
* WebSocket SCP (wsscp) - C Implementation
* SCP wrapper that uses WebSocket tunnels through wssshd.
*
* Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
/*
* WebSocket SSH (wsssh) - C Implementation
* SSH wrapper that uses WebSocket tunnels through wssshd.
*
* Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
/*
* WebSocket SSH Client (wssshc) - C Implementation
* WebSocket SSH client that registers with wssshd server.
*
* Copyright (C) 2024 Stefy Lanza <stefy@nexlab.net> and SexHack.me
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment