Jump to content

1337

Active Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by 1337

  1. Yes I know I should factory default, but I'm curious as why I'm getting this error anytime I try to view a php file from a web browser:

    Unable to launch the requested GGI program:
      /usr/bin/php-cgi: Permission denied
    

    When I do an ls -l command on the /usr/bin/php-cgi file, none of the permissions are set. When I issue the chmod u+x command on the file, I get this error now:

    The CGI Process did not produce any response
    

    In my /www directory, I have some html and php files; I'm able to view all of the html files. Could someone shed some light on this because it was working about two reboots ago. Not sure what had happen here. I have even tried deleting the /etc/config/uhttpd and /etc/php.ini files then copying them back over using the cp -rp command from the /rom directory. :(

  2. I see that now. I do see at https://scotthelme.co.uk/wifi-pineapple-karma-dnsspoof/ he had created a symbolic link. If I were to clone a site, I'm guessing Id have to create a symbolic link for each file? I'm just trying to find something to play around with and learn. Not wanting to do anything that would be violating federal law.

    I'm new to this site as you can see I've only posted 32 posts and had not had dug into the MarkIV sub forum prior to posting this topic. I'm actually finding out some of my questions are being answered in that sub forum since its been asked already.

  3. What would be the best way to:

    1. Clone facebook's website

    2. Host the cloned site

    3. Redirect users to the cloned site

    The pineapple internal storage isn't enough to store anything so I'm assuming the best way to do this would be to store it on the sdcard. How is everyone else doing this? Please provide instructions. Trying to put together some good tutorials. Thank you

  4. Xrad - I will take a look

    Foxtrot - I've been using a script that changes the mac addresses and hostname. It had been working three factory resets ago. Lol

    #!/bin/bash
    ### BEGIN INIT INFO
    # Provides: randhostnamemac
    # Randomises hostname and MAC
    # placed in /etc/init.d.
    ### END INIT INFO
    #create hosts.old if not there
    if [ ! -a /etc/hosts.old ]; then
    cp /etc/hosts /etc/hosts.old
    fi
    #assign the variable newhn a random value as defined below
    newhn=$(cat /dev/urandom | tr -dc 'A-Za-z' | head -c8)
    #update hostname and hosts with new value
    echo $newhn > /etc/hostname
    echo "127.0.1.1    $newhn" > /etc/hosts
    cat /etc/hosts.old >> /etc/hosts
    #update uci
    uci set system.@system[0].hostname=$newhn
    uci commit system
    echo $(uci get system.@system[0].hostname) > /proc/sys/kernel/hostname
    #randomise MAC for wlan0 and wlan1
    ifconfig wlan0 down
    macchanger -A wlan0
    ifconfig wlan0 up
    ifconfig wlan1 down
    macchanger -A wlan1
    ifconfig wlan1 up
    exit
    
  5. Every time I change the mac address of interface wlan0 and reboot the pineapple, my laptop running ubuntu wont connect up to the pineapple. It sees the network out there and is trying to associate with it, but not able to. Any ideas?

    Whats funny is that my phone doesn't even see the pineapple network.

  6. Thesugarat is correct. The network adapter that the pineapple's SSID is broadcasting on (in my situation Pineapple05E) is the wlan0 interface. Wlan1 is the interface that will connect to the access point that has internet access. Here is the setup:

    Laptop/Tablet with no internet -> Pineapple wlan0 -> Pineapple wlan1 -> your home wireless access point with internet

    The wlan1 has internet access so the wlan0 interface (actually the br-lan interface because wlan0 and eth0 are bridged just in case you hooked up with ethernet cable from laptop to pineapple) uses the wlan1 to get out.

  7. What exactly does that wifi detect command do? Does it copy the wireless config file from /rom/config? When I google this, I'm not getting an understanding of whats taken place in the openwrt os. I had my access point setup as "freewifi." Then I ran wifi detect > /etc/config/wireless, it wiped all the settings in my /etc/config/wireless file.

  8. Seems like every time I install an infusion to my SD card, it doesn't appear on the infusion screen. When I install them to the internal memory, they appear just fine. I've searched the forum and don't see another topic on this. I'm assuming I'm the only one having this issue

  9. I'm the type of person who learns by example. When I learn something, I try to write the steps I had taken with an explanation of why I had taken these steps. Do you guys want to start a tutorial thread? I was hoping the admins would setup a sub section just for tutorials. The reason why I bring this up is because I feel the Pineapple was created for people who: 1. didn't understand how to implement attacks and 2. people that knew how to implement attacks could do it via web interface. Clicking a button in an infusion isn't really educating the hacker what is actually taking place. I was thinking we could have some tutorials for ssh connections and tutorials for web infusions. What do you guys think?

  10. I cannot figure out how to fix my wireless connection sharing between wlan1, and wlan0. Devices connecting to my pineapple do not receive internet despite wlan1 being connected in client mode to my wireless network. Internet sharing works fine when I tether my pineapple to my laptop over Ethernet. I have done factory restores (and have applied "wifi detect > /etc/config/wireless && reboot"), have installed the wireless manager infusion (and tried using the "ICS" tab). Any suggestions for something else to try?

    Thanks in advance

    Hi 514senica,

    Try the following steps:

    1. Factory reset

    2. Run wifi detect > /etc/config/wireless && reboot

    3. When the pineapple comes back up, have it connect to an open access point (or change your home wifi to no encryption temporary to see if it'll connect and have internet)

    You should now be able to access the Internet and if not, skip to step 5. If you have internet, go to the pineapple bar and download the network update then apply the encryption back to your wireless network to protect yourself

    4. Now open the network infusion and see if you can get internet access through your wireless network.

    If connecting to an open access point fails to give you internet access, try the following:

    5. Run "echo 1 > /proc/sys/net/ipv4/ip_forward" without quotes

    Let us know...

  11. Answer to your first question: Whatever currently directory you are in when you run that airodump-ng command will be the directory where that capture file will be saved at. If you are unsure of where this file wil be located, type the pwd command to show the current working directory.

    Answer to your second question: Some wifi cards will listen to probe requests at the same time its doing something else. Keep in mind, the wireless card is still in managed mode (hense you are just using a relay interface to turn it into monitor mode and then master mode aka access point). I don't see why the card wouldn't capture a handshake as long as you are zero in on the channel. As long as you have the .cap file, you can copy that to any machine and crack it.

    You dont want to decrypt the .cap file at the same time you running everything else. The pineapple is powerful for its size, but doesn't necessary have 4GB of ram and a 2Ghz processor either. Lol

  12. That helps; however I'm just wondering if I need to change the etter.conf file or something. Ultimately what I'm wanting to do is configure the pineapple dip switches to:

    1. Spoof the mac addresses of each network card

    2. Change the hostname of the pineapple

    3. Have the pineapple change its SSID to XYZWIFI

    4. Have the pineapple connect to the real XYZWIFI access point

    5. Run iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080

    6. Run ettercap -T -q -l 8080 -i wlan0

    7. Run echo 1 > /proc/sys/net/ipv4/ip_forward

    8. Run sslstrip -k -l 8080

    If I were to have the dipswitch run ettercap, would it bring up another linux shell and finish steps 7 and 8?

  13. What's the difference? I'm not using the eth0 port, just wlan0. The laptop is connected to the pineapple via wifi and the tablet is connected to the pineapple via wifi. Now.....if I issue the echo 1 > /proc/sys/net/ipv4/ip_forward command after i kill the ettercap process, i'm able to get to the internet just fine. I think ettercap is disabling that forward.

  14. I figure it was a ip forwarding issue so I stop the ettercap process and run "echo 1 > /proc/sys/net/ipv4/ip_forward." Now I'm able to browse the internet . If I start ettercap backup, not able to access the internet. Do you think the etter.conf file is doing something?

  15. I'm having a problem with my tablet and laptop losing internet connection through the pineapple after running ettercap for the first time. The first time ettercap runs, it works great, but the 2nd, 3rd, 4th, etc times, it creates a problem. Here is what my setup looks like:

    Tablet and Laptop -> Pineapple -> Home Access Point -> Internet

    I boot the pineapple up that is directly connected to a reliable AC outlet and connect to it from my laptop wireless network card. I then configure the pineapple through the web interface to connect to my WPA2 home network. I'm able to browse the internet from both the tablet and laptop. I can generate some heavy traffic through my laptop and tablet (downloaded a 708MB file) so I don't think its a resource issue in the pineapple itself. Keep in mind all this is working great JUST AFTER a ettercap session and then a reboot so we are resource clean.

    As soon as I run "ettercap -T -i wlan0" from a remote ssh session, the tablet and laptop have no internet access. I'm not able to ping google from the tablet nor the laptop. I can however ping google from the pineapple's remote ssh session. Something is happening at the lan side of the pineapple. Not sure how to pinpoint this.

  16. Are you able to use the battery and charge it at the same time? (I haven't gotten mine yet)

    If so they have some pretty decent looking fold-able solar panels for cheap. Just hook one right into the travel (or elite) battery?

    Yes, but like any battery, its best to charge it fully first. I wonder if hak5 would let us buy a few spare 12800mAh batteries

×
×
  • Create New...