Last active
June 10, 2023 21:46
-
-
Save user21944/3f0817b7ca13e822154ebf8fc15d6e32 to your computer and use it in GitHub Desktop.
highly advanced bash tcp server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while true; do /usr/bin/neofetch | nc -lw 0 31337 > /dev/null; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while true; do printf "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\n$(/usr/bin/neofetch)" | nc -lw 0 31337 > /dev/null; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment