请记住以下几个要点:
1. 你必须把代码另存为 .pl 的文件,例子: yeshack.pl
2. 把这个pl文件放到 bin的文件夹中
3. 任何的perl测试代码开头都是 "#!/usr/bin/perl"
4. 在window下,你需要使用CMD
(在这次的教学中,为了方便新手,方便自己,我写了一个批处理来调用CMD.我把这个批处
理一起放到bin的文件夹中.你可以在附件下载这个批处理或者自己写.)
5. 测试代码的命令是:perl 名字.pl, 例子:perl yeshack.pl
6.最后当你输入了perl 名字.pl的命令后,并不代表直接测试,只是例出使用方法.
例子:
D:\Perl\bin>perl yeshack.pl
+++++++++++++++++++++++++++++++++++++++++++++++++++
Usage: perl nenu.pl [site] [phpbb folder] [username] [proxy (optional)]
i.e. perl nenu.pl www.site.com /forum/ BigAdmin 127.0.0.1:3128
++++++++++++++++++++++++++++++++++++++++++++++++++++
说明:
usage:(使用说明)perl nenu.pl [site(网站)] [phpbb folde(路径)] [username(用户
名)] [proxy (optional)(代理(可要可不要)]
i.e.(举例) perl nenu.pl www.site.com /forum/ BigAdmin 127.0.0.1:3128
从以上这个例子,可以知道,这个测试代码的使用方法是输入命令:
perl nenu.pl www.站点.com /forum/ BigAdmin 127.0.0.1:3128
安装PERL请到
http://www.activestate.com/downloads/
图片教程:(分为4个)
http://hi.baidu.com/%5Fhacked/album/item/8005961877ea900335fa4183.html
http://hi.baidu.com/%5Fhacked/album/item/41b4ec43418a951773f05d83.html
http://hi.baidu.com/%5Fhacked/album/item/22453e4f8e31b332afc3ab8c.html
http://hi.baidu.com/%5Fhacked/album/item/286590343746f6b3d0a2d38e.html
按装教程:(分为3个)
http://hi.baidu.com/%5Fhacked/album/item/42ce4b093ef2e8ab2eddd48e.html
http://hi.baidu.com/%5Fhacked/album/item/f2cd69e7b7156b2ab938208e.html
http://hi.baidu.com/%5Fhacked/album/item/3a38d6c44a8207ad8226ac8a.html