[{"data":1,"prerenderedAt":400},["ShallowReactive",2],{"announcement":3,"i-tabler:sun":11,"i-tabler:moon":16,"i-tabler:menu-2":18,"i-tabler:x":20,"i-simple-icons:youtube":22,"i-simple-icons:github":24,"i-simple-icons:x":26,"i-simple-icons:linkedin":28,"i-tabler:arrow-up-right":31,"post-footprinting-and-scanning-ejpt":33,"post-nav-footprinting-and-scanning-ejpt":387,"video-footprinting-and-scanning-ejpt":382,"i-tabler:copy":398},{"startsAt":4,"endsAt":5,"scramble":6,"cta":7,"message":10},"2026-10-13","2026-11-30","Cache Poisoning:",{"href":8,"label":9},"\u002Fcache-poisoning-the-cache-you-cant-purge","Read it","The cache you can't purge.",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":15},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0m-5 0h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":17},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3h.393a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 2.992z\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":19},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6h16M4 12h16M4 18h16\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":21},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":23},"\u003Cpath fill=\"currentColor\" d=\"M23.498 6.186a3.02 3.02 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.02 3.02 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.02 3.02 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.02 3.02 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814M9.545 15.568V8.432L15.818 12z\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":25},"\u003Cpath fill=\"currentColor\" d=\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":27},"\u003Cpath fill=\"currentColor\" d=\"M14.234 10.162L22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299l-.929-1.329L3.076 1.56h3.182l5.965 8.532l.929 1.329l7.754 11.09h-3.182z\"\u002F>",{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":29,"hidden":30},"\u003Cpath fill=\"currentColor\" d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037c-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85c3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.06 2.06 0 0 1-2.063-2.065a2.064 2.064 0 1 1 2.063 2.065m1.782 13.019H3.555V9h3.564zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0z\"\u002F>",true,{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":32},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 7L7 17M8 7h9v9\"\u002F>",{"id":34,"title":35,"body":36,"categories":373,"coverImage":376,"date":377,"description":378,"draft":14,"extension":379,"meta":380,"navigation":30,"noindex":14,"path":381,"readingTime":382,"seo":383,"slug":384,"stem":384,"updatedAt":385,"youtubeId":382,"__hash__":386},"blog\u002Ffootprinting-and-scanning-ejpt.md","Footprinting and Scanning | eJPT",{"type":37,"value":38,"toc":354},"minimark",[39,42,47,51,56,59,86,90,93,121,125,128,145,149,152,172,176,179,183,186,206,211,214,234,238,241,265,269,272,294,298,301,330,333,350],[40,41],"post-media",{},[43,44,46],"h2",{"id":45},"mapping-network","Mapping Network",[48,49,50],"p",{},"Understanding the landscape through network mapping is a crucial phase in the eLearnSecurity Junior Penetration Tester (eJPT) certification.",[52,53,55],"h4",{"id":54},"wireshark","Wireshark",[48,57,58],{},"Dive into network traffic analysis with:",[60,61,66],"pre",{"code":62,"language":63,"meta":64,"className":65,"style":64},"sudo wireshark # Launch Wireshark for detailed network traffic analysis\n","bash","","shiki shiki-themes vitesse-dark vitesse-light",[67,68,69],"code",{},[70,71,74,78,82],"span",{"class":72,"line":73},"line",1,[70,75,77],{"class":76},"swzfi","sudo",[70,79,81],{"class":80},"sRRDT"," wireshark",[70,83,85],{"class":84},"sy60D"," # Launch Wireshark for detailed network traffic analysis\n",[52,87,89],{"id":88},"arp-scan","ARP Scan",[48,91,92],{},"Identify hosts on the network using:",[60,94,96],{"code":95,"language":63,"meta":64,"className":65,"style":64},"sudo arp-scan -I eth0 -g 10.0.2.15\u002F24 # Perform ARP scan to discover hosts\n",[67,97,98],{},[70,99,100,102,105,109,112,115,118],{"class":72,"line":73},[70,101,77],{"class":76},[70,103,104],{"class":80}," arp-scan",[70,106,108],{"class":107},"se4ZP"," -I",[70,110,111],{"class":80}," eth0",[70,113,114],{"class":107}," -g",[70,116,117],{"class":80}," 10.0.2.15\u002F24",[70,119,120],{"class":84}," # Perform ARP scan to discover hosts\n",[52,122,124],{"id":123},"ping-hosts","Ping Hosts",[48,126,127],{},"Confirm the availability of a host:",[60,129,131],{"code":130,"language":63,"meta":64,"className":65,"style":64},"ping 10.0.2.15 # Ping a host to check for its availability\n",[67,132,133],{},[70,134,135,138,142],{"class":72,"line":73},[70,136,137],{"class":76},"ping",[70,139,141],{"class":140},"sUQhE"," 10.0.2.15",[70,143,144],{"class":84}," # Ping a host to check for its availability\n",[52,146,148],{"id":147},"fping-network","Fping Network",[48,150,151],{},"Ping all hosts within the netmask:",[60,153,155],{"code":154,"language":63,"meta":64,"className":65,"style":64},"fping -I -g 10.0.2.0\u002F24 # Ping all hosts within the specified netmask\n",[67,156,157],{},[70,158,159,162,164,166,169],{"class":72,"line":73},[70,160,161],{"class":76},"fping",[70,163,108],{"class":107},[70,165,114],{"class":107},[70,167,168],{"class":80}," 10.0.2.0\u002F24",[70,170,171],{"class":84}," # Ping all hosts within the specified netmask\n",[43,173,175],{"id":174},"port-scanning","Port Scanning",[48,177,178],{},"Efficient port scanning is a fundamental skill for penetration testers.",[52,180,182],{"id":181},"nmap-scan","Nmap Scan",[48,184,185],{},"Scan hosts for open ports:",[60,187,189],{"code":188,"language":63,"meta":64,"className":65,"style":64},"sudo nmap -sn 10.0.2.0\u002F24 # Perform a quick scan to identify live hosts\n",[67,190,191],{},[70,192,193,195,198,201,203],{"class":72,"line":73},[70,194,77],{"class":76},[70,196,197],{"class":80}," nmap",[70,199,200],{"class":107}," -sn",[70,202,168],{"class":80},[70,204,205],{"class":84}," # Perform a quick scan to identify live hosts\n",[207,208,210],"h3",{"id":209},"nmap-scan-from-list","Nmap Scan from List",[48,212,213],{},"Scan open ports for hosts listed in a file:",[60,215,217],{"code":216,"language":63,"meta":64,"className":65,"style":64},"sudo nmap -iL IPs.txt # Perform port scanning for hosts listed in the file IPs.txt\n",[67,218,219],{},[70,220,221,223,225,228,231],{"class":72,"line":73},[70,222,77],{"class":76},[70,224,197],{"class":80},[70,226,227],{"class":107}," -iL",[70,229,230],{"class":80}," IPs.txt",[70,232,233],{"class":84}," # Perform port scanning for hosts listed in the file IPs.txt\n",[52,235,237],{"id":236},"service-and-os-detection","Service and OS Detection",[48,239,240],{},"Enhance your scan with service and OS detection:",[60,242,244],{"code":243,"language":63,"meta":64,"className":65,"style":64},"sudo nmap -iL IPs.txt -sV -O # Conduct an in-depth scan with service and OS detection\n",[67,245,246],{},[70,247,248,250,252,254,256,259,262],{"class":72,"line":73},[70,249,77],{"class":76},[70,251,197],{"class":80},[70,253,227],{"class":107},[70,255,230],{"class":80},[70,257,258],{"class":107}," -sV",[70,260,261],{"class":107}," -O",[70,263,264],{"class":84}," # Conduct an in-depth scan with service and OS detection\n",[52,266,268],{"id":267},"tftp-connection","TFTP Connection",[48,270,271],{},"Connect to FTP if it's open:",[60,273,275],{"code":274,"language":63,"meta":64,"className":65,"style":64},"tftp 10.10.10.10 -p 143 # Connect to FTP server using TFTP protocol\n",[67,276,277],{},[70,278,279,282,285,288,291],{"class":72,"line":73},[70,280,281],{"class":76},"tftp",[70,283,284],{"class":140}," 10.10.10.10",[70,286,287],{"class":107}," -p",[70,289,290],{"class":140}," 143",[70,292,293],{"class":84}," # Connect to FTP server using TFTP protocol\n",[52,295,297],{"id":296},"aggressive-udp-scan","Aggressive UDP Scan",[48,299,300],{},"Run an aggressive scan with basic scripts:",[60,302,304],{"code":303,"language":63,"meta":64,"className":65,"style":64},"nmap 10.10.10.10 -T4 -sU -p 161 -A # Perform an aggressive UDP scan with detailed information\n",[67,305,306],{},[70,307,308,311,313,316,319,321,324,327],{"class":72,"line":73},[70,309,310],{"class":76},"nmap",[70,312,284],{"class":140},[70,314,315],{"class":107}," -T4",[70,317,318],{"class":107}," -sU",[70,320,287],{"class":107},[70,322,323],{"class":140}," 161",[70,325,326],{"class":107}," -A",[70,328,329],{"class":84}," # Perform an aggressive UDP scan with detailed information\n",[48,331,332],{},"Explore these commands to master the art of footprinting and scanning, an integral part of the eJPT certification.",[48,334,335,339],{},[336,337,338],"strong",{},"Check out:",[340,341,347],"a",{"href":342,"rel":343,"target":346},"https:\u002F\u002Fblog.amrelsagaei.com\u002Fvulnerability-assessment-ejpt\u002F?utm_source=amrelsagaei.com&utm_medium=referral",[344,345],"noopener","noreferrer","_blank",[336,348,349],{},"Vulnerability Assessment | eJPT",[351,352,353],"style",{},"html pre.shiki code .swzfi, html code.shiki .swzfi{--shiki-default:#80A665;--shiki-light:#59873A}html pre.shiki code .sRRDT, html code.shiki .sRRDT{--shiki-default:#C98A7D;--shiki-light:#B56959}html pre.shiki code .sy60D, html code.shiki .sy60D{--shiki-default:#758575DD;--shiki-light:#A0ADA0}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html pre.shiki code .se4ZP, html code.shiki .se4ZP{--shiki-default:#C99076;--shiki-light:#A65E2B}html pre.shiki code .sUQhE, html code.shiki .sUQhE{--shiki-default:#4C9A91;--shiki-light:#2F798A}",{"title":64,"searchDepth":355,"depth":355,"links":356},3,[357,365],{"id":45,"depth":358,"text":46,"children":359},2,[360,362,363,364],{"id":54,"depth":361,"text":55},4,{"id":88,"depth":361,"text":89},{"id":123,"depth":361,"text":124},{"id":147,"depth":361,"text":148},{"id":174,"depth":358,"text":175,"children":366},[367,368],{"id":181,"depth":361,"text":182},{"id":209,"depth":355,"text":210,"children":369},[370,371,372],{"id":236,"depth":361,"text":237},{"id":267,"depth":361,"text":268},{"id":296,"depth":361,"text":297},[374,375],"Penetration Testing","eJPT","\u002Fimages\u002Fblog\u002Ffootprinting-and-scanning-ejpt\u002Ffootprinting-and-scanning.png","2024-02-11","eJPT notes on footprinting and scanning: network mapping with Wireshark, ARP scanning, host discovery with fping, and port scanning essentials.","md",{},"\u002Ffootprinting-and-scanning-ejpt",null,{"title":35,"description":378},"footprinting-and-scanning-ejpt","2025-02-05","kL4_0171H0fRbN2iHxhYILaRPPShUg7on0MqfZWwUvg",{"older":388,"newer":392,"total":397},{"slug":389,"title":390,"date":377,"position":391},"information-gathering-ejpt","Information Gathering | eJPT",56,{"slug":393,"title":394,"date":395,"position":396},"empower-your-command-line-experience-with-ai-precision","Empower Your Command-Line Experience with AI Precision","2024-02-19",54,68,{"left":12,"top":12,"width":13,"height":13,"rotate":12,"vFlip":14,"hFlip":14,"body":399},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M7 9.667A2.667 2.667 0 0 1 9.667 7h8.666A2.667 2.667 0 0 1 21 9.667v8.666A2.667 2.667 0 0 1 18.333 21H9.667A2.667 2.667 0 0 1 7 18.333z\"\u002F>\u003Cpath d=\"M4.012 16.737A2 2 0 0 1 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1\"\u002F>\u003C\u002Fg>",1791941260156]