![]() |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
http://pastebin.com/rmvNSCAR
latest dev version. This does not need xterm or bash to be installed. Install as per unhumans instructions in post #1. Except miss out xterm and bash. All processes are shut down nicely only problem I see with limited testing is the ettercap window doesnt close (after it has been killed). A solution is in the works. |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
If I make it executable and launch it without bash (just "./mitm.etc.sh"), it SegFaults (invalid -n option in final function, so the menu goes crazy). Insults are welcome if this is a dumb question ;) |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
Please tell me: Are you using busybox power? To test, type busybox from the xterm and tell me your version number. The -n flag on the read command isnt really needed, I just liked not having to press return after each choice. If you are using the stock busybox then we will have to remove the '-n 1' from all the instances of the 'read' command. It is no great loss really. As for ettercap not shutting down, this is a good thing. Ettercap PREFERS to have you quit properly with 'q' button so it can un-ARP everyone (shutdown nicely). With this in mind I am thinking of removing the instances of killall ettercap, forcing the user to shut it down properly. That is of course unless someone can work out how to send a 'q' keystroke to the ettercap window. However I feel that is a stick of dynamite to crack a nut. If all this is the case, then all we need to do is remove the wgets, correct some spelling, slap its *** and send it on its way! tl;dr, stock busybox might not like -n 1 parameter. Please report your version of busybox. |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
BTW I can't properly use the script without changing the temp folder: ettercap always stops its activity when the log file exceeds ~930 KB (because /tmp is full). Shouldn't we change the temp folder too? |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
Very good point with the moving of the temp folder, we want to minimise read/writes on the NAND (and <1MB is too small). The obvious place is somwhere in /opt. If there is an '/opt/tmp', put it there. If there is not, we will create one. So: 1. remove all instances of '-n 1' 2. check/create for /opt/tmp 3. possibly check if script is being run as root and exit if not. 4. edit some of the wordage for better flow. 5. remove the wgets. |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
EDIT: http://pastebin.com/LusgAMpx Just removed the "-n 1" so busybox-power is not needed, and added a little check for being sure it is run as root. Hope that's ok; should I start working on point 2? EDIT2: just noticed that "#" was missing before !/bin/sh, added that too. |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
This is my last version of the script:
http://pastebin.com/YGjb7UeE It should create /opt/tmp and operate there, however it still saves the results in /root. I'd like to make it saving the output somewhere else, e.g. /opt/yamas or/MyDocs/Yamas or even MyDocs/.documents/yamas for more user-friendliness; what do you think about it? |
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
The results for sure must be moved from /tmp/.. I personally suggest /MyDocs/Yamas/. At the moment /tmp/ limits the file size and at one point the script stops working as some people are reporting.
|
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
Quote:
|
Re: [Announce] Yet another MITM attack script (Yamas-ARM)
+1 /MyDocs/Yamas
|
All times are GMT. The time now is 09:11. |
vBulletin® Version 3.8.8