1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 10:19:03 +00:00
Files
nmap/ncat/test/test-environment.lua

14 lines
232 B
Lua

#!/usr/bin/lua
function print_env(v)
print(("%s=%s"):format(v, os.getenv(v)))
end
print_env("NCAT_REMOTE_ADDR")
print_env("NCAT_REMOTE_PORT")
print_env("NCAT_LOCAL_ADDR")
print_env("NCAT_LOCAL_PORT")
print_env("NCAT_PROTO")