李开复给计算机系大学生的建议

       (1)练内功。不要只花功夫学习各种流行的编程语言和工具,以及一些公司招聘广告上要求的科目。要把数据结构、算法、数据库、操作系统原理、计算机体系结构、计算机网络,离散数学等基础课程学好。不妨试试Donald Knuth的Art of Computer Programming里的题目,如果你能够解决其中的大部分题目,就说明你在算法方面的功力不错了。

  (2)多实战。通过编程的实战积累经验、内化知识。建议大家争取在大学四年中积累编写十万行代码的经验。

  (3)求实干。不要轻视任何的实际工作,比如一些看似简单的编码或测试。要不懈追求对细节一丝不苟的实干作风与职业精神。

  (4)不放弃数学。数学是思维的体操,数学无处不在。尤其当你对一些“数学密集型”的领域有兴趣,例如视频、图像处理等等,你需要使它成为你的利器。

  (5)培养团队精神,学会与人合作。

  (6)激励创新意识,不为书本和权威意见所束缚。

  (7)有策略地“打工”。在不影响学业的前提下,寻找真正有意义的暑期工作或兼职。去找一个重视技术的公司,在一个好的“老板”指导下完成真正会被用户使用的程序。不要急于去一个要你做“头”而独挡一面的地方,因为向别人学习,是你的目的。打工和找工作一样,“不要只看待遇和职衔,要挑一个你能够学习的环境,一个愿意培养员工的企业,一个重视你的专业的公司,最后,要挑一个好老板。”

去掉QQ聊天广告,享受会员聊天界面(原)

        首先声明,这是本人修改的别人的文章。网上流传的去掉腾讯QQ聊天广告的方法并不完整,用几次之后广告就又回来了。我试过几次之后发现问题出在IMSkin.ini,因为最新的腾讯2008正式版中有两个IMSkin.ini文件,网上流传的文章只强调更改一个文件,所以……。

下面开始正题:

         我用的版本是QQ2008正式版,所以测试就用QQ2008正式版。

 

1.在QQ文件夹中用系统的搜索功能输入QQexternal开始搜索,找到QQexternal.exe和QQexternal.tlg两个隐藏文件并删除掉这两个文件,因为QQ的新闻首页就是由QQexternal.exe和QQexternal.tlg。

 

2.在QQ文件夹中用系统的搜索功能输入IMSkin.ini

会搜索到两个文件

D:\Program Files\Tencent\NewSkins\QQ2008\IMSkin.ini
D:\Program Files\Tencent\NewSkins\中国2008\IMSkin.ini

 

用下面的内容去覆盖这两个IMSkin.ini文件的内容,然后保存(两个文件的内容相同)。

注意:必须两个文件都改。否则不能完全去掉QQ聊天模块的广告。

[main]
BackGround=169,213,244
MiddlerWidth=3
ShowMsg_Line=118,171,211
Edit_Line=118,171,211
Splitter1=255,255,255
Splitter2=255,255,255
crLogo=11,91,152
QZone_Line=118,171,211

[Border]
UserCustomBorder=true
top=26
bottom=3
left=4
right=4
topDib=IMBorderTop.bmp
bottomDib=IMBorderBottom.bmp
leftDib=IMBorderLeft.bmp
rightDib=IMBorderRight.bmp

topDib2=IMBorderTop2.bmp
topleftDib2=IMBorderLeftTop2.bmp
toprightDib2=IMBorderRightTop2.bmp
leftDib2=IMBorderLeft2.bmp
rightDib2=IMBorderRight2.bmp
bottomleftDib2=IMBorderLeftBottom2.bmp
bottomrightDib2=IMBorderRightBottom2.bmp
bottomDib2=IMBorderBottom2.bmp

