inetsim安装
http://www.inetsim.org/packages.html
果然官方的东西是最好的~~~不走弯路
成功了之后是这样:
INetSim 1.2.7 (2017-10-22) by Matthias Eckert & Thomas Hungenberg
Main logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/main.log' does not exist. Trying to create it...
Main logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/main.log' successfully created.
Sub logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/service.log' does not exist. Trying to create it...
Sub logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/service.log' successfully created.
Debug logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/debug.log' does not exist. Trying to create it...
Debug logfile '/home/pang/inetsim-1.2.7/inetsim-1.2.7/log/debug.log' successfully created.
Using log directory: /home/pang/inetsim-1.2.7/inetsim-1.2.7/log/
Using data directory: /home/pang/inetsim-1.2.7/inetsim-1.2.7/data/
Using report directory: /home/pang/inetsim-1.2.7/inetsim-1.2.7/report/
Using configuration file: /home/pang/inetsim-1.2.7/inetsim-1.2.7/conf/inetsim.conf
Parsing configuration file.
Configuration file parsed successfully.
=== INetSim main process started (PID 6703) ===
Session ID: 6703
Listening on: 127.0.0.1
Real Date/Time: 2018-05-12 04:32:59
Fake Date/Time: 2018-05-12 04:32:59 (Delta: 0 seconds)
Forking services...
* finger_79_tcp - started (PID 6717)
* dns_53_tcp_udp - started (PID 6705)
* ntp_123_udp - started (PID 6716)
* tftp_69_udp - started (PID 6714)
* discard_9_tcp - started (PID 6726)
* daytime_13_tcp - started (PID 6722)
* ident_113_tcp - started (PID 6718)
* syslog_514_udp - started (PID 6719)
* dummy_1_tcp - started (PID 6732)
* discard_9_udp - started (PID 6727)
* time_37_udp - started (PID 6721)
* time_37_tcp - started (PID 6720)
* daytime_13_udp - started (PID 6723)
* echo_7_tcp - started (PID 6724)
* echo_7_udp - started (PID 6725)
* quotd_17_tcp - started (PID 6728)
* irc_6667_tcp - started (PID 6715)
* chargen_19_tcp - started (PID 6730)
* dummy_1_udp - started (PID 6733)
* quotd_17_udp - started (PID 6729)
* chargen_19_udp - started (PID 6731)
* pop3_110_tcp - started (PID 6710)
* smtps_465_tcp - started (PID 6709)
* http_80_tcp - started (PID 6706)
* pop3s_995_tcp - started (PID 6711)
* smtp_25_tcp - started (PID 6708)
* ftps_990_tcp - started (PID 6713)
* ftp_21_tcp - started (PID 6712)
* https_443_tcp - started (PID 6707)
done.
Simulation running.
最好是直接用su命令,用root账户搞,不会出各种问题
linux下的权限管理做得是很好的,经常会有需要管理员权限才能安装或者修改的东西
第一种姿势:
sudo ***(然后输入的是当前用户的密码)
第二种姿势:
su
以root权限来登陆
但是这里会出现的情况是:当你一直没有设置过root密码的时候,会一直验证失败的
需要:
sudo passwd root
然后输入当前用户密码,再设置root密码
如图: