Page 8 of 8 FirstFirst ... 678
Results 71 to 72 of 72

Thread: Lucafa's tutorial: softAP with internet connection and MITM sniffing

  1. #71
    Senior Member
    Join Date
    Dec 2010
    Posts
    127

    Default Re: Lucafa's tutorial: softAP with internet connection and MITM sniffing - FIXED R2

    All,

    I have a fix to the script that works on R2. Everything works just fine and this is the function from my easy-creds. The main concern is the dhcp section...I've posted it below.

    Code:
    echo "Creating a dhcpd.conf to assign addresses to clients that connect to us"
    #create a backup just in case...
    cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_bckup
    #empty the file to start clean
    cat /dev/null > /etc/dhcp3/dhcpd.conf
    echo "default-lease-time 600;" > /etc/dhcp3/dhcpd.conf
    echo "max-lease-time 720;"  >> /etc/dhcp3/dhcpd.conf
    echo "ddns-update-style none;" >> /etc/dhcp3/dhcpd.conf
    echo "authoritative;"  >> /etc/dhcp3/dhcpd.conf
    echo "log-facility local7;"  >> /etc/dhcp3/dhcpd.conf
    echo "subnet 10.0.0.0 netmask 255.255.255.0 {"  >> /etc/dhcp3/dhcpd.conf
    echo "range 10.0.0.100 10.0.0.254;"  >> /etc/dhcp3/dhcpd.conf
    echo "option routers 10.0.0.1;"  >> /etc/dhcp3/dhcpd.conf
    echo "option subnet-mask 255.255.255.0;" >> /etc/dhcp3/dhcpd.conf
    echo "option domain-name-servers 8.8.8.8;"  >> /etc/dhcp3/dhcpd.conf
    echo "option broadcast-address 10.0.0.255;" >> /etc/dhcp3/dhcpd.conf
    echo "allow unknown-clients;" >> /etc/dhcp3/dhcpd.conf
    echo "}"  >> /etc/dhcp3/dhcpd.conf
    #
    echo 'DHCP server starting on our airbase-ng interface (at0)'
    echo > /var/lib/dhcp3/dhcpd.leases
    mkdir -p /var/run/dhcp3-server
    chown -R dhcpd:dhcpd /var/run/dhcp3-server
    ln -s /var/run/dhcp3-server/dhcpd.pid /var/run/dhcpd.pid
    dhcpd3 -q -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcp3-server/dhcpd.pid at0 &
    sleep 3
    entire easy-creds script:
    easy-creds - Browse Files at SourceForge.net

  2. #72
    Senior Member skull2006's Avatar
    Join Date
    Jan 2010
    Location
    In my skull
    Posts
    125

    Default Re: Lucafa's tutorial: softAP with internet connection and MITM sniffing

    very nice Tut
    Thanks

Page 8 of 8 FirstFirst ... 678

Similar Threads

  1. Replies: 2
    Last Post: 08-23-2010, 10:53 AM
  2. rogue AP + MITM (tutorial or script request)
    By Lucifer in forum Beginners Forum
    Replies: 8
    Last Post: 04-12-2010, 12:40 AM
  3. internet connection problem?!
    By djamel in forum Beginners Forum
    Replies: 4
    Last Post: 02-27-2010, 06:08 AM
  4. Wireless Internet Connection Failing Somehow
    By shinjinkazama in forum Beginners Forum
    Replies: 1
    Last Post: 02-22-2010, 11:26 PM

Posting Permissions

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