Text=11,91,152
ButtonRight=5
RoundRect=6
Min=IMMinButton_Normal.bmp
MinOver=IMMinButton_Hover.bmp
MinDown=IMMinButton_Down.bmp
Max=IMMaxButton_Normal.bmp
MaxOver=IMMaxButton_Hover.bmp
MaxDown=IMMaxButton_Down.bmp
Restore=IMRestoreButton_Normal.bmp
RestoreOver=IMRestoreButton_Hover.bmp
RestoreDown=IMRestoreButton_Down.bmp
Close=IMCloseButton_Normal.bmp
CloseOver=IMCloseButton_Hover.bmp
CloseDown=IMCloseButton_Down.bmp
[BigToolBar]
BG_Dib=IMBigToolBarBackground.bmp
BG_cr=123,158,239
BG_Splitter=107,117,214
Text=21,70,105
height=40
topSpace=0
bottomSpace=0
leftSpace=0
rightSpace=-242
Separator1 = 173,217,255
Separator2 = 51,113,200
ButtonIcoWidth = 24
VqqIco=IMBigToolbarVQQ.ico
SendFileIco=IMBigToolbarSendFile.ico
SendFileDisIco=IMBigToolBarSendFile_Disabled.ico
MqqIco=IMBigToolbarMQQ.ico
MqqDisIco=IMBigToolBarMQQ_Disabled.ico
GameIco=IMBigToolbarGame.ico
WindowIco=IMBigToolbarWindow.ico
WindowDisIco=IMBigToolbarWindow_Disabled.ico
InviteIco=IMBigToolbarInvite.ico
InviteDisIco=IMBigToolbarInvite_Disabled.ico
GroupManageIco=groupmanage.ico
AIOMusicIco=IMBigToolbarMusic.ico
AIOPlayIco=IMBigToolbarPlay.ico
AIOPlayDisIco=IMBigToolbarPlay_Disabled.ico
AIOQQPetIco=IMBigToolBarPet.ico
AIOQQPetDisIco=IMBigToolbarPet_Disabled.ico
AIOSongIco=IMBigToolBarSendRing.ico
AIOSongDisIco=IMBigToolBarSendRing_Disabled.ico
AIOQRingIco=IMBigToolBarRing.ico
AIOQRingIco2=IMBigToolBarRing2.ico
AIOQRingDisIco=IMBigToolBarRing_Disabled.ico
AIORemoteIco=IMBigToolbarAssistance.ico
AIORemoteDisIco=IMBigToolbarAssistance_Disabled.ico
AIOShareIco=IMBigToolBarShare.ico
AIOShareDisIco=IMBigToolBarShare_Disabled.ico
AIO3DShowIco=IMBigToolBar3DShow.ico
AIO3DShowDisIco=IMBigToolBar3DShow_Disabled.ico
AIOQQVQQIco=IMBigToolBarVideo.ico
AIOQQVQQDisIco=IMBigToolBarVideo_Disabled.ico
AIOQQSQQIco=IMBigToolBarQQSQQ.ico
AIOQQSQQDisIco=IMBigToolBarQQSQQ_Disabled.ico
GroupSpaceIco=IMBigToolbarGroupSpace.ico
QQLiveIco=IMBigToolbarQQLive.ico
QQLiveDisIco=GroupLive32_Disabled.ico
GroupAudioIco=IMBigToolbarMutiAudio.ico
GroupAudioDisIco=IMBigToolbarMutiAudio_Disabled.ico
SessionDlgMyPaiPaiIco=SessionDlgMyPaiPai.ico
SessionDlgFriendIco=SessionDlgFriend.ico
SessionDlgFriendDisableIco=SessionDlgFriendDisable.ico
SessionDlgBoringIco=SessionDlgBoring.ico
SessionDlgMsgModeIco=SessionDlgMsgMode.ico
QZoneDlgBackIco = QZoneDlgBack.ico
QZoneDlgForwardIco = QZoneDlgForward.ico
QZoneDlgRefreshIco = QZoneDlgRefresh.ico
QZoneDlgMyHomeIco = QZoneDlgMyHome.ico
QZoneDlgFavoritesIco = QZoneDlgFavorites.ico
QZoneDlgMarketIco = QZoneDlgMarket.ico
QZoneDlgBackDisableIco = QZoneDlgBackDisable.ico
QZoneDlgForwardDisableIco = QZoneDlgForwardDisable.ico
QZoneDlgInfoIco = QZoneDlgInfo.ico
QZoneDlgAddFriendIco = QZoneDlgAddFriend.ico
QZoneDlgCommendIco = QZoneDlgCommend.ico
QZoneDlgHomePageIco = QZoneDlgHomePage.ico
QQLiveBBSIco = QQLive_BBS_32_32.ico
QQLiveFreshIco = QQLive_fresh_32_32.ico
QQLiveVoteIco = QQLive_vote_32_32.ico
AIOMovieIco = IMBigToolBarMovie.ico
AIOMovieDisIco = IMBigToolBarMovie_Disabled.ico
AIOCftIco = IMBigToolBarCft.ico
AIOCftDisIco = IMBigToolBarCft_Disabled.ico
AIOBlackListIco = IMBigToolBarBlackList.ico
AIOBlackListDisIco = IMBigToolBarBlackList_Disabled.ico
AIOGroupEmailIco = IMBigToolbarGroupmail.ico
AIOQQTalk = IMBigToolbarQQtalk.ico
AIODelFriendIco = IMBigToolBarDelFriend.ico

ButtonOver=89,189,247
ButtonOverLine=63,171,234
ButtonDown=89,189,247
ButtonDownLine=63,171,234
[SmallToolBar]
BG_Dib=IMSmallToolbarBackground.bmp
BG_cr=198,219,247
FontIco=IMSmallToolbarFont.ico
FontDisIco=IMSmallToolbarFont_Disabled.ico
FaceIco=IMSmallToolbarFace.ico
FaceDisIco=IMSmallToolbarFace_Disabled.ico
GroupIco=IMSmallToolbarGroup.ico
QuickIco=IMSmallToolbarQuick.ico
PaiPaiQuickReplyIco=IMSmallToolbarPaiPaiQuick.ico
PictureIco=IMSmallToolbarPicture.ico
PictureDisIco=IMSmallToolbarPicture_Disabled.ico
CatchIco=IMSmallToolbarCatch.ico
CatchDisIco=IMSmallToolbarCatch_Disabled.ico
SceneIco=IMSmallToolbarScene.ico
SceneDisIco=IMSmallToolbarScene_Disabled.ico
MotionIco=IMSmallToolbarAction.ico
QRingIco=IMSmallToolbarQRing.ico
QRingDisIco=IMSmallToolbarQRing_Disabled.ico
PicForbidIco=IMSmallToolbarPicForbid.ico
SuperbagIco=IMSmallToolbarSuperbag.ico
SuperbagDisIco=IMSmallToolbarSuperbag_Disabled.ico
searchIco=IMSmallToolbarSearch.ico
PttIco=IMSmallToolbarPtt.ico
PttDisIco=IMSmallToolbarPtt_Disabled.ico
OtherContentIcon=IMSmallToolbarOtherContent.ico
OtherContentDisIcon=IMSmallToolbarOtherContent_Disabled.ico
ShakeWinIcon=IMSmallToolbarShakeWin.ico
ShakeWinDisIcon=IMSmallToolbarShakeWin_dis.ico
CalculateIcon=IMSmallToolbarCalculate.ico
PresentIcon=IMSmallToolbarPresent.ico
ButtonOver=183,214,245
ButtonOverLine=135,164,197
ButtonDown=170,200,230
ButtonDownLine=109,146,186
Splitter1=120,180,222
Splitter2=234,248,255
[SideBar]
DialogBG=255,255,255
Line=118,171,211
TencentNorColor=7,30,129
TencentOvColor=99,119,190
TencentContentTextColor=125,125,123
[SideBarButton]
ButtonHeight=20
TextColor=13,55,85
TextColorOv=45,94,136
ButtonNor=IMSidebarButton_Normal.bmp
ButtonOver=IMSidebarButton_Hover.bmp
ButtonDown=IMSidebarButton_Down.bmp
ButtonExtent=IMSidebarButtonExpand_Normal.bmp
ButtonExtentOver=IMSidebarButtonExpand_Hover.bmp
ButtonExtentDown=IMSidebarButtonExpand_Down.bmp
Menu=IMSidebarMenu_Normal.bmp
MenuOver=IMSidebarMenu_Hover.bmp
MenuDown=IMSidebarMenu_Down.bmp

