14 Mar 2004

落伍者三周岁了

我常泡的一个论坛<<落伍者>>三周岁了,
小贺一下
公布我的AspxBoy.Com.Article的源代码
帖子在这里
源码在这里
希望各位指正。

10 Mar 2004

转一篇 搞笑的

http://www.cnblogs.com/huobazi/articles/2690.aspx

04 Mar 2004

MessageBox Control in ASP.NET

在ASP.NET里实现MessageBox

http://www.microsoft.com/india/msdn/articles/119.aspx?










ShowMessageAtStartup
 
This control is used to show message at startup of the page. For example, if you want to inform the user with some information using message box after the post back. Then you can use this control. This control has following two properties,
 



MessageText: This property is used to set the Message which is showed in the message box.
Enabled: This property is used for enabling or disabling this control depending upon the
requirement.

 
MessageAtSubmit
 
This control is used to show alert message or confirm message box when the page is submitted. For example, when the user is pressing a button to delete a record. During that time, if you want to ask the user for confirmation. Then you can use this control. This control has following properties,
 








MessageText: This property is used to set the Message which is showed in the message box.
Enabled: This property is used for enabling or disabling this control depending upon the
requirement.
IsConfirmMessage: This property is used to mention whether it is confirmation message box or alert message box.
ConfirmMessagePassClientScript: This property is used to mention the client side script which has to executed if the confirmation message return true. i.e. when users presses ok button. This property will be used only when isConfirmmessage property is set to true
ConfirmMessageFailClientScript: This property is used to mention the client side script which
has to executed if the confirmation message return false. i.e. when users presses
cancel button. This property will be used only when isConfirmmessage property
is set to true.

28 Feb 2004

Serv-U FTPD 2.x/3.x/4.x/5.x remote overflow exploit V7.0

5.0的版本也发现了溢出漏洞
源码
http://www.cnhonker.com/download/releases/Codes/Servu2.c

27 Feb 2004

电脑报使用盗版软件????

今天下午
落伍者的网友几十位执着的php爱好者
来到电脑报论坛,质问电脑报论坛使用盗版VBB论坛程序一事,由于人员太多
致使CPCW的服务器爆慢...
当时的在线人员名单
1996619, 286_out, 34w, 520cat, 730562, 李雷, 老同志, AK47, 刘忙, 龙飞追天, Azephyr, 落伍者-skfu, 落伍者-wlpsky, 落伍者-重庆森林, 落伍者-菜虫一条, 落伍者-飞翔的鱼, 落伍者天意, 落伍者_ Cristy, 落伍者_心宇, 落伍者_涩涩, 落伍者_问题青年, 落伍者_ketle, 落伍者_易舟, 落伍者_打盹鱼, 落伍者_何必浪费, 落伍者_活靶子, 落伍者_花月留痕, 落伍者_呓语, 落伍者—忆风, 落伍者—墨迹, 落伍者资源, 落伍_@流浪客@, 林雪叶, banming, Cncode.com, cp-ym, 秦川, 小生手记, 肖风, 任飘伶, 睡猪猪, 朔风轻扬, 山寨王, guoshan, gxzhong, hacker52019, heavenhell9876, hhstar, 天狼星, 天枫十四郞, im286-oydd, im286_682mi, im286_8u8u, im286_adam, im286_allin, im286_am110, im286_Baiboy, im286_bandw, im286_bhcs, IM286_Care4, im286_china.com, im286_coohoo, im286_dnext, im286_小晓, im286_eagle, im286_ejan, im286_fczx, im286_fmjoy, IM286_FZHQUE, im286_hanliu, im286_Harper, im286_hnzh, im286_im286, im286_keywing, im286_ki007, im286_mdjlw, im286_mylls, im286_oldfriend, im286_Pizza, im286_Richiejen, im286_scant, im286_sunsword, im286_tocson, im286_uneed, im286_warsong, im286_wayboy, im286_www.4y.cn, im286_xxmaths, im286_yjj798, im286_莆田农民, im286_菜菜虫, im286花语者, 卧龙居士, IORI_1013, 我不懂电脑, 湘灵儿, 呜喂, jamsbood, judy, kiki_jsj, llkhbwh, lm286_西瓜, lu111111, lucky-me, maomao301, mhxc, mouseye, mymike, 伊不能静, 蒸馏水, ooodega, oplan, osdica, 正义的来福灵, 渔舟唱晚, 一級菜鳥, PCW_ahtao, PCW_项汉秋, PCW_wuhanman, PCW_平e指, PCW_阿飙, quiyt, scyoyo, skyey, softhand, sunlit, surf1980, suzzy, wangyg, wetty, wlfswzq, wulei1225, yuwei, zhang_ligang, zhengyi, zhongpei, ZZYY, 木头, ※朱雀※, 白日鼠, 碧海云天, 冰雪梦人, 冰封我的记忆, 大青菜, 戴三个表, 电子猫, 到底谁能告诉我, 地平线, 风雅, 甘阿, 骨灰, 古道瘦马, 豪豪_落伍者, 黑豆, 坎坷嘅卖菜仔

场面甚是宏大.
网友举证:
http://www.cpcw.com/bbs/admin/
显示:

vBulletin 2.3.0 管理员控制面板
©2003 -= WEEK9.COM =-

Week9.Com 的程序安装说明:
感谢大家选用☆北飘联盟☆汉化加强及美化的 vBulletin2.30版!


1、vBulletin为商业软件,本站不对使用本站提供的汉化Hack版而产生的任何纠纷负责,建议商业用户
购买正版的论坛程序


