Sendmail
安装
Sudo apt-get install sendmail
echo "hello" | mail -s HELLO shaowangzhen@gmail.com
向自己的邮箱发送邮件
用wireshark 抓包
找到自己发送的邮件
dante-server
安装
Sudo apt-get install dante-server
2.创建
sudo mkdir /var/log/sock
3.配置
Sudo vim /etc/danted.conf
#logoutput: stderr
#logoutput: syslog
logoutput: /var/log/sockd/sockd.log
internal: 0.0.0.0 port = 1080
#!!!!!!!!Wlan0 etho
external: eth0
#method: username none
#method: pam
method: username
user.privileged: root
user.notprivileged: proxy
user.libwrap: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect disconnect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bindreply udpreply
log: connect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
protocol: tcp udp
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
command: udpassociate
}
#block {
# from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
# protocol: tcp udp
# log: connect erro
#}
启动
/etc/init.d/danted start
发现问题
cd /lib/i386-linux-gnu/
ln -s libc.so.6 libc.so
7.
sudo etc/init.d/danted start
ps aux | grep dante
安装
Sudo apt-get install sendmail
echo "hello" | mail -s HELLO shaowangzhen@gmail.com
向自己的邮箱发送邮件
用wireshark 抓包
找到自己发送的邮件
dante-server
安装
Sudo apt-get install dante-server
2.创建
sudo mkdir /var/log/sock
3.配置
Sudo vim /etc/danted.conf
#logoutput: stderr
#logoutput: syslog
logoutput: /var/log/sockd/sockd.log
internal: 0.0.0.0 port = 1080
#!!!!!!!!Wlan0 etho
external: eth0
#method: username none
#method: pam
method: username
user.privileged: root
user.notprivileged: proxy
user.libwrap: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect disconnect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bindreply udpreply
log: connect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
protocol: tcp udp
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
command: udpassociate
}
#block {
# from: 0.0.0.0/0 to: 0.0.0.0/0 port 1-65535
# protocol: tcp udp
# log: connect erro
#}
启动
/etc/init.d/danted start
发现问题
cd /lib/i386-linux-gnu/
ln -s libc.so.6 libc.so
7.
sudo etc/init.d/danted start
ps aux | grep dante