Group_TabBK=group_tabbk.bmp
Group_TabButBK=group_tabbutbk.bmp
Group_TabCheck=group_tabCheck.bmp
[FriendInfo]
BG_Dib=IMFriendInfoBackground.bmp
BG_DibExt=IMFriendInfoBackground_big.bmp
BG_cr=239,243,255
Text=13,55,85
Text_Over=45,94,136
SpinBn_Dib=statusbar_spinbutton.bmp
;长昵称的滚动条贴图
SpinBn_cx=17
SpinBn_cy=16
[Button]
ButtonNor=IMButton_Normal.bmp
ButtonOver=IMButton_Hover.bmp
ButtonDown=IMButton_Down.bmp
ButtonDefault=IMButton_Default.bmp

[TAB]
TabSelected = tabsel.bmp
TabUnselected = tabunsel.bmp
ToolBar = toolbarBK.bmp

GroupTabBK = tabBK.bmp
GroupTabNormal = tabNormal.bmp
GroupTabPressed = tabPressed.bmp
GroupTabBKAni = tabBKAni.bmp

[USERINFO]
UserInfoTitle =UserInfoTitle.bmp
UserInfoBK = 255,255,255
UserInfoLine =118,171,211
UserInfoText =0,0,255
UserInfoTextTitle = 255,255,255

[FONTBAR]
FontBarBK=FontBarBK.bmp
FontBarNormal = FontBtnNor.bmp
FontBarCheck = FontBtnOver.bmp
FontBarHover = FontBtnHover.bmp
FontIco=bold.ico
ItalicIco=Italic.ico
UnderlineIco=underline.ico
ColorIco=color.ico

[MMSender]
crBorder=36,102,196
MMSIco=Send_Love.ico

[AIOMenuBar]
menuCheck=menuBarCheck.bmp
menuLeft=menuBarLeft.bmp
menuRight=menuBarRight.bmp
menuButtonBk=menuButBk.bmp
menuBk=menuBarBk.bmp
menuBarHeight = 22
menuButtonWidth = 45
menuShowBand = 0
[MMSenderBar]
GroupSend = MMSBar_GroupSend.ico
SendSet = MMSBar_SendSet.ico
PictureRing = MMSBar_PictureRing.ico
Web = MMSBar_QQWEB.ico
Web_Phone = MMSBar_QQWEB_Phone.ico
MediaRing = MMSBar_MediaRing.ico
Card = MMSBar_Card.ico
Info = MMSBar_Info.ico
Game = MMSBar_Game.ico
MQQ = MMSBar_MobileQQ.ico
KK = MMSBar_QQEye.ico
Super = MMSBar_Super.ico
Wap = MMSBar_Wap.ico
Pay = MMSBar_Pay.ico

[ShareSongDlg]
MusicLog=vip.bmp
MusicLogHover=vip_hover.bmp
MusicLogDown=vip_down.bmp
PlayNormal=play_normal.bmp
PlayHover=play_hover.bmp
PlayDown=play_down.bmp
PauseNormal=pause_normal.bmp
PauseHover=pause_hover.bmp
PauseDown=pause_down.bmp
StopNormal=stop_normal.bmp
StopHover=stop_hover.bmp
StopDown=stop_down.bmp
ChangeMusicNormal=add.bmp
ChangeMusicHover=add_hover.bmp
ChangeMusicDown=add_down.bmp
StoreNormal=save.bmp
StoreHover=save_hover.bmp
StoreDown=save_down.bmp
CloseNormal=close.bmp
CloseDown=close_down.bmp
SongInfoZone=wordBG.bmp
bk=BG.bmp

[SkinButtonEx]
DefaultBtnTextColor=12,78,124

[SkinDefine]
StatusPicWidth=40
StatusPicHeight=40

[Saturation]
StVal=8

[AIOTopPos]
AIOPosVal=1

保存完毕之后,再重启QQ程序。这时你的QQ聊天界面也会像会员聊天界面一样的漂亮简洁。

 

最后注意,在本机QQ秀可能不能显示。但是聊天对方能够看到你的QQ秀,实际没有什么影响的。

找到加密的音乐链接(原)

         很多原创音乐网站都是巨大的音乐库,不仅容量大还支持流媒体!上次看到http://www.a8.com/有很多优秀的音乐,自己的空间速度很慢,所以就盗链了!

下面看我操作:

1:准备工具。

WinSock Expert v0.6 beta1 容笑汉化版  (很好用的抓包工具)                  下载

2:打开网站。

http://www.a8.com