2、这个版本是☆北飘联盟☆小组所作,由于时间仓促,不保证完整的正确性,如果你发现问题 希望你
可以到我的论坛告诉我们一声,我们会及时修正,我们对大家的支持深表感谢。


3、升级问题:这次,在版本里面没有增加直接升级的文件,大家可以在论坛里面找到,升级的文件。
我们会及时的编写的!
......


另: 关于vBulletin的Licence购买的说明
http://www.vbulletin.com/order/
Leased License - $85
Owned License - $160

23 Feb 2004

好想再去上学...

昨天有点事去了西部大学城,
好漂亮啊,稍微有点偏僻而已.
政法,邮电学院,师大,新校区都好漂亮啊.
逛的我都不想回来了,真想再上几年学.
不如考研?

23 Feb 2004

用Asp.Net抓取web页面

演示:
http://www.github.com/demo/286.aspx


代码高亮显示(HightLight in Source Code Viewer)


http://www.github.com/code/default.aspx/S7s2zPJbeI9PJA/OK
HpAVwVaUEhf02EgEOgeB3Yd5Z7fLL3ZNgdv7XIqertUOYm9kbQ62
LshbJBwvWPBBYa4EyVMhvMhyEDPH8chU5ornn8=.Aspx

<html>
<head>
 

<SCRIPT runat="server">
  void Page_Load(Object sender, EventArgs e) {

    WebRequest req = WebRequest.Create("http://www.im286.com/index.php");
 string urliii="src="; //图片使用绝对连接
 urliii+="http://www.im286.com/";
    try {
        WebResponse result = req.GetResponse();
        Stream ReceiveStream = result.GetResponseStream();

        Byte[] read = new Byte[512];
        int bytes = ReceiveStream.Read(read, 0, 512);

        lblHTML.Text = "";
        while (bytes > 0)
        {

          // 注意:
          // 下面假定响应使用 gb2312 作为编码方式。
          // 如果内容以 ANSI 代码页形式(例如,932)发送,则使用类似下面的语句:
          //Encoding encode = System.Text.Encoding.GetEncoding("shift-jis");
          Encoding encode = System.Text.Encoding.GetEncoding("gb2312");
          lblHTML.Text = lblHTML.Text + encode.GetString(read, 0, bytes);
   
          bytes = ReceiveStream.Read(read, 0, 512);
   
        }
    } catch(Exception) {
        lblHTML.Text = "检索页时出错";
    }
 lblHTML.Text = lblHTML.Text.Replace("src=",""+urliii+"");
 lblHTML.Text = lblHTML.Text.Replace("\"","");
  }
</SCRIPT>
</head>

<body>
  <form method="post" action="Webrequest.aspx" runat="server">
   
    <asp:Label runat=server ID="lblHTML" Rows="30" Cols="80" EnableViewState="false"  Wrap="True"></asp:Label>
  </form>

</body>
</html>

<%@ Page language="C#" Trace="True" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>

22 Feb 2004

去网吧要办实名卡

今天萌生了去网吧玩会CS的念头,
去了结果扫兴而归.
原因是网吧都要办个什么实名卡才能上机说是上级部门的规定,每张卡工本费10元
不开心,没办还是回家上吧.

14 Feb 2004

Windows(2000/NT4.0)部份源码泄露

微软公司发言人汤姆·皮拉表示:“今天,我们发现Windows 2000和NT 4.0的部分源代码非法地出现在互联网上。”他警告说,任何第三方传播这些源代码都是非法的行为,微软将对此采取严肃行动。
Url
http://www.neowin.net/
 http://www.csdn.net/news/newstopic/14/14909.shtml

Windows 2000 Source Code
From: Undisclosed
Sent: Friday, February 18, 2000 12:55 PM
To: Various

/* Source Code to Windows 2000 /

#include “win31.h”
#include “win95.h”
#include “win98.h”
#include “workst~1.h”
#include “evenmore.h”
#include “oldstuff.h”
#include “billrulz.h”
#include “monopoly.h”
#define INSTALL = HARD

char make_prog_look_big[1600000];
void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)
{
make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
disable_RealPlayer();
disable_Lotus_Products();
hang_system();
}

write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();

if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}

if (detect_cache())
disable_cache();

if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}

/ printf(“Welcome to Windows 3.1”); /
/
printf(“Welcome to Windows 3.11”); /
/
printf(“Welcome to Windows 95”); /
/
printf(“Welcome to Windows NT 3.0”); /
/
printf(“Welcome to Windows 98”); /
/
printf(“Welcome to Windows NT 4.0”); */
printf(“Welcome to Windows 2000”);

if (system_ok())
crash(to_dos_prompt)
else
system_memory = open(“a:\swp0001.swp”, O_CREATE);

while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();
}

http://akcom.lithiumrat.org/sillyms.txt

原来MS的同学们不喜欢写注释?

另 博客堂的讨论
链接:
http://blog.joycode.com/adam/posts/12974.aspx
http://blog.joycode.com/hxinyu/posts/12980.aspx

12 Feb 2004

一个不错的代码编辑工具

CrimSon Editer

http://www.crimsoneditor.com/

我用它因为它体积小 启动迅速 最大的优点是免费
支持许多常用代码的语法高亮显示.
可以在这里下载到C#的代码高亮显示文件
http://www.crimsoneditor.com/board/CrazyWWWBoard.cgi?db=user0&mode=read&num=99&page=1&ftype=6&fval=c%23&backdepth=1

还有其他好的编辑工具都列在这里了:
http://www.crimsoneditor.com/english/editors.html