brav0hax / easy-creds

274 stars 97 forks source link

Fixes I/O redirection bug in FreeRadius attack & f_Quit() adjustments #6

Closed noncetonic closed 11 years ago

noncetonic commented 11 years ago

When spawning a FreeRadius AP an error was occuring during the

mv ${pathtoradiusconf}/radiusd.conf ${pathtoradiusconf}/radiusd.conf.back 2&1> /dev/null command

I/O redirection should be 2>&1 ... so I made the fix.

In the f_Quit() function easy-creds removes the log directory if a poisoning attack is stopped but if any further attacks are attempted the directory is now empty and thus causes issues. I just commented out the line in f_Quit() for the time being until an adequate solution is devised. When the exiting function is called all temporary directories will be cleaned up thus the clean up in f_Quit() after poisoning is not needed.

Thanks to Karthik Rangarajan for originally pointing out these errors