选择一首自己喜欢的歌曲。

我以这首歌曲示例。

 一个人挺好

看下面的操作:

1. 打开音乐主页。

找到加密的音乐链接(原) - 黑暗力量 - 小男生的博客

 2.用WinSock Expert v0.6 beta1 容笑汉化版 选择要抓包的网页。

找到加密的音乐链接(原) - 黑暗力量 - 小男生的博客

3.点击“播放音乐”之后就去看WinSock Expert v0.6 beta1 容笑汉化版抓到的数据包!(图中我选定的内容就是这首歌曲的源地址,怎么使用就看你自己了。)

找到加密的音乐链接(原) - 黑暗力量 - 小男生的博客

http://www.a8.com使用javascript脚本加密,如果你学过javascript就知道原理了!我这不解释了!

http://stream.a8.com/a8ims/A8Blog/2007/9/1/3fc5fe8e-b561-4cf0-a0b0-632c04971045.mp3这个地址就是我举例的这首歌曲的地址!

 

国内外安全网站(转自浩天博客)

www.frsirt.com/exploits/

es.wikipedia.org/wiki/Exploit

www.securiteam.com/exploits

http://shinnai.altervista.org/

http://www.youarehacker.com/e2007-01-06.html

国内

http://www.z1z8.com/

http://www.neeao.com/exp/

1 www.frsirt.com

http://www.dswlab.com/vir/v20070103.html

2 www.derkeiler.com

www.h4cky0u.org

3 http://www.security.nnov.ru/

http://governmentsecurity.org/

4 http://pforum.pccenter.com.tw/viewthread.php?tid=67&extra=page%3D1

5 http://www.swerat.com/forums/index.php?act=Login&CODE=01

6 http://chasenet.org/

7 http://swerat.com/

www.neoteam.com.br

我先来几个我认为比较好的

http://packetstormsecurity.nl/

http://hack.com.ru/

http://www.hackcoza.tk/

http://www.web-hack.ru/

http://www.securiteam.com/

http://www.security.nnov.ru/

http://www.hackerzhell.co.uk/indexmain.php

http://hacktheb0x.tk/

http://neworder.box.sk/

http://www.k-otik.com/

http://www.security-corporation.com/

http://www.securityfocus.com/

8 http://metasploit.blogspot.com/

9 http://www.godexp.org/

http://www.milw0rm.com/

这些都是我珍藏的好的漏洞发布网址:

国外:

www.frsirt.com/exploits/

es.wikipedia.org/wiki/Exploit

www.securiteam.com/exploits

国内:

http://www.z1z8.com/

http://forum.eviloctal.com/simple/index.php?f22.html

EXP

http://packetstormsecurity.nl/

http://hack.com.ru/

http://www.hackcoza.tk/

http://www.web-hack.ru/

http://www.securiteam.com/

http://securityvulns.com/exploits/

http://www.hackerzhell.co.uk/indexmain.php

http://hacktheb0x.tk/

http://neworder.box.sk/

http://www.k-otik.com/

http://www.security-corporation.com/

http://www.securityfocus.com/

http://www.hackcoza.com/lynx.html

http://www.anyside.com/

http://www.cnids.com

http://www.addict3d.org/index.php?page=security

http://www.frsirt.com

http://www.securitydot.net/

http://milw0rm.com

http://blog.csdn.net/group/ExploiT/

http://seclists.org

http://metasploit.com/projects/Framework/

0day

http://www.milw0rm.com/

http://www.frsirt.com/

http://www.derkeiler.com/

http://www.securiteam.com/

http://www.securityfocus.com/

http://www.packetstormsecurity.org/

http://www.addict3d.org/index.php?page=security

http://neworder.box.sk/

http://archives.neohapsis.com/archives/

http://security.nnov.ru/exploits/

http://securitydot.net/index.php

http://www.php-security.org/index.html

http://www.red-database-security.com/

http://packetstormsecurity.nl/

http://www.aspitalia.com/focuson/notizie_Microsoft_Security_Bulletin.aspx

http://marc.info/?l=bugtraq

C语言-实用算法

递归法转换整数为字符   
  
void convert(int n)   
{int t;   
if((t=n/10)!=0)   
convert(t);   
putch(n%10+’0′);   
}   
  
  
判断素数   
  
int isPrime(int n)   
{int i;   
for(i=2;i<n/2;i++)   
if(n%i==0) return 0;   
return 1;   
}   
  
  
求闰年   
  
if((year%4==0&year%100!=0)||(year%400)==0)   
printf("%d is a leap year",year);   
else  
printf("%d is not a leap year",year);   
  
  
求N的阶乘   
  
for(int t=1,i=2;i<=N;i++)   
t*=i;   
printf("%d",t);   
  
  
求m和n最大公约数和最小公倍数   
  
if(a<b)   
{a=t;a=b;b=t;}   
r=a%b;   
while(r)   
{a=b;b=r;r=a%b;}   
printf("(a,b)最大公约数%d,(a,b)最小公倍数%d",r,ab/r);   
  
  
大写字母改小写字母   
  
c1=getchar();   
c2=c1+32;   
printf("%c,%c",c1,c2);   
  
  
小写字母改大写字母   
  
c1=getchar();   
c2=c1-32;   
printf("%c,%c",c1,c2);   
  
  
求3个数由小到大的顺序输出   
  
if(a>b) {t=a;a=b;b=t;}   
if(a>c) {t=a;a=c;c=t;}   
if(b>c) {t=b;b=c;c=t;}   
* 若要求由大到小顺序输出,改’>’为'<‘即可。   
  
求ax*x+b*x+c方程的解   
  
