Preparation to do penetration test


  • Collect as much as possible of the target website. For example, port, real IP.
  1. whois : to show the details of the website, like owner, registration information.
  2. www.tianyancha.com. Find the register and other information
  3. www.beianbeian.com
  4. google dork or google hacking: like site: syr.edu. inurl: ?id=123
  5. subdomainBrute
  6. https://phpinfo.me/domain find subdomain
  7. site: google.com. Find the subdomain
  8. https://dnsdumpster.com/ find the network of the domain. 
Sometimes if we ping the URI, we only get the CDN server's IP, CDN is for cache static page and improve user experience. So we can ping target IP from different areas through www.17ce.com. If they are the same, we can conclude that there is no CDN server.
https://asm.ca.com/en/ping.php to find the real IP in US.
  • Find the open port:
  1. Nmap, Masscan, Zmap
  2. samba : SMB (server message block) network protocol.

Popular posts from this blog

Phonebook - Hack the box Write up -- Web LDAP injection

wafwaf -- Hack The Box -- Web SQL injection

Cheat sheet for security+