This repository has been archived on 2026-05-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2024-08-10 16:50:12 +02:00
2024-08-10 16:50:12 +02:00
2024-08-10 16:23:40 +02:00
2024-08-10 16:24:08 +02:00

simple-nc-server

Only works with Ncat versions that are compiled with the -c switch.

while true; do nc -lnp 1337 -c 'read REQ; GET=$(echo $REQ | sed -E "s/GET \/(.*) HTTP.*/\1/"); echo -e "HTTP/1.1 200 OK\nContent-Type: text/html; charset=UTF-8\n\n"; eval "$(echo "%>$(cat index.sh.html)<%" | sed -e "s/<%=/<%echo /g" -e "s/<%/\nRAW\n/g" -e "s/%>/\ncat <<- RAW\n/g")"'; done
S
Description
No description provided
Readme 39 KiB
Languages
HTML 72%
PHP 14.3%
Shell 13.7%