Tuesday, 11 September 2012

driftnet on backtrack 5


driftnet
driftnet

Introduction
Driftnet - capture images from network traffic and display them in an X window . 

Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display. It is an horrific invasion of privacy and shouldn't be used by anyone anywhere. 

Options

-h
Print a summary of usage.
-v
Print additional details of packets captured to the terminal.
-i interface
Listen to packets on interface. By default, driftnet will try to pick up traffic on all interfaces, but this does not work with all versions of pcap, on such systems, an interface must be specified. On some systems, driftnet can only use promiscuous mode if an interface is specified.
-p
Do not put the interface into promiscuous mode.
-a
Operate in 'adjunct mode', where driftnet gathers images for use by another program, such as Jamie Zawinski's webcollage. In this mode, no window is displayed; images are captured and saved in a temporary directory, and their names written on standard output.
-m number
In adjunct mode, silently drop images if there are more than number in the temporary directory. It is assumed that another process will delete images which it has processed.
-x prefix
The filename prefix to use when saving images, by default 'driftnet-'.
-d directory
Use directory to store temporary files. Driftnet will clear this directory of its own temporary files on exit, but will not delete the directory or any other files.

How to open driftnet 
  • To open driftnet goto > BackTrack > Privilege Escalation > Password Attack > Network Sniffers > driftnet 
  • See the below image for more help - 
driftnet help
How To Use Driftnet 
    • Tu use Driftnet , enter the command 
    • Command Used : driftnet -v -i eth0
    • Here -v : For Verbose Mode
    •          -i : For Interface 
    • As you enter the command  driftnet is listening on eth0 interface in promicious mode.
    • See the below image for more help - 
    Output :
    • When some user search for imagesdrifnet shows all those images ( as shown below
    • On my network I searched for  hackingDNA in the google search engine and see what the result we get - 
    • See the below image for more details - 
    driftnet output
    • Driftnet captures the network images of tajmahal .
    • See the below image for more details - 
    driftnet tajmahal
    • When we open www.hackingDNA.com , it shows the image of all the articles . 
    • See the below image for more details - 
    driftnet hackingdna.com Using Driftnet on a wlan0 
      With one command , you can capture images from network traffic and display them in an X window . 
      Soon more examples will be added .
      If you like this tutorial , then leave a comment here , your comment is valuable for us .

    No comments:

    Post a Comment