Display a file as plain text in a browser
$ (echo -e 'HTTP/1.0 200 OK\n' && cat myfile.txt) | nc -lp 8080
|diff --git a/dffml/df/memory.py b/dffml/df/memory.py|
|index 7d29c84f..f6c7cdfb 100644|
|@@ -586,8 +586,27 @@ class MemoryInputNetworkContext(BaseInputNetworkContext):|
|- # Return if there is no data for an input|
|+ # There is no data in the network for an input|
|diff --git a/dffml/feature/feature.py b/dffml/feature/feature.py|
|index 9e9c1341..e6d92cca 100644|
|@@ -14,6 +14,7 @@ from typing import List, Dict, Type, Any|
|from .log import LOGGER|
|from ..util.entrypoint import Entrypoint|
|+from ..util.data import parser_helper|
Wireguard is a VPN that comes built into Linux kernels >= 5.6 It also has clients for OSs like Windows, OSX, and Android.
If you're looking for how to have a virtual LAN party, Wireguard is a great way to do it. Since it's cross platform. You can even play Windows games on Linux using Lutris and network them with Wireguard to get Windows and Linux machines playing together.