Your file blackhole.tcl : This file name was used already many years ago. (A configuration file in the 2005 code.)
Suggest name = blackhole-B.tcl
I don't see any attacks with Mohit Tahiliani´s blackhole-M.tcl, or with your edited file :
$ ns235-blackh-Mohit blackhole-M.tcl
$ ns235-blackh-Mohit blackhole-B.tcl
.... No difference in the nam animation .... as far as I can see.
But with the other aodv "hacker" code from "aodv-malicious_ns235.patch" there is an attack / no attack, I think.
$ ns235-malicious mal_mohawad.tcl
$ ns235-malicious mal_mohawad_node5-off.tcl
aodv-malicious_ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNU0VNbUtIWlJpRk0/view?usp=sharingYou could do this : Set up another ns-allinone-2.35 for aodv-malicious_ns235.patch.
* You can have as many ns-allinone-2* as you want, installed at the same time.
* But do never add any *PATH text to .bashrc . Not required.
And keep all the executable´s 'ns-any-name' in /usr/local/bin/.
The file mal_mohawad.tcl + all hacker examples, aodv-malicious-examples-04.17.tar.gz : Attached.
--------------------------------------