lgq
2025-07-14 0456b068c5b619bad95a41c2da454c4549d4a601
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# 端口透传
#
echo -en "Content-type: text/html; charset=utf-8\n\n"
#*****************************************************
source ../bin/env.sh
jsoner="../bin/jsoner"
 
read content
 
port=`$jsoner $content port`
data=`$jsoner $content data`
 
result=`msg trans $port $data`
 
echo "$result"