Jump to content

Search the Community

Showing results for tags 'openwrt'.

More search options

  • 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
  • WiFi Pineapple
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapples Mark I, II, III
  • Hak5 Gear
    • Hak5 Cloud C²
    • Plunder Bug
    • Bash Bunny
    • Signal Owl
    • USB Rubber Ducky
    • Packet Squirrel
    • LAN Turtle
    • Screen Crab
    • Shark Jack
    • Key Croc
  • O.MG (Mischief Gadgets)
    • O.MG Cable
    • O.MG DemonSeed EDU
  • 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 7 results

  1. 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
  2. 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?
  3. 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.
  4. 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
  5. 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
  6. # 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.
  7. 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!
  • Create New...