【安全牛学习笔记】补充Proxytunnel、stunnel4

stunnel4                                      

无需修改源代码的情况下降TCP流量封装与SSL通道内

适用于本身不支持加密传输的应用                

支持openssl安全特性                           

跨平台                                        

性能

yuanfh@Bodhi:~$ sudo apt-get install stunnel4

1.1.1.1  防火墙

External port range: from:other 3306

NAT IP 1.1.1.10

Local port: 3306

save

msfadmin@metasploitable:~$ netstat -pantu | grep :3306

(No info could be read for "-p": geteuid()=1000 but you should be root.)

tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN

wireshark

ip.addr == 192.168.1.11

External port range: from:other 3306; to:3306

root@K:~# mysql -u root -h 192.168.1.11

Welcome to the Mysql monitor. Commands and with ; or \g.

Your MYSQL connection id is 7

Server version: 5.0.51a-3ubuntuS (Ubuntu)

Copyright (c) 2000, 2016 Oracle and/or its affiliate. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or it>

affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement

mysql> show datebases;

+--------------------+

| Database                |

+--------------------+

| information_schema |

| dvwa                          |

| metasploit                 |

| mysql                        |

| owasp10                   |

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值