Re: Script for sniffing traffic.
Ahah, that's true !
By the way, my new website is up and running (and not finished at all, but who gives a f...). So the script is updated too so that it retrieves informations from the new website !
Update your scripts !
Oh, and you will now have to launch it with "yamas" instead of "mitm" !
Re: Script for sniffing traffic.
Grepping and parsing data to/from a dyanamic file using sh, NOT A GREAT IDEA but it can be done. Ill have a look into it.
Re: Script for sniffing traffic.
Re : Re: Script for sniffing traffic.
Still there, but migrating to comax.fr Don't worry, the script should do that alone, you won't notify anything. You'll just have to call it with "yamas" instead of "mitm" ;)
Killadaninja : yup, but since it was a bash script, I did it with bash, and I must say I'm pretty happy with the result. I just have to find a way to not make it parse the whole stuff everytime, because when the file gets large, it gets CPU consuming... Tail could be an option, but I remeber I discarded it for some reason when I was working on it !
Re: Script for sniffing traffic.
Excuse my ignorance ComaX, I did not realise you had incorperated it into your script I thought you was having a problem doing so, hence why I said I would have a look. So what exactly is your problem?
Re: Script for sniffing traffic.
No way to have ettercap (as an option of course!!!) to parse the traffic?
Respuesta: Re: Script for sniffing traffic.
I deleted mitm in /usr/bin and download again the recent yamas.sh
Now working fine
Thanks for the script!
cheers
Re : Re: Script for sniffing traffic.
Quote:
Originally Posted by
killadaninja
Excuse my ignorance ComaX, I did not realise you had incorperated it into your script I thought you was having a problem doing so, hence why I said I would have a look. So what exactly is your problem?
Hmm well, right now I don't think I have any ! I did have problems, but I believe I solved them all ! If I could, I would just like to make it less CPU-consuming ! Thanks for your interest though ;)
@Michelinok : I don't know how this works, but I'm pretty sure it will need a pcap file. And that would defeat the sole purpose of the parser I worked my as* off to do :p
I'll have a look into it though. After all, my parser is for sslstrip, not for pcap, so why not...
Re: Re : Re: Script for sniffing traffic.
I created a more "fluid" way to check for sslstrip version. I notice you hardcoded your version numbers.
this may help...works ok for now and should in the future as well.
http://pastebin.com/j8qJ6LQt
JB
Re : Script for sniffing traffic.
Pretty nice, but that is pretty much hard-coded too :
Code:
printf "\nDownloading the tar file...\n"
cd /tmp
wget -q http://www.thoughtcrime.org/software/sslstrip/sslstrip-0.9.tar.gz
sleep 2
The link is provided on the page so, parsing it to store it to a variable and then wget -q $var would do the trick ;)