Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: extracting passwords from ethereal dump |
|---|---|
| Date: | Mon, 27 Jun 2005 14:34:41 +0200 |
On Tue, Jun 21, 2005 at 04:32:27PM +0200, Nicolas Gregoire wrote:
Le lundi 20 juin 2005 à 19:14 +0300, Mohamed Abdel Kader a écrit :I was on a assessment and decided to get some of the traffic moving along the network. i got it using ethereal. now i want a program (other than ettercap) that can take this dump and extract the passwords.Hey, I just had a quasi identical situation last week. I captured 2 Gb of trafic while arp-spoofing some hosts (during an internal pentest) and I had to extract as much information as possible from my pcap files.
Maybe the following script could be of use also. Not sure
if it will work on a 2Gb file, but this could be a good
test ;)
--8<--
#!/usr/bin/perl
use strict;
use warnings;
use Net::Pkt;
my $dump = Net::Packet::Dump->new(
file => $ARGV[0],
filter => $ARGV[1] ? $ARGV[0] : '',
overwrite => 1,
unlinkOnDestroy => 0,
noStore => 1,
callStart => 1,
);
while (my $f = $dump->next) {
if ($f->l7) {
my $binData = $f->l7->data;
print unpack('H*', $binData), "\n";
# Do whatever you want with this $binData here
}
}
--8<--
--
^ ___ ___ FreeBSD Network - http://www.GomoR.org/ <-+
| / __ |__/ Systems & Security Engineer |
| \__/ | \ ---[ zsh$ alias psed='perl -pe ' ]--- |
+--> Net::Packet <=> http://search.cpan.org/~gomor/ <--+
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CEH training, Abhijayendra Singh |
|---|---|
| Next by Date: | RE: Sample pent test agreement, random |
| Previous by Thread: | Re: extracting passwords from ethereal dump, Noname |
| Next by Thread: | wireless WEP crack., Gwanghoon Kim |
| Indexes: | [Date] [Thread] [Top] [All Lists] |