Jump to content

Search the Community

Showing results for tags 'OpenWRT'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Talk
    • Everything Else
    • Gaming
    • Questions
    • Business and Enterprise IT
    • Security
    • Hacks & Mods
    • Applications & Coding
    • Trading Post
  • Hak5 Gear
    • Hak5 Cloud C²
    • New USB Rubber Ducky
    • WiFi Pineapple
    • Bash Bunny
    • Key Croc
    • Packet Squirrel
    • Shark Jack
    • Signal Owl
    • LAN Turtle
    • Screen Crab
    • Plunder Bug
    • WiFi Coconut
  • O.MG (Mischief Gadgets)
    • O.MG Cable
    • O.MG DemonSeed EDU
  • Legacy Devices
    • Classic USB Rubber Ducky
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapples Mark I, II, III
  • Hak5 Shows
  • Community
    • Forums and Wiki
    • #Hak5
  • Projects
    • SDR - Software Defined Radio
    • Community Projects
    • Interceptor
    • USB Hacks
    • USB Multipass
    • Pandora Timeshifting

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Enter a five letter word.

Found 22 results

  1. So I'm looking for resources on how to use MK7 via command line. Mainly because MK7 terminal commands are not familiar to me. As its mostly based on openWrt but not everithing works like openWrt. I have some experiance from using command lines on linux distros but it dosent seem to translate much to mk7, might be just me not quite getting it but I want to see if i can sqeeze out even more out of wifi pineapple mk7 via command line etc. Thank you for your time and an potential resources. Kind regards.
  2. Hi, I have some c files that i would like to compile with gcc on the Shark. I understood that Shark is using openwrt. So i create my dev vm with openwrt on it. I compile my program "HelloWorld.c" and i copy on the shark .... but its not work. Its my begining to work on very tiny soc ... so any help will be welcome 🙂 Alexander
  3. I tried using the default upgrade process for Packet Squirrel to attempt to install a custom ROM I built using the OpenWRT Image Builder because I found the Reference Board I believe is used by Packet Squirrel within the options to build to using that image builder. Now it won't start at all. A simple flash in the LED when I plug it in is all I get. Did I brick this device?
  4. I have considered creating a custom built ROM for this new Packet Squirrel using the OpenWRT Image Builder, because I want to use StrongSwan instead of OpenVPN. Is upgrading to a custom built image possible, or are we only able to use that which the Hak5 Team has created? If upgrading to custom ROM is possible, what install steps are different from the default upgrade process? Details of what I have tried are below in a follow-up post, now that the edit function is available.
  5. Good evening i have a little travel router(GL-MT300A). I was wondering if I should trust the custom openwrt firmware or should I reflash it with the openwrt image? Does anyone here use these routers or any experience with them?
  6. Hi, ive recently bought a Gl-Mt300a, running openwrt(OEM). I've installed aircrack-ng and it is running just fine. One thing I've noticed is while running aircrack is that the MT300A appears to be advertising a hidden SSID using WEP. My question is... is this a quirk to openwrt running aircrack or is this a hidden back door?
  7. Hi I am a mobile tester. For a testcase a need to simulate a bad (slow, packets lost ) network to check if the android app can handle it. I am using de pineapple nano because it is easy to set it up as a MitM Inspired by the next articles I installed iproute2 on the Pineapple https://wiki.openwrt.org/doc/howto/packet.scheduler/sch_netem https://wiki.linuxfoundation.org/networking/netem So far so good. But when I am trying a command described in the articles for example: tc disc add dev wlan1 root handle 1: netem delay 100ms I always get the next error message: RTNETLINK answers :No such file or directory On Ubuntu it works fine but why does it not work on the Pineapple? All input is welcome thx Greetings Trouper
  8. Hi all, I was looking at trying wifite2 on the tetra mainly for the 5ghz addition over the std wifite which works reasonably well. It seemed to require stty, so I installed coreutils-stty and that got me a little further so it runs and finds networks. But as soon as you specify a target it hits an issue with :- WPA-handshake attack: waiting for handshake... [!] Error: global name 'err' is not defined [!] Full stack trace below [!] Traceback (most recent call last): [!] File "./Wifite.py", line 171, in <module> [!] w.main() [!] File "./Wifite.py", line 34, in main [!] self.run() [!] File "./Wifite.py", line 120, in run [!] attack.run() [!] File "/root/wifite2-master/py/AttackWPA.py", line 80, in run [!] if handshake.has_handshake(): [!] File "/root/wifite2-master/py/Handshake.py", line 61, in has_handshake [!] if len(self.tshark_handshakes()) > 0: [!] File "/root/wifite2-master/py/Handshake.py", line 127, in tshark_handshakes [!] if not Process.exists('tshark'): [!] File "/root/wifite2-master/py/Process.py", line 51, in exists [!] if stdout == '' and err == '': [!] NameError: global name 'err' is not defined At first i thought this was to do with STDOUT & STDERR so I looked at libdaemon from opkg but that doesn't seem to make a difference. Did anyone already try wifite2 and if so did you get any further? would love to hear from you. Cheers all
  9. # The Goal: I would like to make a pineapple module that uses a bluetooth radio plugged into the USB port. The goal for version 1.0 is to simply list bluetooth devices in range. I chose the Tetra because of its storage space, I originally tried this on the nano, but because there is only ~2MB of storage, it becomes difficult to install the kernel modules and bluetooth libraries to the SD card, so once I get it working on the Tetra I will figure out how to deploy the same solution to the nano. # The Setup: Wifi Pineapple Tetra running version 1.0.2 of the firmware. I started this with a fresh install of the firmware by performing the ‘firmware recovery’ steps from this page: https://www.wifipineapple.com/pages/faq (except your IP address needs to be # Update the opkg cache: root@Pineapple:~# opkg update # Install kmod-bluetooth Next we need to install the bluetooth kernel module, but the one in the pineapple repos is out of date. running ‘opkg list | grep bluetooth’ shows version 3.18.20-1 while ‘uname -r’ shows 3.18.23. If you run ‘opkg install kmod-bluetooth’ you will get an error that complains about kernel version mismatch, ending with the following: If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully. Which is true, the new module is installed in /lib/modules/3.18.20/ while all of the other kernel modules are installed in /lib/modules/3.18.23. Instead, lets just get the newer version of the bluetooth kernel module straight from the openwrt repo (which can be found here) : root@Pineapple:~# wget https://downloads.openwrt.org/latest/ar71xx/generic/packa ges/base/kmod-bluetooth_3.18.23-1_ar71xx.ipk Now well install the ipk we just downloaded: root@Pineapple:~# opkg install ./kmod-bluetooth_3.18.23-1_ar71xx.ipk This command still complains about a kernel mismatch, so well tell opkg to ignore dependencies: root@Pineapple:~# opkg –nodeps install ./kmod-bluetooth_3.18.23-1_ar71xx.ipk # Install the bluez libraries and utilities This package will give us commands like hciconfig and hcitool root@Pineapple:~# opkg install bluez-libs root@Pineapple:~# opkg install bluez-utils At this point we should have the ‘hciconfig’ and ‘hcitool’ commands available to us, but they will error out: root@Pineapple:~# hciconfig -a Can’t open HCI socket.: Address family not supported by protocol root@Pineapple:~# hcitool dev Devices: root@Pineapple:~# # Insert the kernel modules root@Pineapple:~# cd /lib/modules/3.18.23/ root@Pineapple:/lib/modules/3.18.23# insmod ./bluetooth.ko root@Pineapple:/lib/modules/3.18.23# insmod ./btusb.ko root@Pineapple:/lib/modules/3.18.23# insmod ./rfcomm.ko # Plugging in the Bluetooth USB dongle This part sucks. For some reason, even when using the 12 volt 2 amp power supply that the tetra came with, when I plug in a bluetooth dongle, the device resets. All the interfaces go down, my computer drops from the pineapples wireless network, and the pineapple reinitializes all of its interfaces. If you watch the available networks, you will even see the ‘Pineapple_XXYY’ unencrypted network get thrown up then immediately taken back down before the management network comes back up. The problem with this is now the kernel has been reloaded, so all of the modules we just loaded are no longer loaded. After the pineapple is done rebooting, reconnect to it. # Make sure we can see the USB dongle root@Pineapple:~# lsusb Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub # Reload the kernel modules root@Pineapple:~# cd /lib/modules/3.18.23/ root@Pineapple:/lib/modules/3.18.23# insmod ./bluetooth.ko root@Pineapple:/lib/modules/3.18.23# insmod ./btusb.ko root@Pineapple:/lib/modules/3.18.23# insmod ./rfcomm.ko # Check out the hci0 interface root@Pineapple:/lib/modules/3.18.23# hciconfig -a hci0: Type: BR/EDR Bus: USB BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:0 acl:0 sco:0 commands:1 errors:0 Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DH1 HV1 Link policy: Link mode: SLAVE ACCEPT # Bring the interface up Now we can see the interface, but when we try to bring it up, the pineapple can’t initialize the interface. root@Pineapple:/lib/modules/3.18.23# hciconfig hci0 up Can’t init device hci0: Connection timed out (145) # Next Step This is as far as I have gotten. Next I’ll work on figuring out why the interface cant initialize, and then I should be able to build an infusion that will bring bluetooth to the pineapple. Stay tuned.
  10. I want to install MITMF into my mark5 pineapple. Is this possible without pip and other stuff? I cant install pip and other dependencies because lack of system resources. Thanks.
  11. Hi, I received my new Tetra Wifi. I have a few questions. I'm trying to see what options do I have in the the shell. I notice this is a (modified?) version of OpenWRT with BusyBox. A few commands I missed, such as: more, less, ... I checked the opkg (I'm used to debian with apt-get) to see what is available. There is not that many packages there, I have tried opkg list For example, I was looking for tmux, gpsd, and gpsd-clients Is there additional mirrors that I need to get my packages? I have an external 128gb thumb drive for extra storage. However, the modules only have an option to install to internal. ( I do have it in /mnt/usb now) Do you know why? One of the actions I tried was to compiled from source tmux, but there is no make either. In general, I'm trying to learn more what do I have in the box (shell) and see the limitations. I also wanted to get the Internet using a wireless card. Given that wlan1 is used for something else and wlan0 is for the WPA secure connection, I was thinking to add a third one. One easy option may be to add a ethernet wifi (to use the port that I already have) instead of getting a third wi-fi Thanks for the help. feedback is welcome!
  12. I would like to install logrotate from the openWrt repository. I get: root@Pineapple:~# opkg install http://sokrates.mimuw.edu.pl/~sebek/openwrt/packages/logrotate_3.7.1-1_mipsel.ipk Downloading http://sokrates.mimuw.edu.pl/~sebek/openwrt/packages/logrotate_3.7.1-1_mipsel.ipk. Unknown package 'logrotate'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for logrotate found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package logrotate. root@Pineapple:~# uname -a Linux Pineapple 3.3.8 #81 Mon Aug 3 19:40:39 PDT 2015 mips GNU/Linux Do I need to compile logrotate just for this reason or is it easily possible to fool opkg about what architecture it runs on?
  13. Hi All, I'm working on a project in witch i'm using some old Linksys WRT54GL routers that i've flashed with OpenWRT (Backfire 10.03.1). Now i'm running into some problems with the storage on the device, the device has around 1mb of flash storage that i can use. The thing i want to do is configure the router to send probe request information with UDP to my computer where i'm running a app to visualize this data, i already have an prototype working on the Pineapple. On the pineapple i'm simply watching for changes in the KarmaLog with the following script: KARMALOG="/var/karma-phy0.log" IP="" PORT="11999" LASTLINE="last" while true; do # compare the lastline with the new line if [[ $LASTLINE != $(tail -n 1 $KARMALOG) ]] ; then LASTLINE=`tail -n 1 $KARMALOG` echo $LASTLINE >/dev/udp/$IP/$PORT fi sleep 1 done This works great, sends the data i need, perfect. The only problem i have now is that i want to use a different router than the pineapple but on the Linksys routers i don't have enough space to install karma, and i actually don't think i need karma to do the job. I know i can set the radio on the Linksys in monitor mode, but i don't know how i can get the probe requests out without installing an extra framework. So i'm looking for a framework or a simple script that can filter out the probe requests, in the ideal situation i would get the SSID, Timestamp, Device Hostname or Mac Address and Signal strength (to calculate a distance from the router). Do you think this is possible and if so where should i start looking? Or should i consider getting other routers with more storage capacity? Many thanks! TheB
  14. I have no use for my MK5 and really need a repeater. https://forums.hak5....-as-a-repeater/ In the above thread he says flash dd-wrt? I was hoping since the Pineapple software is based off OpenWrt a flash of unmodified OpenWrt will be possible.
  15. I have some pre-configured openwrt images for the TP-Link WR841N/ND kismet_drone is installed and configured to listen on all interfaces firewall is disabled, plug into wan to get a dhcp address from somewhere else or lan to get dhcp address from the router ( kismet_drone autostarts and has a init.d script telnet into the router first, then set the password and then ssh is enabled. for each image, check version (v7, v8, etc) and use sysupgrade image if flashing over already installed openwrt or factory is doing a install from factory software. Use at your own risk, I have tested on a WR841ND v7 and works perfectly. Don't forget to configure your kismet server to use connect to the drone! Also have some hostapd-karma working images if anyone is interested. Download here still uploading some of the images so give it some time
  16. I'm going to assume the wireless on my board is bad as I've tried the gambit of other fixes listed within these forums. (new cables, antennas, software modifications, etc) With that, is the custom OpenWRT that is used on these devices available to download? Or can I just install OpenWRT and then be able to install the firmware from wifipineapple.com? Or do I only need the firmware from wifipineapple.com? I see I can get a new motherboard from the OEM for $25, but it would be blank on arrival and require that I connect via a serial cable and upload the OS via TFTP, which I could likely handle. Or can I simply ship mine back to Hak5 and $25 for a replacement as I'm past the 60 days I could exchange / return the device? Edit - fixed spelling
  17. I'm flashing my alfa with this tutorial and in PuTTY (after pressing 1) I have to enter "password" and "ALFA login". What is psw and login for Alfa AP121U?
  18. Hello everyone, my name is Victor and I'm located in Sweden. Since two weeks back I've had a Pineapple Mark IV in my possesion, and I'm really happy with it. It's awesome in every single way. But, I grew tired of the Control Center design-wise. What I did was to check this forum if there where any stylesheets to download and use on my pineapple. But I couldn't find anything else than some color changes. So I made my own, and as the Pineapple itself is open-source, I see no other reason than to share it with you. https://github.com/xeloader/The-Dutchess Enjoy! P.S There's a screenshot of the theme itself in the README.md. P.S2There's like 5 unnecessary commits in my repo, but, it's my first time using github. It's okay. Keep calm.
  19. I am compiling Kernel for OpenWRT to include additional C code. I started with the Pineapple factory image and would like to use it as a baseline. However, I cannot find the .config file for the build in any of the documentation or code. Can you please direct me to where I can find the .Config file? Any help would be a great time saver. Cheers.
  20. When I first got my pineapple I could opkg install ruby and other ruby packages just fine. Ruby "still" works... but irb and gem won't. I've looked into the fact that /usr/lib/ruby is at /usb/usr/lib/ruby ... I linked it. After that I seemed to have progress except I get a "/usb/usr/bin/ruby: can't resolve symbol 'getipnodebyname'" error. It seems that OpenWRT has a bad file in the package. One source suggests downgrading the zlib library... but the link given is bad. Another seems to indicate it's a makefile difference and a merge to an old version will fix it. Are we able to build/fix packages on the box? I really would like to use the full power of the Ruby language here. Help would be greatly appreciated!
  21. I'm having a bit of a nightmare here, and I'm hoping that someone can help me out. What I'm *trying* to do is configure a TP Link WR703N to act as a wireless bridge for my pineapple thus: Internet <====> Wireless AP <====> WR703N <====> Pineapple I'm configuring the 703N as a minipwner, only I'm not completing the build, just building it up to the point that I have connectivity through to my wireless AP. At this point I have something along these lines: Laptop eth0 on, connected to: WR703N eth0/br-lan on, bridging to: WR703N wlan0 on, connected to Wireless AP on With it setup like that, bridging works fine, and I can connect to the internet from my laptop, via the WR703N (and wireless is disabled, so it definitely IS going that way!), with no issues. If I change the IP address on the WR703N to, and the IP on my laptop to mimic the pineapple as, then I can no longer bridge through the device. The only thing that has changed is the IP. If I try and ping from the laptop, it can't resolve DNS names, and times out trying to reach IP addresses. I've cleared ARP caches, and compared /etc/config/network ../system and ../wireless files a dozen times over, but nothing is different save the IP addresses. Has anyone done something similar and experienced/resolved the issue? Thanks
  22. Ho can make the iptable entries in to a startup script for jasager? How do I create 2 scripts, one for WAN port routing and 1 for Android USB Tethering? iptables -A FORWARD -i eth1 -o wlan0 -s -m state --state NEW -j ACCEPT iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -A FORWARD -s -o usb0 -j ACCEPT iptables -A FORWARD -d -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT iptables -t nat -A POSTROUTING -s -o usb0 -j MASQUERADE Thnks
  • Create New...