[HackTheBox] Timelapse
nmap --open -p- -Pn --max-retries 1 --min-rate 4000 10.10.11.152 > allports 서버에 열려있는 전체 포트를 가져와줍니다.그 다음 allports 파일을 정규표현식으로 포트번호만 가져온 뒤가져온 포트번호에 대해서 디테일 스캔을 합니다. cat allports | grep '/' | cut -d '/' -f 1 | tr '\n' ',' nmap -sV -sC -Pn 10.10.11.152 -p 53,88,135,139,389,445,464,593,636,3268,3269,5986,9389,49668,49673,49674,49695,49727 > detail 서버에는 SMB, LDAP, Winrm(SSL), Kerberos가 활성화 되어있네요먼저 ..
Penetration/HackTheBox
2024. 10. 15. 11:52