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
无忧云怎么样?无忧云服务器好不好?无忧云值不值得购买?无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,自营有国内雅安高防、洛阳BGP企业线路、香港CN2线路、国外服务器产品等,非常适合需要稳定的线路的用户,如游戏、企业建站业务需求和各种负载较高的项目,同时还有自营的高性能、高配置的BGP线路高防物理...
HostMem近日发布了最新的优惠消息,全场云服务器产品一律75折优惠,美国洛杉矶QuadraNet机房,基于KVM虚拟架构,2核心2G内存240G SSD固态硬盘100Mbps带宽4TB流量,27美元/年,线路方面电信CN2 GT,联通CU移动CM,有需要美国大硬盘VPS云服务器的朋友可以关注一下。HostMem怎么样?HostMem服务器好不好?HostMem值不值得购买?HostMem是一家...
HostNamaste是一家成立于2016年3月的印度IDC商家,目前有美国洛杉矶、达拉斯、杰克逊维尔、法国鲁贝、俄罗斯莫斯科、印度孟买、加拿大魁北克机房。其中洛杉矶是Quadranet也就是我们常说的QN机房(也有CC机房,可发工单让客服改机房);达拉斯是ColoCrossing也就是我们常说的CC机房;杰克逊维尔和法国鲁贝是OVH的高防机房。采用主流的OpenVZ和KVM架构,支持ipv6,免...
comodofirewall为你推荐
vps虚拟主机VPS主机、虚拟主机和云主机 它们之间有什么区别?它们哪一个比较好?vpsVPS是干嘛用的?免费国内空间想做一个网站想找个免费的空间最好是国外的,国内的太多都是骗人的或者不稳定的。谢谢!域名服务商请问那些域名服务商是怎么捣鼓这么多域名的? 它们为什么可以做这个重庆虚拟空间重庆虚拟主机租用那家好?100m网站空间50M的网页内容买100M的网站空间够用了没?安徽虚拟主机合肥金马网络科技有限公司怎么样?shopex虚拟主机西部数码虚拟主机,适合做独立shopex或者echsop网店吗,我想开网店,推荐一下哪个型号的好m3型虚拟主机在万网上弄了域名和阿里云M3型虚拟主机,怎么部署jsp项目?中文域名什么是中文域名?
3322动态域名 冰山互联 韩国加速器 网络星期一 免费cdn加速 天猫双十一秒杀 2017年万圣节 浙江独立 域名转向 电信主机 带宽租赁 上海电信测速 智能dns解析 湖南idc 小夜博客 上海联通 湖南铁通 asp介绍 远程登录 nic 更多