LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 721|回复: 5

这是什么地址?

[复制链接]
发表于 2005-5-19 17:32:09 | 显示全部楼层 |阅读模式
我有个ftp地址,我用nslookup看一下,也不是域名,也不是ip,是什么来的 ?

我没见过

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-5-19 17:33:41 | 显示全部楼层
呵呵,IP有很多种表示方法,不一定是点分十进制,也不一定是图上这种,还有很多很多哈
回复 支持 反对

使用道具 举报

发表于 2005-5-19 17:38:40 | 显示全部楼层
我认为是FTP客户端工具存储的一个bookmark,这是bookmark的名称
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-19 17:46:46 | 显示全部楼层
书签我还拿来问,我无聊啊,你回答问题给点实际好吧,

axqd001 你说有很多表达方法,还有哪些啊,怎么我从没见过
回复 支持 反对

使用道具 举报

发表于 2005-5-19 22:03:26 | 显示全部楼层
我算了一下:
3528707690 == 0xd253ce6a
0xd2 == 210
0x53 == 83
0xce == 206
0x6a == 106
3528707690 == 210.83.206.106

我想大概是这样的吧?
如有不对请指正。
回复 支持 反对

使用道具 举报

发表于 2005-5-19 23:12:19 | 显示全部楼层


  1. #include <stdio.h>
  2. #include <stdlib.h>


  3. int main(int argc, char **argv)
  4. {
  5.         unsigned int ip = 3528707690u;
  6.         unsigned int a = 0xff000000u;
  7.         unsigned int b = 0x00ff0000u;
  8.         unsigned int c = 0x0000ff00u;
  9.         unsigned int d = 0x000000ffu;

  10.         printf("%u.%u.%u.%u\n",
  11.                         (ip & a) >> 24, (ip & b) >> 16, (ip & c) >> 8, ip & d);

  12.         exit(EXIT_SUCCESS);
  13. }

复制代码

coder@deb3:~/progs/blp/c9$ ./ipcalc
210.83.206.106
coder@deb3:~/progs/blp/c9$
starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-05-19 22:34 CST
Interesting ports on 210.83.206.106:
(The 1648 ports scanned but not shown below are in state: closed)
PORT     STATE    SERVICE
21/tcp   open     ftp
25/tcp   open     smtp
80/tcp   open     http
135/tcp  filtered msrpc
139/tcp  filtered netbios-ssn
445/tcp  filtered microsoft-ds
593/tcp  filtered http-rpc-epmap
1025/tcp open     NFS-or-IIS
1029/tcp open     ms-lsa
2008/tcp open     conf  <---------------------------------------------
3306/tcp open     mysql
4444/tcp filtered krb524
5003/tcp open     filemaker
5800/tcp filtered vnc-http
5900/tcp filtered vnc

~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表