Linux Anti Netcut V0.2
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
Waiting for feedback…




Ahmed Refaey said,
June 1, 2007 @ 6:34 am
Well Done !
Abd El-Rahman Hegazy said,
June 1, 2007 @ 6:53 am
bravooo ya bashmoshandes wallahi
ana garbto we 100 /100 wallahi yabo7emeed eshta 3aleeeeeeek begad
MO3az said,
June 3, 2007 @ 10:11 pm
gamed ya ahmad walahy .. tool 3amrak bit3 el geded .. thax ..
BinGoRabbit said,
June 5, 2007 @ 1:27 pm
AWESOME, really gr8 work Farghal..keep it up man.
Dj.r4iDeN said,
June 8, 2007 @ 11:42 pm
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
Ahmed S. Farghal said,
June 8, 2007 @ 11:44 pm
thanks
Eslam Mamdouh said,
July 23, 2007 @ 5:46 pm
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
Ahmed El Gamil said,
July 24, 2007 @ 10:55 am
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..
MMF said,
July 24, 2007 @ 8:22 pm
really well done
Eslam Mamdouh said,
July 27, 2007 @ 2:15 pm
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.
Ahmed El Gamil said,
July 28, 2007 @ 1:22 pm
okay..looks like you donot have the iproute package
yum install iproute, or u can find it on the fedora dvd
Eslam Mamdouh EL-Hoseny said,
July 29, 2007 @ 12:09 am
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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ahmed S. Farghal said,
July 29, 2007 @ 12:59 am
Eslam: could you please tell me how do you log into “root” account?
do you use “su” ?
Eslam Mamdouh said,
August 8, 2007 @ 1:02 am
yes ahmed i log in root mode using su command
Ahmed S. Farghal said,
August 8, 2007 @ 11:45 pm
you have to add a “-” after su, like the following:
su - root
Black ice said,
August 9, 2007 @ 1:05 am
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
Fouad said,
November 15, 2007 @ 4:49 pm
Great work, Update it and it will be better, Thanks for your great work and efforts.
hema said,
November 16, 2007 @ 4:41 pm
thamksssssssssssssssssssssssssssss
Ahmed S. Farghal said,
November 21, 2007 @ 3:54 pm
wait Anti netcut V0.3 sooooooooon isA.
Diaa Mohamed Kasem said,
May 9, 2008 @ 2:01 am
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 …
Ahmed S. Farghal said,
May 10, 2008 @ 11:56 am
@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.
basim said,
June 3, 2008 @ 12:45 pm
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!!
Ahmed S. Farghal said,
June 3, 2008 @ 6:00 pm
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
Magdy said,
June 9, 2008 @ 10:00 pm
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
Ahmed S. Farghal said,
June 10, 2008 @ 4:40 pm
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…
kamasheto said,
June 11, 2008 @ 7:35 am
@Magdy: Yet, you decide to write in English.
ahmed ali said,
August 5, 2008 @ 10:56 am
شغل جميل يا باشمهندس جزاك الله خيرا
ربنا يجعلك زخراً للإسلام والمسلمين
m1hmoud said,
August 12, 2008 @ 2:46 am
i want the solution for ubuntu
peace