Jump to content

factgasm

Active Members
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by factgasm

  1. My pineapple just isn't redirecting as hoped. Can anyone see anything wrong with the following:

    DNSSpoof.JPG

    The top two do not redirect, the remaining three do.

    Redirect.php:

    redirect%20file.JPG

    /etc/config/dhcp:

    dhcp%20config.JPG

    dnsspoof.log:

    Phish%20log.JPG

    Just to add that my Pineapple is connected to my laptop with an ethernet cable and the client is an android tablet.

  2. I really appreciate the video and the answers and so I have some follow up questions:

    • What I don't get with this set up is if this is a bi-directional link between the Pineapple on the hill-top and laptop in the office, why have two different types of antennas? Could you use two flat panels? Could you use two yagis? If not why not?
    • Also just out of interest what would you estimate the distance to have been between the two in the video?
    • What is the furthest distance you have tried?
    • How badly will foilage (trees/bushes), metal structures or brick walls affect the signal between the two?
  3. Simplest possible question: What steps should I to follow to take a Wifi Pineapple from out of the box and configure it so it can be left in situ capturing handshake data?

    I have read Vivek Ramachandran's "Backtrack 5 Wireless Penetration Testing" which does a great job of explaining this process using a laptop with an Alpha card.

    How do you do the equivalent with a Wifi Pineapple?

  4. I think the instructions at http://wiki.wifipineapple.com/index.php/Internet_Connection_Sharing were written for Kali being run as a virtual machine.

    I have Kali installed fully on one laptop and when I tried to follow these instructions I made a few modifications:

    At the command prompt enter ifconfigband note the inet addr value for wlan0 (for example 10.5.50.30).

    Then enter ./wp5.sh

    In the subsequent seven questions enter:

    1. [blank]
    2. [blank]
    3. eth0
    4. wlan0

    5. [inet addr]

    6. [Enter]

    7. [Enter]

    This worked for me straightaway, I hope this helps any else who might be struggling too.

  5. Simple question from a simple soul:

    If you plug your dongle straight into a laptop (Windows/Linux) does it give you automatic connection to the internet?

    If yes, then your dongle's mode-switching is working just fine - and it's possible the problem is confined to just the settings in the Mobile Broadband section of the Pineapple's Network tile.

    I added some comments earlier today here which hopefully will be helpful to you.

    https://forums.hak5.org/index.php?/topic/32163-zte-mf112-3g-dongle/

  6. It's working!

    From memory, this is what I did from scratch to make it work:

    1. I made sure that my Pineapple could share my Windows laptop's internet connection and that they were physically connected to each other by a LAN cable.

    2. Plugged my dongle into my Pineapple.

    3. PuTTYed into the Pineapple's Linux command line.

    4. Ran these two commands:

    opkg update

    opkg install comgt kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch

    5. Discovered that after running these commands I could plug the dongle straight into a laptop (Windows/Linux) and got an immediate connection to the internet without having to do anything else. Presumably this meant the mode-switch had worked.

    6. I then plugged my dongle back into the Pineapple.

    7. At the Pineapple's Linux command line I ran the command

    lsusb

    and made a note of the xxxx:xxxx hex number corresponding to my dongle (in my case 19d2:1405)

    8. Still at the Pineapple's Linux command line I ran the commands:

    cd /etc/usb_modeswitch.d

    ls

    and searched the list shown for a file that corresponded to my dongle's xxxx:xxxx number. As there was no such file in the list, I looked for a file whose name came close to my dongle's, but before it in sequence (19d2:1224 was closest).

    9. To create a new file with the name 19d2:1405 but based on 19d2:1224 file I ran the Linux command:

    cp 19d2:1224 19d2:1405

    10. To edit this new file I typed

    nano 19d2:1405

    Thankfully the VID (19d2) was already correct but the dongle name and PID needed changing to MF70 and 1405 respectively.

    11. I then saved and exited the file and also exited PuTTY too.

    12. Using Firefox I went to the Pineapple's web interface (172.16.42.1:1471).

    13. I clicked Network > Mobile Broadband and changed the settings to those shown here:

    Interface Name: ppp0
    Protocol: 3g
    Service: cdma
    Device: /dev/ttyUSB2
    APN: [A code that should be printed on your dongle somewhere]
    Username:


    Password:

    Default Route:1
    ppp redial:persist
    Peer DNS: 0
    DNS: 8.8.8.8
    Keepalive: 1
    pppd options: noauth

    14. I disconnected the LAN cable from my Pineapple and connected my laptop to it wirelessly instead, then PuTTYed back into the Pineapple again and typed the Linux command ping 8.8.8.8 - which worked!

    15. On my Windows laptop using either Firefox or Internet Explorer I was able to surf the net while wirelessly connected to the Pineapple. I then tried the same with my Kali laptop and my two smart phones and was able to do the same with them too. Fantastic! Job done!

    It works!

    Please note that the order of these steps is mostly correct if not 100% correct. I don't think I missed out any steps. Some users might find that one or two of the steps are superfluous (sorry).

    Either way I hope they serve as helpful pointers to anyone struggling the way I did. Now that I've successfully concluded the last two days of soul-destroying trial and error, I'd better go and make up with my other half!

    Regards,

    FG.

    PS I did not have to make a ttyUSBn folder nor put anything in it.

    PPS My Pineapple is using firmware 1.1.1. No rollback needed.

    Final note : Credit goes to Madvinegar at this forum whose comments on mode-switching helped to assuage my doubts.

  7. I have a Pineapple Mark V running firmware 1.1.1 and would like to connect my ZTE MF70 3g USB Dongle.

    I know that requires going into the Pineapple's Web Interface > Network tiles > Mobile Broadband tab but I would be grateful to know what values should be entered in the parameter list:

    Interface Name:
    Protocol:
    Service:
    Device:
    APN:
    Username:
    Password:
    Default Route:
    ppp redial:
    Peer DNS:
    DNS:
    Keepalive:
    pppd options:

    Edit : This thread goes a long way to answering my question:

    https://forums.hak5.org/index.php?/topic/31889-3g-usb-for-you-for-me/

  8. This might get you going on getting Kali on the hp.......hold the shift key down when you shut down your computer.....it should work.

    http://apcmag.com/how-to-dual-boot-windows-8-and-linux.htm

    Good luck

    Thanks for these constructive comments, xrad, but I have been trying out all manner of suggestions from the web and from local 'experts' but nothing seems to work and time has now run out.

    I need a solution that works *no argument* and that's why I have bought the Lenovo.

  9. Hi Seb,

    I happily installed about a dozen infusions to the micro SD Card when I noticed that corresponding tiles stopped appearing on the Mangement Console. No error messages were given.

    I then reverted to installing the remaining infusions in the internal storage. The Pineapple told me that there was plenty of space remaining on the internal storage (about 3.5MB but it then stopped installing infusions too (again no error message).

    I was curious to take a look at the contents of the micro SD Card so I took it out of the Pineappple, put it into a USB reader and tried to look at in Windows Explorer.

    Windows Explorer recognised the card but refused to display its contents - unless I formatted it first! Therefore I haven't been able to get a look at the contents of the SD card yet. (I presume the micro SD Card was formatted using a file system Windows can't read?)

    As an aside, right now I am in Tottenham Court Road, London, in the process of buying a Lenovo Thinkpad T530 (Windows 7 preinstalled). My current machine is an HP Envy M6 1310sa with Windows 8 preinstalled, which I bought from PC World (UK). The HP Envy M6 is a lovely machine if you're just using it for mundane home computing but I made a schoolboy error buying it as it has point blank refused to dual boot with Kali.

    All the gear, no idea. That's me.

    Edit : Corrected for typo.

×
×
  • Create New...