if(fabs(a)<=1e-6)   
printf("非二次方程");   
else  
disc=b*b-4*a*c;   
if(fabs(disc)<=1e-6)   
printf("有两相等实根:%f\n",-b/(2*a));   
else if(fabs(disc)>1e-6)   
{x1=(-b+sqrt(disc))/(2*a);   
x2=(-b-sqrt(disc))/(2*a);   
printf("有两相异实根:%f和%f\n",x1,x2);   
}   
else  
{realpart=-b/(2*a);   
imagpart=sqrt(-disc)/(2*a);   
printf("有两共轭复根:\n");   
printf("%f+%fi\n",realpart,imagpart);   
printf("%f-%fi\n",realpart,imagpart);   
}   
  
  
求Fibonacci数列 ( f(n)=f(n-1)+f(n-2) )   
  
int f[N]={1,1};   
for(i=2;i<N;i++)   
f[i]=f[i-1]+f[i-2];   
printf("%d",f[i]);   
  
  
迭代法求x=sqrt(a) ( 迭代公式:x(n+1)=(x(n)+a/x(n))/2 绝对误差<0.00001 )   
double mysqrt(double x0)   
{double x1,y;   
x1=(x0+a/x0)/2.0;   
if(fabs(x1-x0)>0.00001)   
y=mysqrt(x1);   
else  
y=x1;   
return(y);   
}   
  
  
求方程2*x*x*x-4*x*x+3*x-6的根   
  
