![]() |
Dsniff not working!
So I have tried and tried, and then tried again, and just cannot seem to get dsniff working. I tried installing with macports, and when trying to run dsniff, got an error: Libnids not initialized. Compiling directly from source just gives me even more errors. I had heard that there is a patch out there for the program, but I do not know anything about it and cannot find any information on the web. Anyone able to help?
I need to make a security presentation, and part of it involves some white hat hacking, introduction to penetration testing, etc. If anyone also has recommendations on what techniques to show, that would be cool too :) This presentation is to a senior class at the University of Maryland, who are in the Business Information Systems major. I will be covering PHP security, packet sniffing, arp poisoning, mac spoofing, ddos, man in the middle, hashes and encryptions. Any other ideas? ~Pendraggon87 |
Fink has dsniff, and it works just fine. There's also a comment to a hint on the main Mac OS X Hints site, that links to an OS X precompiled binary including all libraries
http://www.macosxhints.com/article.p...10406124043420 I've got both installed on my Mac, and both versions work just fine. I've never tried the MacPorts version, so can't comment on that. Trevor |
I tried fink but did not see the package listed - I will try again :) The link tot he binaries has been removed, and they instead use the older version of dsniff, which I do not think works with libnet1.1
I saw the info on tcpdump. However, I do not know a good way to parse the output to make it human-reader-friendly - many of these students have never done anything of the sort before. |
I just installed 'dsniff' via MacPorts on my 10.5.6 machine and it works fine.
|
Quote:
Code:
% fink list dsniff |
It is stuck on trying to fetch something called m4...
I do remember though that when I had installed through MacPorts originally, I tried running Code:
dsniff Kismet_Log.dumpCode:
dsniff: Libnids not initialized. |
Here is the error I have when trying to build with macports:
Code:
... |
pendraggon87:
You don't seem to have mentioned what version of OS X you have. I didn't build 'dsniff' from MacPorts source - I just did 'port install dsniff' and it installed libnids etc first. Is your MacPorts install up to date? Try 'sudo port -d selfupdate' |
Quote:
Code:
sudo port install dsniff |
Quote:
I don't see where you have showed us the errors you got when trying to install dsniff - please show us them verbatim. |
Errors
As mentioned above, here are the errors I get. Everything goes fine until here:
Quote:
|
Quote:
Please show us the full contents of your Terminal window from the point where you typed the command 'sudo port install dsniff' onwards. |
That is the full output when I run the command at this point. I can try uninstalling all the ports and then reinstalling dsniff to provide the full text if that works.
|
Quote:
Quote:
|
Here is the code of what I ran. I uninstalled all ports and ran fresh.
Code:
aaronkatz@Shadayim->~: sudo port install dsniff |
Quote:
It looks like MacPorts is using the header files that you have there for some reason and this is screwing it up. |
Could it be from a Wireshark installation? The contents of the /usr/local/net folder are: bpf.h
That is the only file there. |
I just ran sudo mv /usr/local/include/net /usr/local/include/net1 and after that dsniff installed without a hitch. now to wait till i can find a network to test it on. There is no one on this network right now but me :)
|
Not sure if it is working though. Running:
Code:
sudo dsniff -i en1 |
Ok, so I can run some of the utilities, like urlsnarf. However, sudo dsniff -i en1 shows up nothing, and trying sudo dsniff KismetLog.dump gets me a
Code:
aaronkatz@Shadayim->~: sudo dsniff Kismet-Mar-17-2009-1.dump |
Additionally, msgsnarf seems to segfault constantly. Was there something wrong with moving that /usr/local/include/net/ folder?
|
Quote:
|
I tried creating a form that sent username and password in the clear to itself, got nothing. And trying
Code:
sudo dsniff -r KismetLog.dump |
Quote:
For reading pcap files, I see there needs to be a patch, from: http://www.netstumbler.org/f50/dsnif...network-15596/ but I do not know how to actually implement the patch, as I get errors when trying. I think I may just give up on dsniff - its a great concept but just isnt working. |
| All times are GMT -5. The time now is 05:32 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.