使用Netcat进行攻击

时间:2023-03-09 22:03:02
使用Netcat进行攻击

https://www.freebuf.com/column/135007.html

在网上找到了一个开启了ftp服务的服务:

http://static.vhdong.com/Upload/Templates/

扫描了一下 是21端口   121.41.89.5

但是ftp的匿名访问并没有开启吧, 连不上的

root@kali:/home/test# ping  static.vhdong.com
PING static.vhdong.com (121.41.89.5) () bytes of data.
bytes from 121.41.89.5 (121.41.89.5): icmp_seq= ttl= time=30.2 ms
bytes from 121.41.89.5 (121.41.89.5): icmp_seq= ttl= time=30.1 ms
^C
--- static.vhdong.com ping statistics ---
packets transmitted, received, % packet loss, time 3ms
rtt min/avg/max/mdev = 30.054/30.116/30.179/0.184 ms root@kali:/home/test# nmap static.vhdong.com
Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-08 09:52 CST
Nmap scan report for static.vhdong.com (121.41.89.5)
Host is up (.031s latency).
Not shown: filtered ports
PORT STATE SERVICE
/tcp open ftp
/tcp open http
/tcp open ms-wbt-server Nmap done: IP address ( host up) scanned in 17.94 seconds root@kali:/home/test# nc 121.41.89.5
-FileZilla Server 0.9. beta
-written by Tim Kosse (tim.kosse@filezilla-project.org)
Please visit https://filezilla-project.org/
USER anyone
Password required for anyone
PASS anyone
Login or password incorrect!
USER Login time exceeded. Closing control connection.
root@kali:/home/test# nc 121.41.89.5
-FileZilla Server 0.9. beta
-written by Tim Kosse (tim.kosse@filezilla-project.org)
Please visit https://filezilla-project.org/
USER anonymous
Password required for anonymous
PASS anonymous
Login or password incorrect!
pwd
Please log in with USER and PASS first.
Login time exceeded. Closing control connection.
root@kali:/home/test# nc 121.41.89.5
-FileZilla Server 0.9. beta
-written by Tim Kosse (tim.kosse@filezilla-project.org)
Please visit https://filezilla-project.org/
USER root
Password required for root
PASS root
Login or password incorrect!
help
-The following commands are recognized:
ABOR ADAT ALLO APPE AUTH CDUP CLNT CWD
DELE EPRT EPSV FEAT HASH HELP LIST MDTM
MFMT MKD MLSD MLST MODE NLST NOOP NOP
OPTS P@SW PASS PASV PBSZ PORT PROT PWD
QUIT REST RETR RMD RNFR RNTO SITE SIZE
STOR STRU SYST TYPE USER XCUP XCWD XMKD
XPWD XRMD
Have a nice day.
pwd
Please log in with USER and PASS first.
Login time exceeded. Closing control connection.
root@kali:/home/test#