(1)牛顿迭代法求方程在1.5附近的根    
( 牛顿迭代公式:x(n+1)=x(n)-f(x(n))/f'(x(n))  绝对误差<0.001 )   
  
double f(double x0)   
{double x1,y;   
x1=x0-(2*x0*x0*x0-4*x0*x0+3*x0-6)/(6*x0*x0-8*x0+3);   
if(fabs(x1-x0)>0.001)   
y=f(x1);   
else  
y=x1;   
return(y);   
}   
  
(2)二分法求方程在(-10,10)之间的根  ( 绝对误差<0.001 )   
  
/* 子程序部分 */  
float f(float x)            
{return(2*x*x*x-4*x*x+3*x-6);}   
– – – – – – –   
/* 主程序部分 */  
float m=-10,n=10;r=(m+n)/2;   
while(f(r)*f(n))   
{if(f(r)*f(n)<0)   
m=r;   
else    
n=r;   
if(fabs(n-m)<0.001)   
break;   
r=(m+n)/2;   
}   
printf("%f",r); /* r即为根 */  
  
(3)弦截法求根     
  
/* 子程序部分 */  
float f(float x)            
{return(2*x*x*x-4*x*x+3*x-6);}   
  
float xpoint(float x1,float x2);   
{return(x1*f(x2)-x2*f(x1))/(f(x2)-f(x1));}   
  
float root(float x1,float x2)   
{int i;   
float x,y,y1;   
y1=f(x1);   
do{   
x=xpoint(x1,x2);   
y=f(x);   
if(y*y1>0)   
{y1=y;   
x1=x;}   
else  
x2=x;   
}while(fabs(y)>=0.0001);   
return(x);   
}   
– – – – – – –   
/* 主程序部分 */  
do{   
printf(input x1,x2:\n");  
scanf("%f,%f",&x1,&x2);  
f1=f(x1);  
f2=f(x2);  
}while(f1*f2>=0);  
x=root(x1,x2);  
printf("一个根为:%f\n",x);  
 
 
冒泡法排序 (由小到大)  
int a[N+1];  
for(i=1;i<=N;i++) /* 输入N个数 (数组输入功能)*  
scanf("%d",&a[i]);  
for(j=1;j<N;j++)       /* 排序开始 */  
for(i=1;i<=N-j;i++)  
if(a[i]>a[i+1])  
{t=a[i];a[i]=a[i+1];a[i+1]=t;}    
for(i=1;i<=N;i++)   /* 输出排好的这N个数 (数组输出功能) */  
printf("%d",a[i]);  
 
 
选择法排序 (由小到大)  
 
/* 子程序部分 */  
void sort(int array[],int n)  
{int i,j,k,t;  
for(i=0;i<n-1;i++)  
{k=i;  
for(j=i+1;j<n;j++)  
if(array[j]<array[k]) k=j;  
t=array[k];array[k]=array[i];array[i]=t;  
}  
 
 
插入法排序  
 
int a[N];   
/* 省略数组输入(见上:冒泡法)*/  
for(i=1;i<N;i++)  
{m=a[i];  
j=i-1;  
while(j>=0&&m>a[j])  
{a[j+1]=a[j];  
j–;  
}  
a[j]=m;  
}  
/* 省略数组输出(见上:冒泡法)*/  
 
 
数列中查找一个关键字  
 
(1)折半法  
 
BinarySearch(a,n,x,j)  
k=0;  
m=n-1;  
while(k<=m)  
{  
j=(k+m)/2;  
if(x==a[j]) exit;  
else if(x<a[j]) m=j-1;  
else k=j+1;  
}  
if(k>m) j=0;  
printf("%d",j);  
 
(2)顺序查找法  
 
int a[N];  
/* 省略数组输入(见上:冒泡法)*/  
for(i=0;i<N;i++)  
if(x==a[i])  
{printf("找到!序号为:%d\n",–i);  
break;  
}  
if(i==8)  
printf("没找到!");  
 
(3)快速顺序查找法  
 
int a[N];  
/* 省略数组输入(见上:冒泡法)*/  
a[N-1]=x;  
i=0;  
while(a[i]!=x) i++;  
if(i<N-1) printf("找到!序号为:%d\n",i);  
else printf("没找到!");   
  
  
汉诺塔(Hanoi) 
  
Hanoi(n,X,Y,Z)   
if(n==1)   
move(X,1,Z);   
else  
{   
Hanoi(n-1,X,Z,Y);   
move(X,n,Z);   
Hanoi(n-1,Y,X,Z);  

百度游戏(测试版)漏洞(原)

百度游戏(测试版): http://game.baidu.com/
                          百度游戏(测试版)漏洞(原) - 黑暗力量 - 小男生的博客
注意看下面网页的地址:

                   百度游戏(测试版)漏洞(原) - 黑暗力量 - 小男生的博客
                   地址:http://game.baidu.com/FCKeditor/
                          百度游戏(测试版)漏洞(原) - 黑暗力量 - 小男生的博客
                   地址:http://game.baidu.com/FCKeditor/editor/
                          
                   文件上传页面:
                          百度游戏(测试版)漏洞(原) - 黑暗力量 - 小男生的博客
                    地址:http://game.baidu.com/FCKeditor/editor/filemanager/upload/test.html  
                     翻译后的结果:↓
                          百度游戏(测试版)漏洞(原) - 黑暗力量 - 小男生的博客 

系统维护(原)

         前段时间两位可怜姐姐的电脑都被病毒袭击了,那惨样系统维护(原) - 黑暗力量 - 小男生的博客

         不提了,现在进入正题。
         首先:“开始”——“运行”输入“net stop server”然后回车,如果提示有其他服务一并关闭,直接输入“y”然后回车。

          然后把下面的内容:

md %systemroot%\1.com
attrib +r +s +h +a %systemroot%\1.com
cacls %systemroot%\1.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\sws32.dll
attrib +r +s +h +a %systemroot%\sws32.dll
cacls %systemroot%\sws32.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\kill.exe
attrib +r +s +h +a %systemroot%\kill.exe
cacls %systemroot%\kill.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\EXP10RER.com
attrib +r +s +h +a %systemroot%\EXP10RER.com
cacls %systemroot%\EXP10RER.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\finders.com
attrib +r +s +h +a %systemroot%\finders.com
cacls %systemroot%\finders.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\finder.com
attrib +r +s +h +a %systemroot%\finder.com
cacls %systemroot%\finder.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\Shell.sys
attrib +r +s +h +a %systemroot%\Shell.sys
cacls %systemroot%\Shell.sys /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\0Sy.exe
attrib +r +s +h +a %systemroot%\0Sy.exe
cacls %systemroot%\0Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\1Sy.exe
attrib +r +s +h +a %systemroot%\1Sy.exe
cacls %systemroot%\1Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\2Sy.exe
attrib +r +s +h +a %systemroot%\2Sy.exe
cacls %systemroot%\2Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\3Sy.exe
attrib +r +s +h +a %systemroot%\3Sy.exe
cacls %systemroot%\3Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\4Sy.exe
attrib +r +s +h +a %systemroot%\4Sy.exe
cacls %systemroot%\4Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\5Sy.exe
attrib +r +s +h +a %systemroot%\5Sy.exe
cacls %systemroot%\5Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\6Sy.exe
attrib +r +s +h +a %systemroot%\6Sy.exe
cacls %systemroot%\6Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\7Sy.exe
attrib +r +s +h +a %systemroot%\7Sy.exe
cacls %systemroot%\7Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\8Sy.exe
attrib +r +s +h +a %systemroot%\8Sy.exe
cacls %systemroot%\8Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\9Sy.exe
attrib +r +s +h +a %systemroot%\9Sy.exe
cacls %systemroot%\9Sy.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\exerouter.exe
attrib +r +s +h +a %systemroot%\exerouter.exe
cacls %systemroot%\exerouter.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\Logo1_.exe
attrib +r +s +h +a %systemroot%\Logo1_.exe
cacls %systemroot%\Logo1_.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\rundl132.exe
attrib +r +s +h +a %systemroot%\rundl132.exe
cacls %systemroot%\rundl132.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\rundll32.exe
attrib +r +s +h +a %systemroot%\rundll32.exe
cacls %systemroot%\rundll32.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\rundll.exe
attrib +r +s +h +a %systemroot%\rundll.exe
cacls %systemroot%\rundll.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\rundll.com
attrib +r +s +h +a %systemroot%\rundll.com
cacls %systemroot%\rundll.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\rundll32.com
attrib +r +s +h +a %systemroot%\rundll32.com
cacls %systemroot%\rundll32.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\smss.exe
attrib +r +s +h +a %systemroot%\smss.exe
cacls %systemroot%\smss.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\smss.com
attrib +r +s +h +a %systemroot%\smss.com
cacls %systemroot%\smss.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\vDll.dll
attrib +r +s +h +a %systemroot%\vDll.dll
cacls %systemroot%\vDll.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\Dll.dll
attrib +r +s +h +a %systemroot%\Dll.dll
cacls %systemroot%\Dll.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\command.pif
attrib +r +s +h +a %systemroot%\command.pif
cacls %systemroot%\command.pif /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\~tmp5199.exe
attrib +r +s +h +a %systemroot%\~tmp5199.exe
cacls %systemroot%\~tmp5199.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\EXERT.EXE
attrib +r +s +h +a %systemroot%\EXERT.EXE
cacls %systemroot%\EXERT.EXE /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\regedit.scr
attrib +r +s +h +a %systemroot%\regedit.scr
cacls %systemroot%\regedit.scr /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\logo1.exe
attrib +r +s +h +a %systemroot%\logo1.exe
cacls %systemroot%\logo1.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\logo_1.exe
attrib +r +s +h +a %systemroot%\logo_1.exe
cacls %systemroot%\logo_1.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\winampa.exe
attrib +r +s +h +a %systemroot%\winampa.exe
cacls %systemroot%\winampa.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\command\rundll32.exe
attrib +r +s +h +a %systemroot%\command\rundll32.exe
cacls %systemroot%\command\rundll32.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\svhost32.exe"
attrib +r +s +h +a "C:\Program Files\svhost32.exe"
cacls "C:\Program Files\svhost32.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Intel\rundll32.exe"
attrib +r +s +h +a "C:\Program Files\Intel\rundll32.exe"
cacls "C:\Program Files\Intel\rundll32.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Intel\svhost32.exe"
attrib +r +s +h +a "C:\Program Files\Intel\svhost32.exe"
cacls "C:\Program Files\Intel\svhost32.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Microsoft\svhost32.exe"
attrib +r +s +h +a "C:\Program Files\Microsoft\svhost32.exe"
cacls "C:\Program Files\Microsoft\svhost32.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Common Files\IEXPLORE.com"
attrib +r +s +h +a "C:\Program Files\Common Files\IEXPLORE.com"
cacls "C:\Program Files\Common Files\IEXPLORE.com" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\richnotify.exe
attrib +r +s +h +a %systemroot%\system32\richnotify.exe
cacls %systemroot%\system32\richnotify.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\Ravdm.exe
attrib +r +s +h +a %systemroot%\system32\Ravdm.exe
cacls %systemroot%\system32\Ravdm.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\mskey16.dll
attrib +r +s +h +a %systemroot%\system32\mskey16.dll
cacls %systemroot%\system32\mskey16.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\Realplayer.exe
attrib +r +s +h +a %systemroot%\system32\Realplayer.exe
cacls %systemroot%\system32\Realplayer.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\reshtm.dll
attrib +r +s +h +a %systemroot%\system32\reshtm.dll
cacls %systemroot%\system32\reshtm.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\resPro.dll
attrib +r +s +h +a %systemroot%\system32\resPro.dll
cacls %systemroot%\system32\resPro.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\stdie.dll
attrib +r +s +h +a %systemroot%\stdie.dll
cacls %systemroot%\stdie.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\3721"
attrib +r +s +h +a "C:\Program Files\3721"
cacls "C:\Program Files\3721" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\baidu"
attrib +r +s +h +a "C:\Program Files\baidu"
cacls "C:\Program Files\baidu" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\CNNIC"
attrib +r +s +h +a "C:\Program Files\CNNIC"
cacls "C:\Program Files\CNNIC" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\HDP"
attrib +r +s +h +a "C:\Program Files\HDP"
cacls "C:\Program Files\HDP" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\MMSAssist"
attrib +r +s +h +a "C:\Program Files\MMSAssist"
cacls "C:\Program Files\MMSAssist" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\p4p"
attrib +r +s +h +a "C:\Program Files\p4p"
cacls "C:\Program Files\p4p" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Yayad"
attrib +r +s +h +a "C:\Program Files\Yayad"
cacls "C:\Program Files\Yayad" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Yahoo!\Assistant"
attrib +r +s +h +a "C:\Program Files\Yahoo!\Assistant"
cacls "C:\Program Files\Yahoo!\Assistant" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Common Files\INTEXPLORE.pif"
attrib +r +s +h +a "C:\Program Files\Common Files\INTEXPLORE.pif"
cacls "C:\Program Files\Common Files\INTEXPLORE.pif" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Common Files\IE-bar"
attrib +r +s +h +a "C:\Program Files\Common Files\IE-bar"
cacls "C:\Program Files\Common Files\IE-bar" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Common Files\Sogou PXP"
attrib +r +s +h +a "C:\Program Files\Common Files\Sogou PXP"
cacls "C:\Program Files\Common Files\Sogou PXP" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Documents and Settings\user\Local Settings\Temp\temp0010.exe"
attrib +r +s +h +a "C:\Documents and Settings\user\Local Settings\Temp\temp0010.exe"
cacls "C:\Documents and Settings\user\Local Settings\Temp\temp0010.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Documents and Settings\user\Local Settings\Temp\g0ld.com"
attrib +r +s +h +a "C:\Documents and Settings\user\Local Settings\Temp\g0ld.com"
cacls "C:\Documents and Settings\user\Local Settings\Temp\g0ld.com" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Documents and Settings\user\Local Settings\Temp\2hujh.dll"
attrib +r +s +h +a "C:\Documents and Settings\user\Local Settings\Temp\2hujh.dll"
cacls "C:\Documents and Settings\user\Local Settings\Temp\2hujh.dll" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Documents and Settings\user\Local Settings\Temp\uprar.exe"
attrib +r +s +h +a "C:\Documents and Settings\user\Local Settings\Temp\uprar.exe"
cacls "C:\Documents and Settings\user\Local Settings\Temp\uprar.exe" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Internet Explorer\IEXPLORE.com"
attrib +r +s +h +a "C:\Program Files\Internet Explorer\IEXPLORE.com"
cacls "C:\Program Files\Internet Explorer\IEXPLORE.com" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md "C:\Program Files\Internet Explorer\INTEXPLORE.com"
attrib +r +s +h +a "C:\Program Files\Internet Explorer\INTEXPLORE.com"
cacls "C:\Program Files\Internet Explorer\INTEXPLORE.com" /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\command.pif
attrib +r +s +h +a %systemroot%\system32\command.pif
cacls %systemroot%\system32\command.pif /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\albus.dat
attrib +r +s +h +a %systemroot%\system32\albus.dat
cacls %systemroot%\system32\albus.dat /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\sysapis.dll
attrib +r +s +h +a %systemroot%\system32\sysapis.dll
cacls %systemroot%\system32\sysapis.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\drivers\Albus.SYS
attrib +r +s +h +a %systemroot%\system32\drivers\Albus.SYS
cacls %systemroot%\system32\drivers\Albus.SYS /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\drivers\rinld.sys
attrib +r +s +h +a %systemroot%\system32\drivers\rinld.sys
cacls %systemroot%\system32\drivers\rinld.sys /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\intel\rundll32.exe
attrib +r +s +h +a %systemroot%\intel\rundll32.exe
cacls %systemroot%\intel\rundll32.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\cs.exe
attrib +r +s +h +a %systemroot%\system32\cs.exe
cacls %systemroot%\system32\cs.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\dxdiag.com
attrib +r +s +h +a %systemroot%\system32\dxdiag.com
cacls %systemroot%\system32\dxdiag.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\mh.exe
attrib +r +s +h +a %systemroot%\system32\mh.exe
cacls %systemroot%\system32\mh.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\MSCONFIG.COM
attrib +r +s +h +a %systemroot%\system32\MSCONFIG.COM
cacls %systemroot%\system32\MSCONFIG.COM /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\msdll.dll
attrib +r +s +h +a %systemroot%\system32\msdll.dll
cacls %systemroot%\system32\msdll.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\regedit.com
attrib +r +s +h +a %systemroot%\system32\regedit.com
cacls %systemroot%\system32\regedit.com /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\RX.EXE
attrib +r +s +h +a %systemroot%\system32\RX.EXE
cacls %systemroot%\system32\RX.EXE /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\sc.exe
attrib +r +s +h +a %systemroot%\system32\sc.exe
cacls %systemroot%\system32\sc.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\tdll.dll
attrib +r +s +h +a %systemroot%\system32\tdll.dll
cacls %systemroot%\system32\tdll.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\wow.exe
attrib +r +s +h +a %systemroot%\system32\wow.exe
cacls %systemroot%\system32\wow.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\ztdll.dll
attrib +r +s +h +a %systemroot%\system32\ztdll.dll
cacls %systemroot%\system32\ztdll.dll /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

md %systemroot%\system32\mswdm.exe
attrib +r +s +h +a %systemroot%\system32\mswdm.exe
cacls %systemroot%\system32\mswdm.exe /T /E /C /R EVERYONE ADMINISTRATORS SYSTEM GUEST USERS USER

pause

          上面的代码能够一定程度抵御病毒和木马的袭击,看得懂的自己研究,我不解释。

          将代码复制到记事本中,存为批处理文件(就是后缀名bat),然后运行保存的文件就OK了。

          最后安装几个常用的安全软件,

           奇虎360安全卫士       下载

            谷歌工具栏                下载

           谷歌工具栏不用介绍,奇虎安全卫士的操作如下:

            1.查杀木马。

                         系统维护(原) - 黑暗力量 - 小男生的博客

          2.清理恶意插件。

                         系统维护(原) - 黑暗力量 - 小男生的博客

           3.修补系统漏洞。

                         系统维护(原) - 黑暗力量 - 小男生的博客

            3.开启实时保护。

                         系统维护(原) - 黑暗力量 - 小男生的博客

         

最后给大家推荐两个观察进程的安全工具:Process Explorer (这个有汉化版,随处可见) 

                                                                   IceSword             (安全焦点有下载

最后奉劝大家不要用什么杀毒软件,装杀软,浪费不少硬件资源,简直费神。我最反感那东西。自己搞搞研究,做个免杀还不错,普通用户没那必要,

                                                                                                                                

计算机等级考试

    9月24日是今年的计算机等级考试的第二天,我们学校就是本地区的等级考试考点!学校的很多学生都参加了计算机等级考试。
    昨天考了笔试,今天我什么都不担心!第一堂的上机考试,5分钟就完卷了!是不是很棒!哎,可怕的后面总是伴随着可怜。我用5分钟做完的那道题,最多就得60分!我太大意了,3个答案:我只将前两个答案做正确了!看下面的题吧,好后悔哦。那么早做完了就在逍遥!后悔莫及啊!
    我的答案做成了这样!

#include <stdio.h>
#define  N 200
int cnt1, cnt2, xx[N] ;
float pj ; /* 平均值 */

void jsValue()
{int i,k=0;
float k1=0;
cnt1=0;cnt2=0;
for(i=0;i<200;i++)
{if(xx[i]%2==1) {cnt1++;k=k++;k1=k1+xx[i];}
else if(xx[i]%2==0) cnt2++;
}
pj=k1/k*1.0;

}

void read_dat(int xx[N])
{
  int i,j ;
  FILE *fp ;

  fp = fopen("K:\\g38\\35000104\\in.dat","r") ;
  for(i = 0 ; i < 20 ; i++) {
    for(j = 0 ; j < 10 ; j++) {
      fscanf(fp, "%d,", &xx[i*10+j]) ;
      printf("%d ", xx[i*10+j]) ;
    }
    printf("\n");
  }
  fclose(fp);
}

void main()
{
   read_dat(xx) ;
   jsValue() ;
   printf("\n\ncnt1=%d,cnt2=%d,pj=%6.2f\n", cnt1, cnt2, pj) ;
   writeDat() ;
}

writeDat()
{
  FILE *fw ;

  fw = fopen("K:\\g38\\35000104\\out.dat","w") ;
  fprintf(fw, "%d\n%d\n%6.2f\n", cnt1, cnt2, pj) ;
  fclose(fw) ;
}

后悔呀!