CGI プログラム2(wwwboard)
返回
- (2010/03/07)f022203.zip,wwwboard中文版源程序
- (2010/03/07)执行xxxx_admnboard.pl时,显示"You entered and invalid username password pair. Please try again."?
已在xxxx_admnpwd.txt上注明,为什么不成功?
- (2008/08/20)如何防止软件自动注册
- (2008/08/19)以下文件(****_badguy.txt)设置后不能设新笔名了.不知道什么原因.
218.25.108.74:replace with IP number you wish to block:
62.75.141.17:replace with IP number you wish to block:
125.135.15.194:replace with IP number you wish to block:
66.158.206.7:replace with IP number you wish to block:
59.94.89.223:replace with IP number you wish to block:
86.104.226.222:replace with IP number you wish to block:
222.170.243.158:replace with IP number you wish to block:
61.130.108.194:replace with IP number you wish to block:
201.234.19.13:replace with IP number you wish to block:
203.126.25.170:replace with IP number you wish to block:
83.217.192.160:replace with IP number you wish to block:
195.5.145.246:replace with IP number you wish to block:
80.70.231.217:replace with IP number you wish to block:
189.34.29.51:replace with IP number you wish to block:
218.6.169.93:replace with IP number you wish to block:
202.115.194.91:replace with IP number you wish to block:
221.122.43.124:replace with IP number you wish to block:
200.107.17.137:replace with IP number you wish to block:
211.100.34.11:replace with IP number you wish to block:
59.61.239.18:replace with IP number you wish to block:
000.000.000.000:replace with IP number you wish to block:
000.000.000.000:replace with IP number you wish to block:
999.999.999.999:do not add any thing below this line:
- (2008/04/12)解决没有填Password可投稿的问题
if (length($name) < $max_name_length && length($usrpwd) < $max_upwd_length)
{
if ($usrpwdf{$name})
{
$cryptpwd = crypt($usrpwd, substr($usrpwd, 0, 2));
if ($cryptpwd ne $usrpwdf{$name})
{
&error(wrong_pwd);
}
}
#-----------------------------------------------
# 增加了这一段,如果没有这一段,没有password的人也可以投帖子
else
{
&error(wrong_pwd);
}
#-----------------------------------------------
}
else
{
&error(name_pwd_long);
}
你填入的密码不对,或者该笔名已被别人登录。
---------------------------------------------------------
$cryptpwd = crypt($usrpwd, substr($usrpwd, 0, 2));
crypt は、パスワードの暗号化などに使われる関数です。第1引数 STRING で指定された
文字列の先頭8文字と、第2引数 SALT の2文字をもとに、ユニークな13文字の文字列を生
成します。crypt で暗号化された文字列は元に戻すことはできません。
#パスワード($passwd1)と暗号化したパスワード($passwd2)を受け取り、一致するかを判
定する関数
sub decipher{
my ($passwd1, $passwd2) = @_;
# 暗号のチェック
if ( crypt($passwd1, $passwd2) eq $passwd2 ) {
return 1;
} else {
return 0;
}
}
http://mikeneko.creator.club.ne.jp/~lab/perl/des/
Perl5 用 DES crypt ライブラリ
- (2008/04/06-)禁止IP一览
80.70.231.217
319:189.34.29.51:adipex
320:218.6.169.93:Tadalafil
321:202.115.194.91:AmbienDiscount
322:221.122.43.124:hydrocodoneorder
323:200.107.17.137:cheapViagra
324:211.100.34.11:asvalium
325:59.61.239.18:xanax
- (2008/02/13)下面的IP也是如此。spam!
86.104.226.222
222.170.243.158
61.130.108.194
201.234.19.13
- (2008/02/08)下面的IP也是如此。spam!
202:66.158.206.7:Del
203:59.94.89.223:Del
- (2008/02/07)下面的IP也是如此。spam!
199:218.25.108.74:Del
200:62.75.141.17:Del
201:218.25.108.74:Del
- (2008/02/06)有一个从IP=125.135.15.194来的Doctor放帖子,是一个spam?
为什么没有登录能放帖子?
- http://www.msckobe.com/cgi-l
ocal/mainpage.pl
- 問題1:文字化け,すべてGB2312に統一
- 問題2:yyyy_admnboard.pl管理ツールのパスワード圧縮方式==>解決
- WWWBoard(http://www.scriptarch
ive.com/wwwboard.html)
- WWWBoard
Frequently Asked Questions(http://www.scriptarchive.com/faq/wwwboard.html)
- WWWBoard中国語版ダ
ウンロード
- チェック結果 "perl -c -w cgi-local/yyyy_admnquick.pl":
Name "main::datafile" used only once: possible typo at
/cgi-local/yyyy_admnquick.pl line 34.
Name "main::time" used only once: possible typo at /cgi-local/yyyy_admnquick.pl
line 579.
Name "main::TOP_BOT" used only once: possible typo at
/cgi-local/yyyy_admnquick.pl line 805.
- チェック結果 "perl -c -w cgi-local/yyyy_admnboard.pl":
Name "main::datafile" used only once: possible typo at
/cgi-local/yyyy_admnboard.pl line 34.
Name "main::time" used only once: possible typo at /cgi-local/yyyy_admnboard.pl
line 578.
Name "main::TOP_BOT" used only once: possible typo at
/cgi-local/yyyy_admnboard.pl line 804.
- チェック結果 "perl -c -w cgi-local/register.pl":
Name "main::quote_text" used only once: possible typo at /cgi-local/register.pl
line 49.
Name "main::show_faq" used only once: possible typo at /cgi-local/register.pl
line 47.
Name "main::subject_line" used only once: possible typo at
/cgi-local/register.pl line 50.
Name "main::mesgfile" used only once: possible typo at //cgi-local/register.pl
line 38.
Name "main::use_time" used only once: possible typo at /cgi-local/register.pl
line 52.
Name "main::subject" used only once: possible typo at /cgi-local/register.pl
line 208.
- チェック結果 "perl -c -w cgi-local/mainboard.pl":
Name "main::zzino" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::wday" used only once: possible typo at /cgi-local/mainboard.pl line
421.
Name "main::zznlink" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzctime" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzblksize" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzrdev" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzgid" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzblocks" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzmode" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::yday" used only once: possible typo at /cgi-local/mainboard.pl line
421.
Name "main::zzatime" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::isdst" used only once: possible typo at /cgi-local/mainboard.pl
line 421.
Name "main::zzdev" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzuid" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
Name "main::zzmtime" used only once: possible typo at /cgi-local/mainboard.pl
line 600.
- mainpage.pl
Name "main::allow_html" used only once: possible typo at/cgi-local/mainpage.pl
line 83.
Name "main::title" used only once: possible typo at /cgi-local/mainpage.pl line
36.
Name "main::req" used only once: possible typo at /cgi-local/mainpage.pl line
59.
omniboard 论坛程序是由 Matt Wright 的 WWWBoard 改进而来,该程序增加了汉字,
文件锁定,笔名注册,分页,封锁IP,防止重贴,自动恢复等许多功能。该程序在免
费网站 http://www.hypermart.net 上完成调试。
Matt Wright 的 URL 是:
http://worldwidemart.com/scripts/wwwboard.shtml
本程序含有下列文件:
1. readme.txt - 安装指南,本文。
2. index.html - 索引文件,该索引文件必须放入论坛文件
的子目录中,以防止密码文件等被暴露。
3. addnew.html - 加新贴网页。
4. mainboard.html - 存放贴子目录的网页。
5. mainpage.pl - 分页显示论坛贴子目录。
6. mainboard.pl - 上贴,跟贴程序。
7. register.html - 注册笔名网页。
8. register.pl - 注册笔名程序。
9. serial.txt - 贴号计数器。
10. xxxx_bywhom.txt - 存放上贴者的IP信息。
11. xxxx_dup.txt - 存放前一个贴子的信息,用于防止重贴。
12. xxxx_badguy.txt - 存放捣乱者的IP,取消其上贴权。
13. xxxx_regpwd.txt - 注册笔名密码文件。
14. xxxx_admnpwd.txt - 版主密码文件。
15. yyyy_admnboard.html- 论坛管理网页。
16. yyyy_admnboard.pl - 论坛管理程序。
17. yyyy_admnquick.pl - 论坛管理程序,较快。
18. messages/ - 用于存放贴子的子目录。
你需要对这些文件进行必要的设定,使其能在你的服务器上正常运行。下面是
有关说明。
___________________________________________________________________________
forum
=====
你要创建一个名叫 forum 的子目录, 把上述文件放入该目录中。
目录的访问权限应设置为 rwxrwxrwx
___________________________________________________________________________
readme.txt
==========
请仔细阅读本文。
___________________________________________________________________________
index.html
==========
索引文件,该索引文件必须放入论坛文件的目录中,以防止密码文件等被暴露。
___________________________________________________________________________
addnew.html
===========
加新贴网页。设定上贴程序的 URL 和注册笔名网页的 URL。请根据你的系统进行设定。