web-iou 浏览器console功能不可用
如图所示:单击 open core1 console via browser
360极速浏览器打开的只是文件内容
附上文件详情:#!/bin/bash
function connect {
/opt/iou/bin/shellinaboxd --cgi --localhost-only -s "/:$(id -u):$(id -g):HOME:telnet 127.0.0.1 ${parms}"
if [ $? -ne 0 ]; then
cannot_connect
fi
}
function default {
# First time that the CGI script was called. Show initial HTML page.
printf 'Content-Type: text/html\r\n\r\n'
cat << EOF
<html>
<head>
<title>Telnet Shell</title>
</head>
<body>
<h1>Telnet Shell</h1>
</body>
</html>
EOF
}
function cannot_connect {
printf 'Content-Type: text/html\r\n\r\n'
cat <<EOF
<html>
<head>
<title>Telnet Shell</title>
</head>
<body>
<h1>Telnet Shell</h1>
<p>Unable to establish connection with $parms</p>
</body>
</html>
EOF
}
case "${REQUEST_METHOD}" in
GET)
# Retrieve CGI parameter, then start shellinabox with this address
parms=`echo $QUERY_STRING`
if [ "$parms" != "" ]; then
connect $parms
else
default
fi
;;
*)
default
;;
esac换了firefox也不管用
国外论坛说问题好像和ajax 有关
我也不懂什么是ajax ?? 王晓强 发表于 2013-9-26 15:16
直接用secureCRT登录,telnet 虚拟机IP 2001,这是第一台,后续的设备端口递增1.
强哥!首先谢谢你!
但securecrt 要留给gns3用
web-iou用浏览器web console控制
我做联合仿真就很方便了
我看过一个老外的关于web-iou的视频,他的web console功能并没有问题
直接用secureCRT登录,telnet 虚拟机IP 2001,这是第一台,后续的设备端口递增1. 点那个黑的..别点那个白的
页:
[1]