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
搬瓦工最近新增了荷兰机房中国联通(AS9929、AS4837)线路的VPS产品,选项为NL - China Unicom Amsterdam(ENUL_9),与日本软银和洛杉矶(DC06)CN2 GIA配置一致可以互换,属于高端系列,2.5Gbps-10Gbps大带宽,最低季付46.7美元起。搬瓦工VPS隶属于老牌IT7公司旗下,主要提供基于KVM架构VPS主机,数据中心包括美国洛杉矶、凤凰城、纽...
百纵科技:美国云服务器活动重磅来袭,洛杉矶C3机房 带金盾高防,会员后台可自助管理防火墙,添加黑白名单 CC策略开启低中高.CPU全系列E52680v3 DDR4内存 三星固态盘列阵。另有高防清洗!百纵科技官网:https://www.baizon.cn/联系QQ:3005827206美国洛杉矶 CN2 云服务器CPU内存带宽数据盘防御价格活动活动地址1核1G10M10G10G38/月续费同价点击...
DiyVM是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。下面就以香港机房为例,分享几款VPS主机配置信息。CPU:2cores内存:2GB硬...
comodofirewall为你推荐
域名注册申请域名申请有什么要求企业虚拟主机购买虚拟主机要注意些什么?企业网站有什么好的虚拟主机推荐吗?英文域名英文域名与中文域名有啥区别php虚拟空间普通网站需要多大空间?本人新手php学习者,想买个虚拟空间用来放自己做的一些企业站,只是练习用途网站空间商个人网站备案如何从空间商到备案100m网站空间网站空间100M指多大网站空间价格域名空间一般几钱?网站空间申请网站空间申请韩国虚拟主机香港和韩国的虚拟主机哪个比较好?1g虚拟主机1G虚拟空间大约多少钱?
花生壳免费域名申请 openv 128m内存 cloudstack godaddy续费优惠码 国外空间 圣诞节促销 嘉洲服务器 个人域名 中国电信测速网 hktv 电信托管 华为云盘 闪讯官网 vul 数据库空间 电信网络测速器 个人免费邮箱 php服务器 免费个人主页 更多