action08 发表于 2015-02-16 16:18

大过年的,不打牌没事,来学习一下bsd---学习手稿2-16

唯有学习才能使人进步

action08 发表于 2015-02-16 16:19

本帖最后由 action08 于 2015-02-16 16:21 编辑

今天想问一个问题,如何ports安装nmap才能正常工作# pkg_add nmap
quirks-2.9 signed on 2014-08-02T11:06:13Z
Error from http://mirror.internode.on.net/pub/OpenBSD/5.6/packages/i386/nmap-6.46p0.tgz
Redirected to http://112.25.25.92:801/videoplayer/nmap-6.46p0.tgz?ich_u_r_i=cf5901849a3cf8fd069eb9293bd1e8d7&ich_s_t_a_r_t=0&ich_e_n_d=0&ich_k_e_y=7c48de6086934f2234054d272f74ae0bf8b215067a39469a98f98b7d57b55bde&ich_t_y_p_e=1&ich_d_i_s_k_i_d=2&ich_s_e_q=98200771&ich_u_n_i_t=1
Requesting http://112.25.25.92:801/videoplayer/nmap-6.46p0.tgz?ich_u_r_i=cf5901849a3cf8fd069eb9293bd1e8d7&ich_s_t_a_r_t=0&ich_e_n_d=0&ich_k_e_y=7c48de6086934f2234054d272f74ae0bf8b215067a39469a98f98b7d57b55bde&ich_t_y_p_e=1&ich_d_i_s_k_i_d=2&ich_s_e_q=98200771&ich_u_n_i_t=1
#
#
# nmap localhost

Starting Nmap 6.46 ( http://nmap.org ) at 2015-02-17 00:11 CST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00011s latency).
Not shown: 998 closed ports
PORT   STATE SERVICE
22/tcp openssh
25/tcp opensmtp

Nmap done: 1 IP address (1 host up) scanned in 22.34 seconds
#
# id
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest)
#
# uname -a
OpenBSD openbsd.my.domain 5.6 GENERIC#274 i386
#
#
我自己ports下载nmap编译安装,nmap工具就不能工作,不知道有什么诡异问题

action08 发表于 2015-02-16 16:36

openbsd关机init 0还不好使


可用的命令shutdown -hp now

lsstarboy 发表于 2015-02-16 21:56

回复 2# action08


    你觉得nmap怎么样才算正常工作?我怎么觉得nmap已经比较正常了呢?

action08 发表于 2015-02-17 14:15

lsstarboy 发表于 2015-02-16 21:56 static/image/common/back.gif
回复 2# action08




make install clean出来的nmap就不正常,
这个是pkg_add的,效果还不错
页: [1]
查看完整版本: 大过年的,不打牌没事,来学习一下bsd---学习手稿2-16