vx002 发表于 2014-9-17 23:58:23

请不要让我失望啊 !!

leon1125 发表于 2014-9-18 13:10:30

{:6_267:}{:6_267:}{:6_267:}{:6_267:}

yinnanjing 发表于 2014-9-18 14:23:57

沉默改良者 发表于 2014-9-18 21:34:37

{:6_267:}

北漂村长 发表于 2014-9-18 21:39:16

奸商!!!!!

lingyun0606 发表于 2014-9-18 21:45:26

:({:1_1:}

lingyun0606 发表于 2014-9-18 21:47:20

{:6_278:}{:6_269:}

BDMC 发表于 2014-9-18 21:58:22

谢谢

Mythink4 发表于 2014-9-18 22:08:47

90809809809

superray 发表于 2014-9-18 22:16:39

支持活雷锋

zyqdql123 发表于 2014-9-18 22:24:01

{:6_290:}{:6_290:}{:6_290:}

西蒙大帝 发表于 2014-9-20 00:28:46

lovesars 发表于 2014-9-20 12:46:06

东东,谢谢了

君昕 发表于 2014-9-20 15:15:48

是最新的么 0 0

lovesars 发表于 2014-9-21 12:37:20

用浏览器启动R1 console链接报如下错误,请问怎么解决。


#!/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
页: 27 28 29 30 31 32 33 34 35 36 [37] 38 39 40 41 42 43 44 45 46
查看完整版本: 最新汉化版web-iou提供下载了,请不要叫我活雷锋