Click here to load reader

Thu thuat may tinh pii

  • View
    948

  • Download
    3

Embed Size (px)

Text of Thu thuat may tinh pii

  • 1. Su T m Th Thu [email protected]://vietdown.orgThi t K : Nguy n Anh Thttp://vietdown.orgNguy n Anh T

2. Su T m Th Thu t [email protected] NI THM V CC TRNH DUY T WEB (BROWSER)Nhn c bi Duy t Web m ly v i Opera 7.5x LBVMVT 61,ti s d ng ph n m m ny lu r i,nay xin m nphp ng gp m t vi ki n v i c gi :- Khng ph i ch IE m i c nhi u t huy t ,m v IE l trnh duy t ph bi n nh t Th Gi i, . Cho nn lm c tiu c a nhi u Hacker. i u cng gi ng nh M hay x y ra tai n n my bay v h c s l ng my baychi m 1/5 th gi i.Opera & Netscape cng c nhi u khuy t i m nhng v khng ph bi n nn khng li cu ncc Hacker.- M t khc cng chnh v IE r t ph bi n,cho nn cc Hacker th ng xm nh p vo cc trang Web ph bi n(nh PCWorld.com) chn vo cc o n m l p trnh nh m lm cho server c a trang Web s tr nnch m ch p khi ng i truy c p dng IE vi ng thm trang Web .M c ch c a vi c ph ho i th t ngi n: ho c ch v mu n ch c gh o Bill Gates ,ho c l lm nh v y b n Hacker s bn c cc ph n m m (mchng g i l Plug-ins cho IE).C ch ho t ng c a nh ng ph n m m ny th t n gi n:xa b cc o n mm chng chn vo cc trang Web,nh v y t ng trang Web s khng cn ch m ch p n a.- V i cc trang Web chuyn nghi p, c thi t k xem v i r t nhi u trnh duy t,cho nn khi chng tatruy c p nh ng trang Web v i trnh duy t khng ph bi n l m (nh VN l Opera & Netscape) th v n xem c bnh th ng.Nhng v i nh ng trang Web nghi p d,phi thng m i c a nh ng b n t am hi u v l p trnhm ng & thi t k Web,th cc trnh duy t khng ph bi n h u nh khng m c ng v i nh d ng & kchth c ban u (font, table)Nh v y v i nh ng g ni trn,t t nh t l chng ta s d ng song song hai trnh duy t: m t trnh duy t phbi n (IE) & m t trnh duy t khc ( y t t nh t l Opera).Khi xem m t trang Web no ,n u trnh duy t nych m ch p ho c l n x n,chng ta hy th duy t trang v i trnh duy t cn l i.http://vietdown.org Nguy n Anh T 3. Su T m Th Thu t [email protected] Noi file mp3 voi MP3 merger C bao gi b n mu n n i t t c cc file Mp3 trong my b n thnh m t file duy nh t v c th nghe t tc cc bi ht b n yu thch xuyn su t t u n cu i th ph n m m Mp3merge l m t gi i php han tanthch h p. u i m c a ph n m m ny l c c k nh g n khng c n b t k th t c ci t no m ch c n ch ytr c ti p trn m t file duy nh t v c bi t l han tan c mi n ph. Sau khi ch y chng trnh giao di n c aMp3merge s nh hnh bnKhi c n n i cc file Mp3 no v i nhau b n nh n vo nt Add files n i cc file ny l i thnh m t file Mp3 duynh t, sau khi ch n xong n s hi n c t t c cc bi thng qua menu list bn d i, bi no b n c mth y khng thch h p th b n ch n bi v b m nt Remove files ho c b m nt Remove All b ch n h t t tcc bi. Trn m c Mp3 Info l cc m c ln quan n thng tin bi ht, b n c th ch nh s a ty trong ccm c ny. Trong m c Output filename l ng d n lu l i v tn bi ht s c n i l i. Sau khi han t tcc b c b n b m nt Merge files n i cc bi ht l i l xong. B n c th t i chng trnh ny t i a ch :http://www.download.com/ dung l ng 428 Kb han tan mi n ph.http://vietdown.orgNguy n Anh T 4. Su T m Th Thu [email protected] NG CCH N GI N TNG T C INTERNETG n y c r t nhi u ki n v t c download th no l nhanh th no l ch m. Qua kinh nghi m c a mnhti xin trnh by m t s th thu t c th tng t i a t c t i file v duy t web. Hy v ng cc b n c th pd ng v gi m c c ph truy c p ci Internet "gi trn tr i" ny.Tr c h t ph i ni r ng, t c t i file v k t n i ph thu c vo r t nhi u y u t "thin th i, a l i, nhn ha"nh: b n thu c m ng no, ng dy i n tho i c t t khng, c nhi u ng i ang trn m ng khng v th mch th i ti t th no... nn vi c cho r ng t i file v i t c bao nhiu l nhanh, bao nhiu l ch m ch c nghatng i. Tuy nhin chng ta v n c th can thi p vo m t s v n nh cc thng s c a Windows v nhcc trnh tng t c tr gip.1) Cc th thu t t i u ha h th ng: y l cc th thu t v t qua cc thng s m c nh (nhng khngph i l t i u cho Internet) c a Windows. - T i u thng s MaxMTU (Max Transnission Unit): y l m t vi c thu c d ng "must-do". Theo m c nhc a Windows thng s ny l 1500, thng s t i u l 576. xc l p thng s ny, v cc thng s khc nhNDI cache, IPMTU, RcvWindow,TTL (Time To Live)... t t nh t b n nn dng cc trnh ti n ch nh NetMaster(c th download t i http://www.magellass.com/ ) v n ng t i ci g i l Registry r t r c r i c a anhWINDOZE. - T i u t c Modem v Dial-Up Networking: +Vo Start menu/Run g sysedit v ch n c a s WIN.INI. Tm m c [Port] v s a ga tr c ng modemnh sau: COMx:=921600,n,8,1,p , x = s c ng modem (vd: modem g n c ng COM2) 921600 = t c t i a(bps) , n = non-parity , 8 = 8 data bits , 1 = 1 stop bit , p = hardware flow control + Vo Control Panel/Modem, nh n vo nt Properties, ch n "Maximum speed" l 115200. Ti p theo votab Connection nh n nt Advanced v b ch n (uncheck) "Use error control" v "Required to connect". Nh n OK lu cc thng s . + tng t c quay s , tab Connection/Advanced ni trn, b n c th thm dng S11=40 vo"Extra Settings". S 40 l ch th i gian gi a hai s quay tnh b ng mili-giy. + Vo Dial-Up Networking, nh p chu t ph i vo quay s k t n i, ch n Properties. Nh p vo tab "ServerType", b ch n NetBEUI v IPX/SPX (nhng ph i ch n TCP/IP). Ti p theo vo Control Panel/Network, ch n Dial-Up Adapter v nh n vo nt Properties. T i tab "Bindings" b n b h t cc giao th c ngo i tr TCP/IP.V i t t c cc xc l p ny, h th ng c a b n s n sng k t n i v t i file v i t c nhanh nh t.Nhng... n u b n mu n tng t c download ln thm 300% v tng t c duy t web ln t 50 - 70% n a th b nnn s d ng cc ti n ch m ti xin gi i thi u v nh gi trong ph n sau.2) Cc nh v ch trong download: Download Accelerator 4.0 v Mass Downloader 1.2-y l hai ti n ch tng t c khng th thi u cho vi c t i file n c th tng t c t i file nhanh hn t 200 -300% so v i cch thng th ng nh cng m t lc n t i nhi u ph n c a t p tin v i cc thu t ton thng minh.Ngoi ra n cn h tr resume trong m i tr ng h p (k c khi FTP site khng h tr resume).- Mass Dowloader lun t i m cao nh t v t c t i file (tnh b ng kbps) nhng khng c ngha l nlun hon thnh vi c t i file nhanh nh t. Theo th nghi m c a b n thn ti trong t t c cc tr ng h p (cngt c k t n i, cng t p tin) Mass Downloader cha bao gi v t c Download Accelerator m th ng ch mhn t 5 - 20%. Sau y l cc so snh u nh c i m c a hai trnh tng t c ny:- Download Accelerator 4.0 (t i v t i http://download7.speedbit.com/dap4.exe ): Trnh tng t c ny t i vm t lc 4 ph n c a file v ghp n i l i thnh file chnh khi t i xong.*u:+ L trnh t i file nhanh nh t ( c th gi i cng nh n y).+ H tr Resume trong m i tr ng h p (b n 4.0)+ Tch h p hon ton v i IE v Netscape Navigator (nh p vo tn file download)+ T ng d tm cc mirror site v t i v t site c t c nhanh nh t.+ C ti n tch tm file theo tn, MP3, games...http://vietdown.orgNguy n Anh T 5. Su T m Th Thu t [email protected]+ C th l p l ch trnh t i file (b n 4.0).+ Mi n ph hon ton*Khuy t:+ Km tr c quan hn Mass Downloader.+ Khi t i file, m i file t i v c n m t c a s theo di ring.+ B n ph i xem cc qu ng co "mi n ph" (v y l trnh mi n ph m).Mass Downloader 1.2 (t i v t i http://www.tlnet.com.vn/weblh/ ): Trnh tng t c ny lun tm cch t ct c t i file cao nh t v s d ng m t lc n 10 dng d li u t i file v .*u:+ R t tr c quan v i cc thng s v th i gian, t c v cc bi u theo di t c t i file...+ H tr Resume trong m i tr ng h p.+ Tch h p v i IE v NN (nh n phm ALT+Click vo tn file t i v ).+ L p l ch t i file v .+ T t c tch h p trong m t c a s duy nh t.*Khuy t:+ Km v t c t i v so v i Download Accelerator.+ Thi u m t s tnh nng so v i DA.-L i khuyn c a ti l b n c th ci c hai trnh ny vo my m khng nh h ng chi n nhau. N umu n dng DA b n nh p th ng vo tn file, cn n u b n thch dng MD th gi phm ALT trong khi nh p.3) Trnh tng t c duy t Web b ng NetSonic Pro 2.5 :-Nguyn t c tng t c c a NetSonic kh n gi n v hi u qu l duy t n u t c l trong lc chng taang xem cc trang Web th n t i v cc k t n i t i trang Web ny hi n ra t c th khi chng ta c n t i. Nlu cc trang Web th ng lui t i hi n th nhanh nh ng ph n c nh v s refresh nh ng ph n khc bi t sau. N cn t i u c hai thng s h th ng quan tr ng nh t l MaxMTU v Receive Window Size.-B n NetSonic mi n ph c t i http://www.web3000.com/ , nhng thi u nhi u tnh nng quan tr ng nh t iv tr c hnh h a... t t nh t b n nn tm b n NetSonic Pro 2.5 (c r t nhi u t i cc site download trnInternet)http://vietdown.org Nguy n Anh T 6. Su T m Th Thu t [email protected] NG CCH B O V HOSTING V SERVERI. .htaaccess:1. Cc trang bo l i:Trong qu trnh lm vi c v i client, n u c l i x y ra (vi d nh khng tm th y file) th Apache s bol i b ng m t trang c s n hi n th m s c a l i , r t khng p v kh hi u. V i .haccess th b n c th tt o cc trang bo l i hay hn. lm c i u ny th trong file .htaccess b n thm dng sau:ErrorDocument errornumber /file.htmlTrong errornumber l m s c a l i pht sinh, sau y l nh ng l i hay g p:401 - Authorization Required (c n password truy nh p)400 - Bad request (request b sai)403 - Forbidden (khng c vo)500 - Internal Server Error (l i server)404 - Wrong page (l i trang, khng tm th y...)cn file.html l trang web m ban mu n hi n th khi l i pht sinh. V d : ErrorDocument 404 /notfound.htmlho c: ErrorDocument 500 /errorpages/500.html2. Khng cho hi n danh sch file trong th m c:Trong tr ng h p b n khng mu n cho ng i khc th y c danh sch file trong thu m c khng cfile index, thm l nh sau vo .htaccess: Options -Indexes3. Ch nh cc IP c/khng c truy c p vo trang web:Thm l nh sau: deny from 203.239.110.2 c m ip 203.239.110.2 ho c allow from 203.239.110.20 chophp ip 203.239.110.20. N u b n ch vit ip d i d ng 203.239.110 th s c m/cho php t t c ip trong gi i t203.239.110.1 n 203.239.110.254. Cn: deny from all : s c m t t c m i truy c p n cc trang web trongth m c, tuy nhin cc file trong v n c th c s d ng t bn ngoi thng qua cc dang require hayinclude.4. Thay th trang index: Dng dng l nh sau: DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm . V i dng l nhny th t t c cc file c li t k s c tm theo th t khi c yu c u t i th m c hi n hnh, trang no ctm th y u tin s thnh trang index c a th m c.5. Redirection:C th redirect truy c p t xa m t cch n gi n b ng l nh sa

Search related