The famous ARP Poisoning problem started to spread here in egypt and while we are putting the main problems an engineer or specifically an egyptian engineer may face, we found that Netcut problem is one of the major
I’ve developed a small script to magically terminate this issue, this is an Intelligent Anti netcut script, it has the following main features:
- Support for Multiple Interfaces and auto-detection of the correct interface
- Detection of poisoning or weird settings.
- Doesn’t need to be run continuously, run it once each 1 minute or even every 1 hour. [Typically, you'll need to run this script once!]
- Smart detection of Gateway Settings
- Verbose
You can download it directly from here http://www.ahmedsoliman.com/download-manager.php?id=1
NOTE: I’m not responsible for any damage you may have or face or any diseases that might spread or pets that might be killed in an area of half of the universe per using this script
UPDATE
This version is pretty old, if you want the latest version please check http://code.google.com/p/antinetcut
Waiting for feedback…










by Ahmed Refaey
01 Jun 2007 at 06:34
Well Done !
by Abd El-Rahman Hegazy
01 Jun 2007 at 06:53
bravooo ya bashmoshandes wallahi
ana garbto we 100 /100 wallahi yabo7emeed eshta 3aleeeeeeek begad
by MO3az
03 Jun 2007 at 22:11
gamed ya ahmad walahy .. tool 3amrak bit3 el geded .. thax ..
by BinGoRabbit
05 Jun 2007 at 13:27
AWESOME, really gr8 work Farghal..keep it up man.
by Dj.r4iDeN
08 Jun 2007 at 23:42
nice work pro
anta fe3lan proo we mesh men al nas lay bt3mel 7aga
we t3od tezeet beha
atmna an rabena ywf2ak fe 7ytak al 3amlya
your brother ahmed
NYC Staten island
by Ahmed S. Farghal
08 Jun 2007 at 23:44
thanks
by Eslam Mamdouh
23 Jul 2007 at 17:46
hoa bas i have a Q
when i typed ./antinetcut.sh
an error appeared to me
./antinetcut.sh: line 16: ip: command not found
Couldn’t autodetect your ethernet card that’s connected to the internet.
so what can i do
by Ahmed El Gamil
24 Jul 2007 at 10:55
the ip command is in /sbin/ip which is not in normal user $PATH
excute the script as root
Looks like our Mentor is busy these days, May ALLAH be with him..
by MMF
24 Jul 2007 at 20:22
really well done
by Eslam Mamdouh
27 Jul 2007 at 14:15
al salam 3alekom wa ra7mot allah wa barakatoh
ya ahmed the same error appeared to again with root user
[root@localhost linux]# ./antinetcut.sh
Dependencies OK
./antinetcut.sh: line 16: ip: command not found
Couldn’t autodetect your ethernet card that’s connected to the internet.
by Ahmed El Gamil
28 Jul 2007 at 13:22
okay..looks like you donot have the iproute package
yum install iproute, or u can find it on the fedora dvd
by Eslam Mamdouh EL-Hoseny
29 Jul 2007 at 00:09
The iproute package contains networking utilities (ip and rtmon, for example) which are designed to use the advanced networking capabilities of the Linux 2.4.x and 2.6.x kernel.
is already installed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
by Ahmed S. Farghal
29 Jul 2007 at 00:59
Eslam: could you please tell me how do you log into “root” account?
do you use “su” ?
by Eslam Mamdouh
08 Aug 2007 at 01:02
yes ahmed i log in root mode using su command
by Ahmed S. Farghal
08 Aug 2007 at 23:45
you have to add a “-” after su, like the following:
su – root
by Black ice
09 Aug 2007 at 01:05
hello
great job really thanks
but it gave me an exit status 1 ? i couldn’t figure out what the problem is ?
and i need you r feed back
we rabbena yetamem bekheer ya basha
by Fouad
15 Nov 2007 at 16:49
Great work, Update it and it will be better, Thanks for your great work and efforts.
by hema
16 Nov 2007 at 16:41
thamksssssssssssssssssssssssssssss
by Ahmed S. Farghal
21 Nov 2007 at 15:54
wait Anti netcut V0.3 sooooooooon isA.
by Diaa Mohamed Kasem
09 May 2008 at 02:01
Nice Script …
I really would prefer it you’ve documented it more explicitly.
If I could understand it correctly, ( I read it only ) ,, You only add a static ARP record that is the gateway with the correct MAC address. ( If it so ) .. I guess it works only theoretically !!!
I am gonna try it soon ,, and in sha2 ALLAH gonna reply with the result ….
I know you are professional in lots of IT stuff …. Its nice to know people like still exists in egypt …
by Ahmed S. Farghal
10 May 2008 at 11:56
@diaa: It works for Net Cut prior to version 2.8 because version 2.8 also poisons the router to disable router replies. I’ve written an update to this script that eliminates this problem and can work perfectly against 2.8, and I’ll publish it soon.
Actually it’s self document, it’s pretty easy and straight forward. I didn’t think that it might be mysterious to some people, so I’ll work on documenting the next version.
Anyhow, great thanks for passing by.
by basim
03 Jun 2008 at 12:45
sure its v.good but i cant run it in ubuntu gnome
root@scorpione:~# ‘/media/BROGRAMS/linux/antinetcut.sh’
an error appeared
Please install iproute suite, yum install iproute
in ubuntu
i use sudo apt-get install iproute and installed .. ok
again an error appeared
Please install iproute suite, yum install iproute
your comment!!
by Ahmed S. Farghal
03 Jun 2008 at 18:00
yeah, that’s because it’s not supported for ubuntu…
but it’s easy to hack to ubuntu.. anyway stay tuned for the next release
by Magdy
09 Jun 2008 at 22:00
as-salam aliekom
our yunger linux creative
i noticed your name in the KDE community isn’t you …
your site is very intelligent, but it’sn’t native to your name
why ,,, your all notes ,blogs and diggs in english even the arabic words also in english writing ,so your logo “Unite” -in my opinion- has no mean,
thanks
magdy abdelhamid
alexandria
Egypt
by Ahmed S. Farghal
10 Jun 2008 at 16:40
Hello magdy,
That’s because I’ve readers from all over the world, that’s why I can’t write in arabic only..
I write in arabic some personal posts. and why do “Unite” has no meaning to you?! it means “Etta7eto” or
اتحدوا
looking forward to hearing from you…
by kamasheto
11 Jun 2008 at 07:35
@Magdy: Yet, you decide to write in English.
by ahmed ali
05 Aug 2008 at 10:56
شغل جميل يا باشمهندس جزاك الله خيرا
ربنا يجعلك زخراً للإسلام والمسلمين
by m1hmoud
12 Aug 2008 at 02:46
i want the solution for ubuntu
peace
by Ahmed El Sharkawy
04 Apr 2009 at 07:30
شكرا جزيلا يا باشمهندس أحمد على المجهود الرائع
و ننتظر منك المزيد فى مجال المصدر المفتوح
by adam
09 Jul 2009 at 07:01
تماااام
by Dimas
17 Sep 2009 at 07:33
emmmm, how do we use it?
I’m already installed on my notebook, but I don’t know how to operate it
thanks
by Ahmed S. Farghal
17 Sep 2009 at 13:06
please check http://code.google.com/p/antinetcut/wiki/RunningInLinux
by benhard
24 Sep 2010 at 10:21
hi admed soliman,
my name benhard from indonesia.
i have use your program to prevent my network..
maybe you can to add couple of code to make the log at /var/log/antinetcut.log show the info of the attacker who attack our net. So, it will be easy to make a decision.
tanks ..
by Ahmed S. Farghal
24 Sep 2010 at 14:20
well, this needs some work and I haven’t touched that code long time ago, I’ll see what I can do