LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: KMnO4

有没有办法抢IP地址

[复制链接]
发表于 2004-11-10 20:58:39 | 显示全部楼层
最初由 dongp 发表
我这也有跟我抢的,哈哈
$perl
while(1){
system("/etc/init.d/net.eth0 restart");
sleep(1);
}
你看看他还敢再抢你的不

自己还能上不?
 楼主| 发表于 2004-11-10 21:59:37 | 显示全部楼层

BT,So BT

yeah!!! It works so perfect!!!!!!

while i am writing this, the script is running.

I am using Debian ,so the script is as followed:

#!/usr/bin/perl
while(1){
system("echo hahaha\n");
system("/etc/init.d/networking restart");
sleep(1);
}



and the result is
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
hahaha
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...done.
发表于 2004-11-10 22:28:25 | 显示全部楼层
how does it work?
发表于 2004-11-11 06:05:18 | 显示全部楼层
正在试验,,,如果成功,将公布结果。:)。。呵呵。。看谁还敢抢Linux系统的IP。。。


Linux的抢IP功能非常差,Win的强。。郁闷。。。
 楼主| 发表于 2004-11-11 06:55:36 | 显示全部楼层
最初由 linuxjerry 发表
how does it work?


就是把上面代码放到一个文件里,再chmod为可执行.运行就行了啊,基本不耽误我上网和apt升级.

爽啊.

我拿我寝同学试验来着,他那反应可大了.have a try
发表于 2004-11-11 07:33:05 | 显示全部楼层
那是因为,,,Windows不断的提示,,,IP重复。。哈哈。。。
 楼主| 发表于 2004-11-11 07:42:18 | 显示全部楼层
但是Linux跟没事似的。

就是这么爽。火火  ^o^
发表于 2004-11-11 08:33:15 | 显示全部楼层
偶讨厌linux这个特征,IP没了,跟没事一样。郁闷。。
 楼主| 发表于 2004-11-11 08:37:27 | 显示全部楼层
ipconfig也不麻烦哦。
发表于 2004-11-11 08:51:52 | 显示全部楼层
偶正在看一个工具。。。。嘿嘿。。。。
如果一直发送ARP的话,,那个IP就是你的了。。。哈哈。。。

抢别人IP都可以。。嘿嘿。。。。
反正Linux支持IP alias。。哈哈。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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