由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - how to avoid security holes for perl CGI code using checkbox ?
相关主题
perl cgi.pm checkbox reset question国内的网上银行什么时候才能支持Linux?
which language to use for lighttpd: perl, python, rail, ... ?RH enterprise5的rdp clinet连不上windows7?
anyone used lighttpd before ?号召广大linux编程高手分析破解病毒
upgrade guest OS on VMware问一下C语言编CGI的路径问题 (转载)
怎么把某个版面的文章发到自己的邮箱编写支持CGI的web服务器大致原理
ubuntu每次更新linux kernel,我都要重新装显卡驱动。在浏览器里面编程?
CUPS 共享打印机搞出问题了问几个关于网页和HTML的问题
最近 pidgin 总是看不到 live messenger 的中文Can't call method "header" on an undefined value at /.../login.pl line 19.
相关话题的讨论汇总
话题: checkbox话题: cgi话题: perl话题: set话题: my
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check application,
it can call my "set_my_value" directly.
So even i didn't check/uncheck the checkbox.
It's setting the values.
Seems lighttpd doesn't support perl taint mode (someone correct me if not
the case), i don't know what to do now.
Any help appreciated.
Thanks !
c*****m
发帖数: 1160
2
需要重学HTML
L*1
发帖数: 11537
3
Try to run this, and see what you get:
#!/usr/bin/perl
our $v1;
print "v1 = $v1\n";
if ($v1 == 0) {
print "v1 = 0\n";
}
else {
print "v1 != 0\n";
}
Don't know if that caused your problem.
You may change to use "yes", "no", "set", "notset".
1 (共1页)
进入Linux版参与讨论
相关主题
Can't call method "header" on an undefined value at /.../login.pl line 19.怎么把某个版面的文章发到自己的邮箱
Any future for CGI/FastCGI ? (转载)ubuntu每次更新linux kernel,我都要重新装显卡驱动。
问题:关于python和webCUPS 共享打印机搞出问题了
perl能不能一次把一个str中的a替换成x,b替换成y?最近 pidgin 总是看不到 live messenger 的中文
perl cgi.pm checkbox reset question国内的网上银行什么时候才能支持Linux?
which language to use for lighttpd: perl, python, rail, ... ?RH enterprise5的rdp clinet连不上windows7?
anyone used lighttpd before ?号召广大linux编程高手分析破解病毒
upgrade guest OS on VMware问一下C语言编CGI的路径问题 (转载)
相关话题的讨论汇总
话题: checkbox话题: cgi话题: perl话题: set话题: my