Results 1 to 1 of 1

Thread: Extraindo arquivos e informações capturadas das redes por sniffers

  1. #1
    Moderator firebits's Avatar
    Join Date
    Mar 2010

    Lightbulb Extraindo arquivos e informações capturadas das redes por sniffers

    Uma forma mais automatizada é uma arquivo em shell script (

    filename=`echo $0 |tr -d .sh |tr -d /`


    echo "Enter your '.cap' file location/name"
    echo "Ex: /root/media/packets/lab/packets.cap"
    echo -n "-> "
    read fn

    mkdir $fna
    mkdir $fna/`date +%m%d%y%H%M`

    while :
    echo ">>>>>>>>MENU<<<<<<<<"
    echo "1) Run URLSNARF (Grabs URLS)"
    echo "2) Run DriftNet (Grabs Images)"
    echo "3) Run ForeMost (Grabs Files and Images)"
    echo "4) Run URLSnarf and ForeMost"
    echo "5) Exit"
    echo "Please enter an option 1-5"
    echo -n "-> "
    read opt
    case $opt in
    1) echo "+++++++++URLSNARF+++++++++";
    mkdir $fna/`date +%m%d%y%H%M`/urlsnarf
    urlsnarf -p $fn > $fna/`date +%m%d%y%H%M`/urlsnarf/urls.txt;
    echo "UrlSnarf Complete";;
    2) echo "+++++++++DriftNet+++++++++";
    mkdir $fna/`date +%m%d%y%H%M`/driftnet;
    tcpreplay -i lo $fn &1;
    driftnet -i lo -a -d $fna/driftnet/;
    echo "DiftNet Complete";;
    3) echo "+++++++++ForeMost++++++++++";
    mkdir $fna/`date +%m%d%y%H%M`/foremost;
    foremost -i $fn -v -o $fna/foremost/;
    echo "ForeMost Complete";;
    4) echo "+++Running Multiple Methods+++";
    mkdir $fna/`date +%m%d%y%H%M`/urlsnarf;
    mkdir $fna/`date +%m%d%y%H%M`/foremost;
    urlsnarf -p $fn > $fna/`date +%m%d%y%H%M`/urlsnarf/urls.txt;
    foremost -i $fn -v -o $fna/`date +%m%d%y%H%M`/foremost/;
    echo "All Extractions Completed";;
    5) echo "Later!";
    *) echo "$opt is an invalid option. Please select option 1-5 only";
    echo "Press enter to continue...";
    read enterKey;;


    Traduzido e Adaptado por firebits
    Last edited by firebits; 04-17-2010 at 03:16 PM.

Similar Threads

  1. Ataque a redes inalambricas con cifrado WEP
    By foster04 in forum Soporte en Wireless
    Replies: 7
    Last Post: 08-26-2010, 04:20 PM
  2. [nmap] - Fazendo scanning por Conflicker em redes
    By firebits in forum Suporte Software
    Replies: 0
    Last Post: 04-09-2010, 07:00 PM
  3. Wireshark and other sniffers arn't showing seq or ack numbers
    By compaq in forum OLD BT3final Support
    Replies: 0
    Last Post: 10-05-2008, 01:04 AM
  4. How do I protect my clients from sniffers?
    By greyspace in forum OLD Newbie Area
    Replies: 8
    Last Post: 05-12-2008, 10:02 PM
  5. Bluetooth sniffers
    By skyw00lker in forum OLD Wireless
    Replies: 1
    Last Post: 01-02-2008, 03:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts