Jump to content

DrDinosaur

Active Members
  • Posts

    189
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by DrDinosaur

  1. Hey DrDinosaur,

    Sorry for not chiming in earlier, but I had a busy weekend.

    First, let me explain the /dev/sdcard/sd1 mystery. Everyone's fstab by default is set to /dev/sdcard/sd1 and that is how it should be. The reason for that is because it is a symlink to whatever /dev/sdX* the sd card is mapped against. We do this to increase the stability and reliability of the sd card randomly disconnecting / not mounting properly / conflicting with plugged in USB sticks.

    Now, the reason /dev/sdcard/sd points to /dev/sda is because that is the last known good configuration. But now, your SD card is not being recognized and therefore no /dev/sdcard/sd1 is created and linked to a real /dev/sdX1.

    So what does this mean? I think your SD card is dead. This happens - especially with the ones we ship with the Pineapple, they have sadly had issues in the past. You can find more information regarding the sd card issues here.

    Best Regards,

    Sebkinne

    Thanks Seb. I just purchased a 8GB Class 10 Sandisk Micro SD Card. Hopefully that will resolve the issue.

  2. Damn, this is really annoying. I can't get it to work. I have no idea what happened. Here is what is up after a factory reset (let me know if more information is needed, thanks):

    root@Pineapple:~# ls -l /dev/*
    crw-r--r-- 1 root root 5, 1 Jan 1 1970 /dev/console
    crw-rw-rw- 1 root root 1, 7 Jan 1 1970 /dev/full
    crw-r--r-- 1 root root 1, 11 Jan 1 1970 /dev/kmsg
    srw-rw-rw- 1 root root 0 Jan 1 1970 /dev/log
    crw-r--r-- 1 root root 1, 1 Jan 1 1970 /dev/mem
    crw-r--r-- 1 root root 90, 0 Jan 1 1970 /dev/mtd0
    crw-r--r-- 1 root root 90, 1 Jan 1 1970 /dev/mtd0ro
    crw-r--r-- 1 root root 90, 2 Jan 1 1970 /dev/mtd1
    crw-r--r-- 1 root root 90, 3 Jan 1 1970 /dev/mtd1ro
    crw-r--r-- 1 root root 90, 4 Jan 1 1970 /dev/mtd2
    crw-r--r-- 1 root root 90, 5 Jan 1 1970 /dev/mtd2ro
    crw-r--r-- 1 root root 90, 6 Jan 1 1970 /dev/mtd3
    crw-r--r-- 1 root root 90, 7 Jan 1 1970 /dev/mtd3ro
    crw-r--r-- 1 root root 90, 8 Jan 1 1970 /dev/mtd4
    crw-r--r-- 1 root root 90, 9 Jan 1 1970 /dev/mtd4ro
    crw-r--r-- 1 root root 90, 10 Jan 1 1970 /dev/mtd5
    crw-r--r-- 1 root root 90, 11 Jan 1 1970 /dev/mtd5ro
    brw-r--r-- 1 root root 31, 0 Jan 1 1970 /dev/mtdblock0
    brw-r--r-- 1 root root 31, 1 Jan 1 1970 /dev/mtdblock1
    brw-r--r-- 1 root root 31, 2 Jan 1 1970 /dev/mtdblock2
    brw-r--r-- 1 root root 31, 3 Jan 1 1970 /dev/mtdblock3
    brw-r--r-- 1 root root 31, 4 Jan 1 1970 /dev/mtdblock4
    brw-r--r-- 1 root root 31, 5 Jan 1 1970 /dev/mtdblock5
    crw-rw-rw- 1 root root 1, 3 Jan 1 1970 /dev/null
    crw-r--r-- 1 root root 1, 4 Jan 1 1970 /dev/port
    crw------- 1 root root 108, 0 Jan 1 1970 /dev/ppp
    crw-rw-rw- 1 root root 5, 2 Jan 1 00:02 /dev/ptmx
    crw-r--r-- 1 root root 1, 8 Jan 1 1970 /dev/random
    brw-r--r-- 1 root root 8, 0 Jan 1 1970 /dev/sda
    crw-r--r-- 1 root root 21, 0 Jan 1 1970 /dev/sg0
    crw-rw-rw- 1 root root 5, 0 Jan 1 1970 /dev/tty
    crw-rw-rw- 1 root root 254, 0 Jan 1 1970 /dev/ttyATH0
    crw-rw-rw- 1 root root 4, 64 Jan 1 1970 /dev/ttyS0
    crw-r--r-- 1 root root 1, 9 Jan 1 1970 /dev/urandom
    crw-r--r-- 1 root root 10, 130 Jan 1 1970 /dev/watchdog
    crw-rw-rw- 1 root root 1, 5 Jan 1 1970 /dev/zero
    /dev/bus:
    drwxr-xr-x 3 root root 60 Jan 1 1970 usb
    /dev/net:
    crw-r--r-- 1 root root 10, 200 Jan 1 1970 tun
    /dev/pts:
    crw--w--w- 1 root root 136, 0 Jan 1 00:02 0
    /dev/sdcard:
    lrwxrwxrwx 1 root root 8 Jan 1 00:00 sd -> /dev/sda
    /dev/shm:
    root@Pineapple:~# cat /etc/config/fstab
    config global automount
    option from_fstab 1
    option anon_mount 1
    config global autoswap
    option from_fstab 1
    option anon_swap 0
    config mount
    option target /sd
    option device /dev/sdcard/sd1
    option fstype auto
    option options rw,sync
    option enabled 1
    option enabled_fsck 0
    config swap
    option device /dev/sdcard/sd2
    option enabled 1
    root@Pineapple:~#
  3. 1. wlan0 is for the Karma access point. wlan1 is for deauthentication/monitor mode stuff and client mode.

    2. If you are connected to a access point with internet on wlan1, then clients on wlan0 should also receive internet through ICS.

    3. Sure? Not sure what you mean here.

    4. Look at the client addresses connected and deauth those with something like aireplay-ng. There is a script or program that handles that better, but I can't recall right now. Pretty sure it's related to the aireplay-ng suite- Google can probably find it.

    5. Check page 13 in the Pineapple booklet.

    6. What were your steps? Did you make a list?

    There is lots of support on this forum. Many videos are Mark V now, but the Mark IV videos are usually still pretty applicable. There are many tutorials: https://forums.hak5.org/index.php?/forum/80-wifi-pineapple-university/ and Google and the wiki page are all very helpful.

  4. ssh in and check /etc/config/fstab, mine had an incorrect path for the sd card device and same thing was happening.

    (it is not being mounted properly, changed my path to /dev/sdaX for the sd and swap)

    Here is what I have:

    root@Pineapple:/etc/config# cat fstab
    config global automount
    option from_fstab 1
    option anon_mount 1
    config global autoswap
    option from_fstab 1
    option anon_swap 0
    config mount
    option target /sd
    option device /dev/sdcard/sd1
    option fstype auto
    option options rw,sync
    option enabled 1
    option enabled_fsck 0
    config swap
    option device /dev/sdcard/sd2
    option enabled 1
  5. When I connected to my Pineapple after some time of outside deployment, I found the web interface only showed the default system infusions- and not the ones I install myself. This issue happens often, but is usually solved with a reboot. After a couple of those, it still had the issue. I formatted the SD card in the web interface. Can't install new infusions to the SD card, even after another reboot. I finally factory resetted my pineapple, but it still would not allow me to install new infusions to the SD card. The SD card doesn't even seem to appear under the resources module. Not sure what happened here. Any ideas? Thanks.

  6. Let's say the pineapple has its main broadcasting AP with Karma on wlan0. It also has connected to another nearby network via wlan1 to give its clients on wlan0 internet. Though wlan0 in this case isn't that important- it could be turned off. I wish for the pineapple to be able to run MITM attacks like ettercap and SSLstrip on the network it connected to via wlan1. I think I was having difficulties with this early. How can this be accomplished? Thanks.

    I think I have this figured out now.

  7. I'm having the same issue, tried format and still not installing, sit's at zero percent. Everything installs fine on internal memory but nothing will install to SD. Was working fine until I upgraded firmware to 1.2.0 and it said I should format SD Card, so I did and went to reinstall Random Roll from bar.

    Have you tried another SD card? Maybe this one got corrupt.

  8. Hello. In this year's science fair, I performed research and testing on wireless based attacks. The Pineapple inspired me to do this project and it was a great experience. I'm looking for feedback, comments, and suggestions to see what people think of the project. Please note I'm still only fifteen, so please excuse the likely many errors in this project until I correct them based on your feedback. I have detailed more information here (including slides and pictures): http://dillonkorman.com/2014-science-fair/

    Here is the link to the paper:

    https://docs.google.com/document/d/16rpRCOCOFQYmKd4FsrtYDI035JsIt5r9ZuivjfBg3zM/edit

    Thank you!

  9. What is the purpose of AutoSSH? Is it to communicate with the Pineapple when it's behind NAT? How does the complete setup/diagram of network connectivity work? I was trying to get it set up with my external server, but I was having a number of stability difficulties with the infusion. Has anyone encountered similar problems? All would seem to work fine, but the connect scarcely worked. Any help would be appreciated. Thanks.

  10. Yep, used it ever since with pretty much no problems. It worked great. It would be quite odd if it were to just randomly crash. I'll take a look into whether I need to reformat the thing. How would I proceed if that was the case? Is there a link with instructions with that or is there some information on that in the enclosed help booklet?

  11. Could I ask you why change the ssid to 'attwifi' is important? Thanks

    P.S.

    For the opener of the thread: which OS the macbook and the iPad have? I was not able to use succesfully Karma with my iOS7 iPad.

    The "attwifi" SSID is the default SSID for Starbucks. Many people have connected to that in the past and it's almost certainly the most commonly connected open SSID.

×
×
  • Create New...