Jump to content

chriswhat

Active Members
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by chriswhat

  1. Keep up the good work Chris, your vids are very high quality, and easy to understand. I watched one then subscribed, now watching alot more. Also recommended your vids to a few friends.

    Chris, I started watching your vids before I met Hak5. Please keep up the great work, many people, including myself don't miss them.

    Best wishes from Aust.

    Thank you. Always good to hear positive feedback. Coming next... a tutorial on how to manage your Pineapple remotely via SSH and the web interface. It'll include setting up a relay server but it's through a paid service- you can pay $5 flat for the month or $0.007 hourly. So it costs approximately 17-cents per day if you leave your server running 24-hours a day. It's very affordable. I decided to use the paid service for the tutorial because the free servers are far more difficult to configure, and would make the tutorial much more complex. I've never created a tutorial that requires my viewers to sign up for a paid service so I'm curious to see the reactions I get. At the very least, my viewers will gain an understanding of relay servers and why they're necessary for remote management.

    Also, I have some new Kali Linux and Android tutorials coming soon as well.

  2. I have about the same thing going on with AutoSSH. Did you ever work out a fix? I'm also having really slow throughput. My browsers either drag ass or crash.

    I manually configured my autossh file and then restarted SSH. I also made some correction to my wireless file. Now, my Pineapple auto connects to my server on boot. Are you having problems with client mode as well? Or just autossh?

  3. Very nice work all around!

    Wow very nice! I hope you continue this high-quality series :)

    Thanks. I've written dozens of tutorials; and now I'm in the process of creating their video counterparts. My goal is simply to create easy-to-follow video tutorials that are brief, comprehendible, and reliable. Ultimately, I want my tutorials to be so simple that my grandmother could follow along.

    Again, thanks for watching.

    -Chris

  4. Hey chriswhat, also been checking your YouTube profile and other tutorials out there. Keep going, these are high quality and easy to follow tutorials. Guessing you have a lot of work and mentioning a tutorial on linux basic commands would be a great idea for anyone starting with linux. Cheers

    LeeVai,

    I've had a number of people make similar requests. Off the top of my head, here is a list of the commands that I most frequently use. Is this what you mean when you say "basic commands?"

    cd - used to navigating your file system.

    ls - used to display files in a directory. Can also display information about files, and display all subdirectories and contents.

    whatis - used to display information about a specified command.

    whereis - used to display the location of a specified command.

    rm | rmdir - used to delete files and directories.

    mkdir - used to create directories and subdirectories.

    cp - used to copy and move files.

    mv - used to rename files.

    echo - used to output text to your display or a file. Can be used for simple things like creating a file and/ or adding text to a file.

    tar - used to create, extract, and view .tar, .tar.gz, tar.bz2, archives. Can also be used to estimate the size of a .tar archive.

    gzip - used to create and extract .gz files.

    unzip - used to extract and view the contents of .zip files.

    grep - used to search for a specified string in a file.

    cat - used to view the contents of a file or multiple files.

    sort - used to sort the contents of a file by a specified order.

    vim - used to create an interactive session for editing the contents of a file.

    find - used to locate files and issue a command to the file(s) found.

    locate - used to locate files and directories.

    ps - used to display system processes.

    uname - used to display system information.

    passwd - used to change or disable passwords for root and other users.

    chmod - used to change the permissions of a file or directory.

    su - used to switch between user accounts.

    ifconfig - used to display and configure network interfaces.

    ping - used to check the status of a local network, remote hosts, etc. Can also be used for other things, like obtaining the IP address of a host.

    wget - used to download software.

    There are so many commands and variations (because of options) that it would be impossible for me to cover all of them in a single tutorial. I could create a single tutorial that would cover common commands or I could make a more comprehensive tutorial series instead. For example, network commands, file system navigation and management commands, system commands, etc. What would you prefer?

  5. Awesome! Thanks man. I kind of have a work around. If I do one command at a time and make sure it has a "Hey" and "Thanks" at the start and end of the command it works more often then not, but it's not very trust worthy. It would be nice to have a "Status" command that shoots back a list of the features that are enabled or disabled. "Wifi = Yes, Karma = Yes, DNSSpoof = No" then you'd know if the command actually took... Just a suggestion.

    This is very cool little app btw, super handy.

    I had a similar issue. SMSer would only respond with a misread response and wouldn't issue the commands. The text has to include at least one additional word AFTER the keywords.

    Here are some examples for starting KARMA:

    Fails - "Open front door" , "Open the front door" , "Please open the front door" , "Pineapple open the front door" , "I need you to open the front door"

    Works - "Open front door please" , "Open the front door now" , "Open front door pineapple" , "Pineapple open the front door any-word-here" , "I need you to open the front door in 20 minutes"

    Note: It doesn't matter what additional word(s) you place in the text, as long as you place at least one word after the keywords.

  6. When committing the following commands the txpower never changes and is showing 18.

    iw reg set BO

    iwconfig wlan0 txpower "anything from 20-30"

    iwconfig wlan0 still shows txpower=18.

    MKV with the latest infusion updates.

    -Crypiehef

    Crypiehef,

    The new TX-Power setting will not be reflected until after you put your radio back up. Try this:

    1) Connect to your Pineapple via ethernet cable (assuming wlan0 is your AP)

    2) SSH into your Pineapple - "ssh root@172.16.42.1"

    3) Put wlan0 down - "ifconfig wlan0 down"

    4) Set the region to Bolivia - "iw reg set BO"

    5) Confirm that the region was changed - "iw reg get"

    Note: You should see "Country BO:"

    6) Set wlan0's TX-Power to 30dBm - "iwconfig wlan0 txpower 30dBm"

    7) Put wlan0 up - "ifconfig wlan0 up"

    8) Now confirm the TX-Power change - "iwconfig wlan0"

    I know wlan1 can max at 30dBm but I'm not sure what wlan0 can max at; maybe 20 or 27dBm if not 30.

  7. ^ That's very similar to the script I am using but that only gives it a random mac address.

    We still have to:

    - randomize the hostname

    - execute both macchanger and hostname changer scripts at startup of the pineapple

    In other words an ideal script would randomize both the mac address and hostname at startup of the pineapple so when it's booted up it's random every single time.

    Instead of using a script, why not use your DIP switches to execute the MAC changer commands?

    To make sure I understand... you want to change your hostname from Pineapple to something random? Depending on the type of hostname you want, you may need a dictionary file that contains the list of hostnames.

  8. Just wanted to share the custom landing page that I created for Nodogsplash and the Evil Portal infusion. You can download the package from the link provided below. The package includes the image files, splash page html code, and my PDS projects.

    Feel free to customize or improve the files and enjoy!

    Download the package - http://www.sunstudiophoto.com/pineapple/portal.zip

    If you need help installing Evil Portal and setting up your captive portal, watch my full-length tutorial -

    "http://youtu.be/nw4bo4rXGgQ"

    Here are some screenshots of the portal. The first screenshot shows the portal without any user interaction. The second screenshot shows the portal after the user has scrolled over the accept button (a check mark appears).

  9. You can use the DIP switches to perform a factory reset.

    1) Power off your Pineapple.

    2) Place your DIP switches in the following sequence:

    Switch 1 - UP

    Switch 2 - DOWN

    Switch 3 - DOWN

    Switch 4 - UP

    Switch 5 - UP

    3) Power on your Pineapple

    4) Wait 5 minutes just to be safe and power off again

    5) Place all of your switches back in the up position again and power on.

    You should be good to go. Just login and create a new password.

    NOTE: With the switches facing you, they are ordered 1 - 5 from left to right. Check out my cool ASCII Pineapple...

    O

    | |

    | |

    | |

    | |

    ______________________________| |______

    | |_______| | | |

    | [][][][][] ( o ) |

    |_____________________________________|

  10. You already had option hidden set to 1 on wlan1 which is enabled.... right? It's Friday afternoon my brain is fried. I just thought turning it off or 0 might do something... And I have no clue on the encryption line. I've seen it set to none in other configs. Again, just throwing out some options to try. I'm not at home and can't test it for myself.

    Sorry, too many 1's and 0's bouncing around my head right now. I meant to say I'll change "option hidden" to '0' since it's already set at '1'. Again, I appreciate the ideas. Really regretting that initial factory reset.

  11. Only three things looked funny for wlan1... Channel was the same for both radios... added encryption line and isn't the 'option hidden' n/a for Client mode? You could try the following...

    ...

    thesugarat,

    I appreciate the help.

    I see what you're saying. "option hidden" should be irrelevant to radio1 since I'm using it for client mode. Although it doesn't broadcast (as intended) when "option hidden" is set to '0' I'll try setting "option hidden" to '1' just to see what happens. Then, maybe I'll try completely removing "option hidden".

    Isn't "option encryption 'none'" equivalent to not specifying "option encryption" at all?

    I'll try setting radio1 to channel 6, but I don't think it should be causing a conflict.

  12. Just wanted to say thanks. Prior to installing your infusion, SSLStrip was broken. In addition to the fun HTML injection, your infusion posts creds. Good work.

    Add logging and I won't have a use for the SSLStrip infusion.

  13. Darren,

    I was originally using PageKite but my kite didn't fly very well.

    Another question-

    Can I establish two simultaneous connections to my relay server with AutoSSH, one for SSH and one for the web UI?

    For example, if I added the following to /etc/config/autossh:

    option ssh '-i /etc/dropbear/id_rsa -N -T -R 4255:localhost:22 root@<myserver>'

    option ssh '-i /etc/dropbear/id_rsa -N -T -R 5366:localhost:1471 root@<myserver>'

    -Thanks

    Nevermind, I just tried what I asked and it works. I was able to connect to the web UI and the SSH server simulataneously. Figured I'd leave this for others to see.

  14. Or you can use a pagekite server. https://pagekite.net/

    Darren,

    I was originally using PageKite but my kite didn't fly very well.

    Another question-

    Can I establish two simultaneous connections to my relay server with AutoSSH, one for SSH and one for the web UI?

    For example, if I added the following to /etc/config/autossh:

    option ssh '-i /etc/dropbear/id_rsa -N -T -R 4255:localhost:22 root@<myserver>'

    option ssh '-i /etc/dropbear/id_rsa -N -T -R 5366:localhost:1471 root@<myserver>'

    -Thanks

  15. 1: If everything else is working it's probably not a Pineapple issue. Most like a Kali problem. Try BT5r3 with that Alfa and see what happens.

    2: I'm noticing a trend of people having issues with wireless after a factory reset. It seems to swap the antennas sometimes. If you post your wireless file I can tell if they are set correctly.

    3: Your Auto SSH issue may be tied to number 2.

    thesugarat,

    Thanks for your response. I've noticed that lots of people are have wireless issues as well.

    1: I've already tried what you suggested but I haven't been able to determine that the OS is a factor. It seems to be a conflict strictly between the Pineapple and my Alfa adapter because I receive the same results when I try connecting from BT5 R3. When using my Alfa, I can connect to other networks but not the Pineapple. When using my Netgear adapter (with Kali and BT5), I can connect to the Pineapple and other networks.

    2: I've already adjusted my wireless file to reflect the correct MAC addresses but I could be overlooking another issue.

    Here are the contents of my /etc/config/wireless

    config wifi-device 'radio0'
            option type 'mac80211'
            option channel '11'
            option hwmode '11ng'
            option macaddr '00:13:37:xx:xx:xx'
            option htmode 'HT20'
            list ht_capab 'SHORT-GI-20'
            list ht_capab 'SHORT-GI-40'
            list ht_capab 'RX-STBC1'
            list ht_capab 'DSSS_CCK-40'
            option disabled '0'
    
    config wifi-iface
            option device 'radio0'
            option hidden '0'
            option ssid 'Pineapple5'
            option mode 'ap'
            option network 'lan'
    
    config wifi-device 'radio1'
            option type 'mac80211'
            option channel '11'
            option hwmode '11g'
            option macaddr '00:13:37:xx:xx:xx'
            option disabled '0'
    
    config wifi-iface
            option device 'radio1'
            option mode 'sta'
            option hidden '1'
            option network 'wan'
            option ssid 'HackDroid'
    

    As shown, I'm currently connecting to an unencrypted network. If I connect to an encrypted network, "option encryption" is added near the bottom of the wireless file as expected.

    I've hidden the seond half of my MAC addresses for security purposes, but the second half of each MAC is different.

    Also, I've elminiated power issues because I'm connected to the wall, not battery. Same results when connected to the battery.

  16. I'm having some issues that began immediately after performing a factory reset. My issues pertain primarily to connectivity, client mode, and AutoSSH.

    Connectivity issues:

    1) I cannot connect to my Pineapple AP when I use my Alfa AWUS036NHA (ar9271) USB network adapter with Kali Linux; however, I am able to connect with my Netgear (rtl8187) USB network adapter with Kali Linux. I'm also able to connect with my MacBook Pro, MacBook, and iMac's built-in network adapters. Only when trying to connect with my Alfa, I receive the error- "Unable to obtain an IP address." I've rebooted Kali, rebooted the Pineapple, factory reset the Pineapple, enabled/disabled the radios, changed my Alfa's MAC, and various other things.

    2) Prior to performing the first factory reset, I did not have any problems with client mode. After the reset, however, I had the following problems:

    As soon as I'd use client mode, wlan0 would stop broadcasting permanently and wlan1 would not connect to the wireless network that I selected. To get wlan0 up again, I had to perform a factory reset. Eventually I found that both radios had the same MAC address, so I changed the MACs (in /etc/config/wireless) and the radios began to function again. Now the issue is that all of my Pineapple clients, with the exception of Mac OS X clients (VERY STRANGE), are disconnected immediately after enabling client mode.

    Issues with AutoSSH:

    1) AutoSSH doesn't start on boot or remain persistent

    2) If I manually use client mode to connect to a network after a fresh reboot, AutoSSH will not connect to my server although it indicates that it's connected. To get AutoSSH working, here's the procedure that I have to perform:

    a- Use the client mode tab to connect to the wireless network that I need for internet

    b- Reboot the Pineapple

    c- The Pineapple will automatically enable client mode and reconnect to the wireless network that I connected to prior to reboot.

    d- Click Connect in the AutoSSH tile

    This gets me connected to my server. However, when managing the Pineapple remotely, I depend on AutoSSH to start on boot and automatically connect after switching between networks in client mode.

    These issues are very frustrating. Insight is appreciated. Thanks.

×
×
  • Create New...