WhatYouWillNeedAUbuntumachinetoperformtheNmapscansAWebserverwithalargepagetoview,asyousetupinthepreviousproject.
StarttheWebServerDouble-clicktheVMwareWorkstationicononthedesktop.
IntheVMwareWorkstationwindow,fromthemenubar,clickView,GotoHomeTab.
OntheHometab,clicktheOpenExistingVMorTeamicon.
NavigatetotheV:drive,openyourfolder,opentheWindowsXPforHackingfolder,anddouble-clicktheWindowsXPProfessional.
vmxfile.
Ontheleftside,clickStartthisvirtualmachinelink.
Whenyourmachinestartsup,loginasStudent,oranyotheraccountwithAdministrativeprivileges.
VerifyingthatInternetInformationServices(IIS)isRunningOnthevirtualmachine'sdesktop,clickStart,AllPrograms,Accessories,CommandPrompt.
Typeinthefollowingcommand,thenpresstheEnterkey:netstat–anThiscommandlistsalltheactivenetworkconnections,asshownbelowonthispage.
LookforthelinethatshowsthattheLocalAddress0.
0.
0.
0:80isLISTENING–thatistheWebserverwaitingforanyconnectiontoport80.
Ifyoudon'tseetheprocesslisteningonport80,somethingiswrongwithyourWebserverandyouneedtofixitbeforeproceedingfurther.
UsingTaskManagertoDisplaythePerformanceofYourWebServerOnthevirtualmachine'sdesktop,right-clickthetaskbar(atthebottomofthescreen)andselectTaskManager.
InTaskManager,clickthePerformancetab.
YoushouldseeagraphlabeledCPUUsageHistory,asshowntotherightonthispage.
There'sanothergraphtheretoo,butthisistheoneofgreatestinterestnow.
LeavetheTaskManagerwindowopenonyourserver,anddragittothelowerrightcornerofthedesktopsoitwillbeeasytokeepitvisiblewhileotherwindowsareopen.
TurnOfftheFirewallIfyouhavetheComodofirewall,right-clicktheiconinthetaskbartrayandselectAdjustSecurityLevel,AllowAll.
Ifyouhavesomeotherfirewall,makesureitisoff.
FindingYourWebServer'sIPAddressOnthevirtualmachine'sdesktop,clickStart,Run.
TypeinCMDandpresstheEnterkey.
TypeinIPCONFIGandpresstheEnterkeyFindtheIPaddressofyourmachine—inS214,itstartswith192.
168.
1.
Writethataddressintheboxtotherightonthispage.
StartingYourUbuntuVirtualMachineDouble-clicktheVMwareWorkstationicononthedesktop.
IntheVMwareWorkstationwindow,fromthemenubar,clickView,GotoHomeTab.
OntheHometab,clicktheOpenExistingVMorTeamicon.
NavigatetotheV:drive,openyourfolder,opentheYourNameUbuntufolder,anddouble-clicktheYourNameUbuntu.
vmxfile.
Ontheleftside,clicktheStartthisvirtualmachinelink.
Ifyouseeamessagesaying"Thelocationofthisvirtualmachine'sconfigurationfilehaschanged…,"acceptthedefaultselectionofCreateandclickOK.
Whenyourmachinestartsup,loginaswiththenameandpasswordyouchoseinthepreviousproject.
RunningaNormalnmapScanoftheWebServerFromthemenubarintheupperleftcorneroftheUbuntudesktop,clickApplications,Accessories,Terminal.
IntheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:nmapip-addrReplacingip-addrwiththeserver'sIPaddress.
Youshouldseeascanthattakesapproximatelyonesecond,asshownaboveonthispage.
Enterthenmapip-addrcommandagain,andthistimewatchtheCPUUsageHistorygraphontheWebserver.
Youshouldseeabriefspikeofactivity,asshowntotherightonthispage.
RunningMoreIntrusivenmapScanoftheWebServerIntheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:nmapip-addr–sT–p1-65535–T5Replacingip-addrwiththeserver'sIPaddress.
ThisscanusescompleteConnecthandshakes,scansall65,535ports,anddoesitatthemaximumspeed.
(Toseeallthenmapoptions,typenmap--help.
)TheCPUUsageHistorygraphontheWebservershouldshowamuchlargerandlongersurgeofactivity,asshowntotherightonthispage.
TimingtheWebPageLoadWithoutaPortScanFindawatchwithasecondhand,ordouble-clicktheclockinaconvenientWindowsXPvirtualmachine,suchastheWebserver.
Onthehostmachine(oranyothermachineintheLAN),openabrowser.
IntheWebbrowser,entertheaddressbelow,Thenwaituntilatimeyoucaneasilyremember,suchasthestartofacertainminute,andpresstheEnterkey:IP-Address/big.
htmlDon'tentertheliteralstringIP-address;instead,typeintheWebServerIPfromtheboxonapreviouspage.
Waituntiltheentirepageloads,includingalltheimages,andwritetheelapsedtimeintheboxtotherightonthispage.
WhenIdidit,ittook50seconds.
MakingaShellScripttoRunTenPortScansIntheUbuntumachine,intheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:echo"nmapip-addr–sT–p1-65535–T5">>tenscansReplacingip-addrwiththeserver'sIPaddress.
Theeasiestwaytoenterthiscommandistoprestheup-arrowtorepeatthepreviouscommandandthenedititwiththeleft-arrowandright-arrow.
IntheUbuntumachine,intheTerminalwindow,afterthe$prompt,presstheup-arrowkeyonce.
Youshouldseethesameechocommandappearagain.
PresstheEnterkey:Repeatthisprocesseightmoretimes,soyouhavedoneitatotaloftentimes.
Ifyoulosecount,andendupwith8or12repititions,that'sOK.
echo"nmapip-addr–sT–p1-65535–T5">>tenscansIntheUbuntumachine,intheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:cattenscansYoushouldseetenlinesasshowntotherightonthispage.
Thisscriptwillruntenintrusivescans,makingtheWebserverbusyforaboutfiveminutes.
IntheUbuntumachine,intheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:chmoda+xtenscansThiscommandmakesthetenscansfileexecutable.
IntheUbuntumachine,intheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:.
/tenscansThiscommandexecutesthetenscansscript.
YoushouldseetheCPUUsageHistoryinyourWebserverincrease,andstayhigh,asshowntotherightonthispage.
TimingtheWebPageLoadDuringaPortScanOnthesamemachineyouusedtotimethepreviousportload,inthesamebrowserwindow,holddowntheShiftkeyandclicktheReloadbutton.
ThisforcesthepagetocompletelyreloadfromtheWebserver,notjustredrawfromthelocalcache.
Makeanoteofthetimeyoustartedthereload.
Waituntiltheentirepageloads,includingalltheimages,andnotetheelapsedtimeintheboxtotherightonthispage.
Ifitisloadingveryslowly,justwaitfor2or3minutes,andmakeanoteofhowmanyimagesloadedinthattime.
WhenIdidit,itonlyloaded3imagesafter4minutes.
SavingtheScreenImageGobacktotheserver,andlookattheCPUUsageHistory.
Youshouldseealotofactivity,lastingseveralminutes,asshowntotherightonthispage.
Yoursmaynotpeakat100%,butitshouldshowclearactivity.
PressCtrl+Alttoreleasethemouse,andclickonthehostWindowsXPdesktop.
PressthePrntScnkeytocopywholescreentotheclipboard.
OnthehostWindowsXPdesktop,openPaintandpasteintheimage.
SaveitasaJPEG,withthefilenameYourNameProj17a.
StoppingthePortScansIntheUbuntumachine,clickintheTerminalwindow.
HolddowntheCtrlkeyandpressCtocancelthescan.
Repeatthisuntilyouseethe$promptagain.
LookattheCPUUsageHistoryontheserver.
Soonitshoulddropdownto0%orso,asthedenialofserviceattackstops.
ProtectingtheServerWithaFirewallThereareplentyofgoodfirewallsoutthere,softwareandhardware.
Butforthisproject,therelativelyweakWindowsfirewallisgoodenough.
OntheWebserver'sdesktop,clickStart,ControlPanel.
Double-clickWindowsFirewall.
IntheWindowsFirewallbox,clickOn(recommended).
MakesuretheDon'tallowexceptionsboxiscleared,asshownaboveonthispage.
ClicktheExceptionstab.
ClicktheAddPortbutton.
IntheAddaPortbox,enteraNameofWebServerandaPortnumberof80.
MakesuretheTCPradiobuttonisselected,asshowntotherightonthispage.
IntheAddaPortbox,clickOK.
IntheWindowsFirewallbox,clickOK.
TestingtheWebServerOnthehostmachine(oranyothermachineintheLAN),openabrowser.
Entertheaddressbelow,andpresstheEnterkey:IP-Address/big.
htmlDon'tentertheliteralstringIP-address;instead,typeintheWebServerIPfromtheboxonapreviouspage.
Thepageshouldload,asbefore.
Ifitdoesnot,youneedtoadjustthefirewallsettings.
Makesurethereisonlyonefirewallturnedon,andthatport80TCPisopenforincomingtraffic.
StartingthePortScansAgainIntheUbuntumachine,intheTerminalwindow,afterthe$prompt,enterthiscommand,thenpresstheEnterkey:.
/tenscansThescanproceedsasbefore,butthistimetheCPUUsageHistoryshowsmuchlessburdenontheserver.
Thefirewallissavingtheserverfromtheattack!
SavingtheScreenImageMakesuretheserver'sCPUUsageHistoryisvisible,showingalowlevelofactivity,asshownaboveonthispage.
PressCtrl+Alttoreleasethemouse,andclickonthehostWindowsXPdesktop.
PressthePrntScnkeytocopywholescreentotheclipboard.
OnthehostWindowsXPdesktop,openPaintandpasteintheimage.
SaveitasaJPEG,withthefilenameYourNameProj17b.
TurninginyourProjectWritethetwo"TimetoLoadPage"valuesyoumeasuredinthebodyofyouremail!
EmailtheJPEGimagestomeasattachments.
Sendthemessagetocnit.
123@gmail.
comwithasubjectlineofProj17FromYourName.
SendaCctoyourself.
Lastmodified6-4-07
触碰云怎么样?触碰云是一家成立于2019年的商家。触碰云主营香港/美国 VPS服务器、独立服务器以及免备案CDN。采用的是kvm虚拟构架,硬盘Raid10,Cn2线路,去程电信CN2、移动联通直连,回程三网CN2。最低1核1G带宽1M仅20.8元/月,不过这里推荐香港4核4G15M,香港cn2 gia线路云服务器,仅115.2元/月起,性价比还是不错的。点击进入:触碰云官方网站地址触碰云优惠码:优...
SugarHosts糖果主机商我们较早的站长们肯定是熟悉的,早年是提供虚拟主机起家的,如今一直还在提供虚拟主机,后来也有增加云服务器、独立服务器等。数据中心涵盖美国、德国、香港等。我们要知道大部分的海外主机商都只提供Linux系统云服务器。今天,糖果主机有新增SugarHosts夏季六折的优惠,以及新品Windows云服务器/云VPS上线。SugarHosts Windows系统云服务器有区分限制...
全球独立服务器、站群多IP服务器、VPS(哪个国家都有),香港、美国、日本、韩国、新加坡、越南、泰国、加拿大、英国、德国、法国等等99元起步,湘南科技郴州市湘南科技有限公司官方网址:www.xiangnankeji.cn产品内容:全球独立服务器、站群多IP服务器、VPS(哪个国家都有),香港、美国、日本、韩国、新加坡、越南、泰国、加拿大、英国、德国、法国等等99元起步,湘南科技VPS价格表:独立服...
comodofirewall为你推荐
虚拟主机价格虚拟主机一般多少钱一年海外主机租用怎么选择优质的国外服务器租用商!me域名注册请问 .me 域名在哪里注册或查看,至少万网查不到vpsvps和服务器哪个比较划算com域名空间域名和空间是什么意思php虚拟空间虚拟空间怎么修改php.ini配置网站空间商网站空间商的选择??北京网站空间什么样的网站空间好网站空间免备案免备案网站空间哪个好免备案虚拟主机哪家免备案虚拟主机好,而且便宜点的?
mysql虚拟主机 已备案域名 个人域名备案流程 淘宝二级域名 sharktech 68.168.16.150 外国域名 realvnc 国外空间 租空间 本网站服务器在美国 小米数据库 蜗牛魔方 e蜗 天互数据 空间出租 双线主机 135邮箱 四核服务器 智能dns解析 更多