Page 14 of 15 FirstFirst ... 412131415 LastLast
Results 131 to 140 of 144

Thread: [Script] [Video] fakeAP_pwn (v0.3)

  1. #131
    Just burned his ISO SecUpwN's Avatar
    Join Date
    May 2010
    Location
    PARADISE
    Posts
    21

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    First things first: THANKS for developing this great script, g0tmi1k & joker5bb!

    Seems like I almost get everything to work smoothly, maybe you'll be so kind to tell me how to resolve the following situation?
    Problem: DNS forwarding doesn't seem to work. In your last post above you've stated joker5bb's solution, but I don't get it.

    Further info (to eliminate questions):

    * Script installed: current version 0.3 #127
    * System used: BT 4 R2, full installation
    * Installed & using: hostapd (seems to work just fine)
    * Ping to 10.0.0.1: WORKS, hxxp://10.0.0.1 forwards victim to fake page, but any other address results in "Server not found"

    g0tmi1k, I'd appreciate an update of your script to include joker5bb's solution for DNS fowarding - it clearly seems to me that this is the only issue I get (even when changing to airbase-ng). I'd love to finally run your script as it should, I've been struggling for weeks to find a remedy.

    If there's some stuff you'd like me to test (or to even get DNS forwarding to work), tell me right away in this thread - I'll monitor it 24/7/365.

    SecUpwN
    Last edited by SecUpwN; 03-25-2011 at 06:15 PM.

  2. #132
    Junior Member leg3nd's Avatar
    Join Date
    Feb 2011
    Posts
    32

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Probably because its trying to direct to a non root URL such as "/newreply.php?p=192541&noquote=1" which does not exist on the apache server. I had the same problem with my script, and although I never actually implemented the idea, I believe you could setup apache to 404 redirect back to the root of the website.

  3. #133
    Just burned his ISO SecUpwN's Avatar
    Join Date
    May 2010
    Location
    PARADISE
    Posts
    21

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by leg3nd View Post
    I had the same problem with my script, and although I never actually implemented the idea, I believe you could setup apache to 404 redirect back to the root of the website.
    Thanks for telling me, leg3nd! How did YOU solve mentioned problem?
    As well, I'd appreciate a step-by-step guide on how to set up Apache to 404 redirect back to the root of the website.

    SecUpwN
    Last edited by SecUpwN; 03-26-2011 at 11:16 AM.

  4. #134
    Member joker5bb's Avatar
    Join Date
    Feb 2010
    Posts
    166

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by leg3nd View Post
    Probably because its trying to direct to a non root URL such as "/newreply.php?p=192541&noquote=1" which does not exist on the apache server. I had the same problem with my script, and although I never actually implemented the idea, I believe you could setup apache to 404 redirect back to the root of the website.
    that's already in setup in the script

  5. #135
    Junior Member leg3nd's Avatar
    Join Date
    Feb 2011
    Posts
    32

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by joker5bb View Post
    that's already in setup in the script
    Ah sorry, havn't looked through this script in a pretty long time.

    It could be an issue with DNSspoof or iptables, but this script is pretty well safe-coded now so I doubt its script-side.

  6. #136
    Just burned his ISO SecUpwN's Avatar
    Join Date
    May 2010
    Location
    PARADISE
    Posts
    21

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by joker5bb View Post
    that's already in setup in the script
    Awesome, which values should I change/enable in the script then to resolve mentioned DNS error? Oh, and here's the LOG.

    SecUpwN
    Last edited by SecUpwN; 03-26-2011 at 09:33 PM.

  7. #137
    Junior Member leg3nd's Avatar
    Join Date
    Feb 2011
    Posts
    32

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by SecUpwN View Post
    Awesome, which values should I change/enable in the script then to resolve mentioned DNS error? Oh, and here's the LOG.

    SecUpwN
    It is already inside the apache virtual hosts file which is generated inside the script. It is automatically enabled.

  8. #138
    Just burned his ISO SecUpwN's Avatar
    Join Date
    May 2010
    Location
    PARADISE
    Posts
    21

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by leg3nd View Post
    It is already inside the apache virtual hosts file which is generated inside the script. It is automatically enabled.
    Fair enough, but I'm trying to figure out how to resolve the issue I described above.
    Please take a look at my previously posted logfile and tell me exactly how to proceed in order to make DNS forwarding work as it should.

    SecUpwN
    Last edited by SecUpwN; 03-27-2011 at 01:44 PM.

  9. #139
    Member joker5bb's Avatar
    Join Date
    Feb 2010
    Posts
    166

    Default Re: [Script] [Video] fakeAP_pwn (v0.3)

    Quote Originally Posted by SecUpwN View Post
    Fair enough, but I'm trying to figure out how to resolve the issue I described above.
    Please take a look at my previously posted logfile and tell me exactly how to proceed in order to make DNS forwarding work as it should.

    SecUpwN
    ok, well it's best you test it manually, below is a sample of commands for non-transparent mode

    in /etc/apache2/sites-available
    add to symlinks:
    ErrorDocument 403 /index.html
    ErrorDocument 404 /index.html
    then reload apache

    nano /etc/bind/named.conf
    options {
    directory "/var/cache/bind";
    auth-nxdomain no;
    recursion yes;
    allow-recursion {any;};
    allow-query {any;};
    };
    zone "." {
    type master;
    file "/etc/bind/db.root";
    };
    nano /etc/bind/db.root
    $TTL 604800
    @ IN SOA localhost. root.localhost. (
    1337 ; Serial
    604800 ; Refresh
    86400 ; Retry
    2419200 ; Expire
    604800 ) ; Negative Cache TTL
    ;
    @ IN NS 192.168.1.1
    @ IN A 192.168.1.1
    * IN A 192.168.1.1
    nano dhcp.conf
    ddns-update-style none;
    ignore client-updates;
    authoritative;
    default-lease-time 600;
    max-lease-time 7200;
    log-facility local7;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.1;
    option domain-name-servers 192.168.1.1;

    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.50 192.168.1.200;
    }
    Code:
    sudo chmod 775 /var/run/
    sudo /etc/init.d/apache2 start
    sudo /etc/init.d/bind9 start 
    sudo echo 1 > /proc/sys/net/ipv4/ip_forward
    sudo iptables -F
    sudo iptables -X
    sudo iptables -Z
    sudo ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
    route del default wlan0
    sudo route add default gw 192.168.1.1 wlan0
    sudo iptables -t nat -A PREROUTING -i wlan0 -j REDIRECT
    sudo iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.1
    sudo iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j DNAT --to-destination 192.168.1.1
    
    sudo dhcpd3 -d -f -cf dhcp.conf wlan0
    then run hostapd or airbase-ng
    Last edited by joker5bb; 03-28-2011 at 12:55 PM.

  10. #140
    Just burned his ISO
    Join Date
    Mar 2011
    Posts
    3

    Default Respuesta: [Script] [Video] fakeAP_pwn (v0.3)

    Thanks about the scripts, runs great!!!

    But i have a doubt , how can i simulate a WEP AP?

    thanks

Page 14 of 15 FirstFirst ... 412131415 LastLast

Similar Threads

  1. [Script][Video] EvilGrade (v0.1.1)
    By g0tmi1k in forum BackTrack Videos
    Replies: 27
    Last Post: 03-06-2011, 12:24 PM
  2. [Script] [Video] metasploit-FakeUpdate (v0.1.1)
    By g0tmi1k in forum BackTrack Videos
    Replies: 30
    Last Post: 12-06-2010, 04:53 PM
  3. [Script][Video] - Using McGrew Security's nbnspoof.py
    By orgcandman in forum Beginners Forum
    Replies: 3
    Last Post: 11-17-2010, 07:36 PM
  4. [Script] [Video] FakeAP_pwn (v0.2.1)
    By g0tmi1k in forum BackTrack Videos
    Replies: 184
    Last Post: 09-02-2010, 11:01 AM
  5. Replies: 10
    Last Post: 07-12-2010, 03:04 PM

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
  •