Page 3 of 14 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 136

Thread: Soft AP / Phishing Script [Release]

  1. #21
    Just burned his ISO erdmaennchen's Avatar
    Join Date
    Jul 2010
    Posts
    15

    Default Re: Soft AP / Phishing Script [Release]

    Hey, nice work, but when i want to sniff with fake ap your script doesnt start the dhcp server correctly. yes - i installed the dhcp3-server package before, stopped it and removed the standard configfile. the dhcpd response with a failure on line 10, but i dont know where you create your own config so i cant fix it for me.

  2. #22
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Soft AP / Phishing Script [Release]

    Hi Meerkat,

    You don't need to manually modify dhcp3-server in any way; let the script do it all. If you have been playing with dhcp3 I would suggest first of all a purge and re-install.

    You can read the script (from line 670 approx) to see what it does. The generated file is /tmp/dhcpd.conf.

    Please post a follow-up.

  3. #23
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    15

    Default Re: Soft AP / Phishing Script [Release]

    @erdmaennchen: I'm not sure if you're having the same problem I was but it sounds like it.

    Line 647 (i haven't upgraded to the new version yet) shows this:
    Code:
    apdns=$(grep nameserver /etc/resolv.conf | awk '{print $2}')
    When I run this command on my own I get 2 IP addresses returned:
    Code:
    root@bt:~# grep nameserver /etc/resolv.conf | awk '{print $2}'
    192.168.1.1
    xxx.xxx.2.25
    Obviously I just want the 192.168.1.1 address and the error is caused by the command returning 2 when 1 is expected.

    I changed line 647 to this:
    Code:
    apdns=$(grep nameserver /etc/resolv.conf | awk 'NR==1 {print $2}')
    And if I run this command in a command line:
    Code:
    root@bt:~# grep nameserver /etc/resolv.conf | awk 'NR==1 {print $2}'
    192.168.1.1
    Problem solved

  4. #24
    Just burned his ISO erdmaennchen's Avatar
    Join Date
    Jul 2010
    Posts
    15

    Default Re: Soft AP / Phishing Script [Release]

    Quote Originally Posted by VulpiArgenti View Post
    Hi Meerkat,

    You don't need to manually modify dhcp3-server in any way; let the script do it all. If you have been playing with dhcp3 I would suggest first of all a purge and re-install.

    You can read the script (from line 670 approx) to see what it does. The generated file is /tmp/dhcpd.conf.

    Please post a follow-up.
    I figured out my problem. I have two dns entries but the second is in on a new line in the dhcpd.conf without a ";" at the end. I fixed that with a static IP in your script.

    Now the script runs without a error, but the xterms disappear after a few seconds and i cant see any data in /root . The processes were killed too.

    Iam using Backtrack R2 with actual pakets.

    Any idea?

  5. #25
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Soft AP / Phishing Script [Release]

    @devi1

    Good catch on the nameservers. There was only ever one on my test systems - never thought of the possibility of multiple entries.

    I am slightly worried your solution might cause problems if the local address is not the first listing (I'm not sure if this happens). Would you (and @erdmaennchen) mind trying out this variation; if it's good I'll add it to the next release:

    Code:
    var=$(grep "nameserver" /etc/resolv.conf | awk '{print $2}' | wc -l)   # count the number of nameservers
    
    if [[ $var = 1 ]];then          # if 1, use it in dhcpd.conf
            apdns=$(grep nameserver /etc/resolv.conf | awk '{print $2}')
    else                            # if more than 1, attempt to find common private ip addresses
            apdns=$((grep "nameserver 192.168" /etc/resolv.conf || grep "nameserver 10." /etc/resolv.conf) | awk '{print $2}')
    fi
    Last edited by VulpiArgenti; 04-15-2012 at 05:43 AM. Reason: Added "." after 10, to prevent grepping 100

  6. #26
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Soft AP / Phishing Script [Release]

    Hi erdmaennchen,

    It would be a shame if you were stuck with static IPs. Please try the solution above (or wait for version 0.52 in a few days).

    the xterms disappear after a few seconds
    I presume you mean the sniffing eterms, not every one? If so, it is probably because you don't have sslstrip fully installed. See line 732 (approx) of the script:

    Code:
    # make sure you have run setup.py in /pentest/web/sslstrip
    Give this a try.

  7. #27
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    7

    Default Re: Soft AP / Phishing Script [Release]

    hi one more time,
    Still don't get result.
    i tried to sset DNS server IP to 192.168.1.1(my routers IP),as you said:
    In this case i can surf only using Opera mini,i guess opera uses own proxy server or smth like this.If i use standard nokia 5800 browser,it said "Wrong Server Name"
    Last edited by satana77; 04-15-2012 at 12:49 PM.

  8. #28
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Soft AP / Phishing Script [Release]

    Hi satana77

    I'm not clear whether you are doing this manually, or running the script. If the script, then don't change anything, let it try with all the default values.

    Having said that, if your client is managing to surf with Opera, then the network must be set up correctly. Congratulations!

  9. #29
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    7

    Default Re: Soft AP / Phishing Script [Release]

    I did it with script.And There was a mistake i can surf net only when gateway(and dns) set to 192.168.0.1 (default script value),not 192.168.1.1(my routers ip).
    but when I can surf with opera mini,sslstrip and others didn't work.

  10. #30
    Senior Member VulpiArgenti's Avatar
    Join Date
    Sep 2011
    Location
    lost
    Posts
    174

    Default Re: Soft AP / Phishing Script [Release]

    [Update]

    Version 0.52 out: fixes an issue with multiple nameservers in resolv.conf

    This upgrade is only necessary for those having problems giving internet access to clients.

    http://code.google.com/p/pwn-star/do..._0.52&can=2&q=
    Last edited by VulpiArgenti; 04-17-2012 at 06:53 AM.

Page 3 of 14 FirstFirst 1234513 ... LastLast

Similar Threads

  1. SET 0.7 phishing demo
    By pentest09 in forum BackTrack Videos
    Replies: 7
    Last Post: 12-19-2010, 10:31 PM
  2. Soft AP Upside Down image help pls, script nearly works
    By spriggsy in forum Beginners Forum
    Replies: 0
    Last Post: 11-05-2010, 12:01 PM
  3. Soft AP Script not working?
    By spriggsy in forum Beginners Forum
    Replies: 1
    Last Post: 05-19-2010, 01:08 PM
  4. Soft AP bash script
    By junke1990 in forum OLD Wireless
    Replies: 1
    Last Post: 04-03-2010, 08:30 AM
  5. backtrack 4 pre release user login script
    By eidos in forum OLD Newbie Area
    Replies: 1
    Last Post: 07-30-2009, 09:57 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
  •