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
AlphaVPS是一家保加利亚本土主机商(DA International Group Ltd),提供VPS主机及独立服务器租用等,数据中心包括美国(洛杉矶/纽约)、德国、英国和保加利亚等,公司办公地点跟他们提供的保加利亚数据中心在一栋楼内,自有硬件,提供IPv4+IPv6,支持PayPal或者信用卡等方式付款。商家提供的大硬盘VPS主机,提供128GB-2TB磁盘,最低年付15欧元起,也可以选择...
tmthosting怎么样?tmthosting家本站也分享过多次,之前也是不温不火的商家,加上商家的价格略贵,之到斯巴达商家出现,这个商家才被中国用户熟知,原因就是斯巴达家的机器是三网回程AS4837线路,而且也没有多余的加价,斯巴达家断货后,有朋友发现TMTHosting竟然也在同一机房,所以大家就都入手了TMTHosting家的机器。目前,TMTHosting商家放出了夏季优惠,针对VPS推...
gcorelabs怎么样?gcorelabs是创建于2011年的俄罗斯一家IDC服务商,Gcorelabs提供优质的托管服务和VPS主机服务,Gcorelabs有一支强大的技术队伍,对主机的性能和稳定性要求非常高。Gcorelabs在 2017年收购了SkyparkCDN并提供全球CDN服务,目标是进入全球前五的网络服务商。G-Core Labs总部位于卢森堡,在莫斯科,明斯克和彼尔姆设有办事处。...
comodofirewall为你推荐
国际域名注册如何在国外域名注册商注册国际域名哩海外虚拟主机空间有免费的性能好的国外虚拟主机空间吗?广东虚拟主机广东哪里可以购买教育网虚拟主机?vps国内VPS哪个好网站空间域名关于网站的域名和空间?台湾vps哪个地区的VPS从大陆访问快呢。免备案虚拟空间免备案的虚拟主机空间,买了以后会强制备案不?手机网站空间手机登陆qq空间网址是什么?免备案虚拟主机请问哪里好一点的免备案的虚拟主机?论坛虚拟主机最近想买虚拟主机,用来做论坛。
免费试用vps 阿里云os host1plus westhost 网站cdn加速 qq对话框 稳定免费空间 天翼云盘 卡巴斯基是免费的吗 google台湾 华为k3 美国迈阿密 阿里云邮箱申请 双十二促销 葫芦机 贵州电信 碳云 标准机柜 qq空间打开很慢 winserver2008下载 更多