Jump to content

Mr.miYagi

Active Members
  • Posts

    94
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mr.miYagi's Achievements

Newbie

Newbie (1/14)

  1. At the setup screen the pineapple doesent accept any ssh connection. With the manipulated packed, it skips the reset button part, i can enter all settings like pw ssid etc. When i press continue, it goes back to the welcome setup screen and doesent set the pw etc. Maybe i broke the setup, and trying to find out, how to reset it or restart the setup. Maybe this helps. The other thing is, its not meant for this device. I mean, maybe the setup doesent work on mk5.
  2. Seems burp suite is the answer. Passed the secure setup, but could not finish the setup till now. Fummeling with the packets...
  3. Hi this is a cross-post from Pineaple Mk5 I upgraded my Pineapple MK5 on the newest Openwrt NANO image and now stuck in the setup The initial setup in the web interface is asking to press the reset button wich is not present on hardware side. Someone an idea how to skip this? Tried already to watch on wireshark, if there is something interesting, but i dont know if i can use this: 90 14.140287391 172.16.42.1 172.16.42.101 HTTP 497 HTTP/1.1 200 OK (application/json) )]}', {"buttonPressed":false,"booted":true} Can i manipulate some packets, in the way to trick the interface to continue? Or im searching on the wrons side?
  4. As i wrote in the title, be warned. You can brick your Device, loose you guarantee (MK5 should be out of guarantee), lose wife and children etc. Im not responsable for all the bad thing will happen to you, if you follow this flash procedure as i wrote here its possible to flash a MK5 with the newest Opwnwrt NANO image. it boots, but im stuck in the setup. It asks for pressing the "reset" button, wich i don't have. Idk if im right, but as i can see, there is no way to trigger the GPIO/reset button on hardware side, since GPIO (reset button on NANO) isn't wired up. I could flash back 2.4 with my bus pirate, but like to hack and break things 🙂 Can we work out something to skip the secure setup? On PHP side? Or triggering some pins on the PCB directly? Would appreciate some idea. I already tried to manipulate some TCP package with wireshark, im not really good at it, maybe someone can explain to me it if makes sense to continue to search there for the weak point.
  5. And because i was bored and already experimenting, i tried to flash the newest Nano 2.5.4 img... Aaaaand its boots up. Im stuck now at the setup screen, it ask to push the reset button to continue, wich i dont have. I tried already with a few DIP switch combination, but it didn't work. I try now: - More DIP switch combinations - Try to find out if some GPIO pins triggers it - Try ro find out, how i cuould skip this part of the setup Edit: Reset on Nano seems on gpio12, no DIP switches are 12 on mkv
  6. Trows me erros about dependencies, dont installs. https://github.com/adde88/hostapd-mana-openwrt-simple/blob/master/bin/ar71xx/packages/base/hostapd-mana-light_2.6-2_mips_24kc.ipk installs fine and work. Already tested
  7. Hey @Allegria Just install https://github.com/adde88/hostapd-mana-openwrt-simple/blob/master/bin/ar71xx/packages/base/hostapd-mana-light_2.6-2_mips_24kc.ipk?raw=true and launch with "hostapd-mana /etc/mana-toolkit/hostapd-mana.conf" The hostapd part seems to work. Now we need to get dns2proxy and sslstrip working
  8. thx foxtrott I know nothing is official, but hey, we are here for hacking 😉 btw Mana seems to work with the provided .ipk fom @Zylla , have still some trouble to start it correctly. Got clients associated!!! Even wlan1 connected to elan0 with a fake AP!! most of the time i get: root@OpenWrt:~# hostapd-mana /etc/mana-toolkit/hostapd-mana.conf Configuration file: /etc/mana-toolkit/hostapd-mana.conf Could not read interface wlan1 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan1 disabled_11b_rates=0 Could not read interface wlan1 flags: No such device nl80211 driver initialization failed. wlan1: interface state UNINITIALIZED->DISABLED wlan1: AP-DISABLED i switched to wlan0, killed wpa_supplicant and dnsmasq, and sometime it works. but if i deactivate the wlan1 in the web interface, it doesen't show up in iwconfig, and i get that error. And if i activate, networkmanager etc makes a mess... im sure
  9. copy fw to /tmp cd to /tmp mtd write -r 3.0upgradexxxx.bin firmware edit: Be patient, tooks long to flash and the 1. boot
  10. Tried to go back to 3.0 and made the https://openwrt.org/toh/hwdata/hak5/hak5_wifi_pineapple_nano upgrade. I was thinking the nano upgrade is only a upgrade and not a full image, so i was thinking that is a better idea to upgrade from 3.0. but pineapple stuff seems removed here, so no package for the actual distro/architecture. Try to figure out how how to compile mana and the other stuff on 18.06.
  11. with the original 3.0 beta and the Nano upgrade now im on 18.06.02 and kinda of official release. New enough for me. Never portet aps with sdk, only compiled for debian et. But i have no experience in it. Hope i get it. Already installed the MANA Light package from you git. It seems to install. I dont know what exactly, bit it installs 😄 Every help is appreciated
  12. Wow fast answer So then... I try to get 18.06.2 running. As i understand, every image that has "generic" as subtarged and is for AR9331 should work? You think i can flash a image from here? https://openwrt.org/toh/views/toh_fwdownload like the one for the TL-WR710N? I bricked my MKV a lot of time, but i have a soldering station and a bus pirate. Could fix it every time till now Thanks for your help Edit: Found This: https://openwrt.org/toh/hwdata/hak5/hak5_wifi_pineapple_nano openwrt 18.06 for the nano. Can we use just this image? is this only a upgrade or a full image? @Zylla the problem is not to get a new image for the 18.06, my problem is i cant port all the tools to the ne architure.
  13. Hi all Wanna share how i got LEDE Reboot 17.01.5 running on my MKV Download http://downloads.openwrt.org/releases/17.01.5/targets/ar71xx/generic/lede-17.01.5-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin Ssh to pineapple mtd write -r /firmwarelocation.bin firmware (edit, wron command: sysupgrade -n /tmp/lede-17.01.5-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) Connect to the new FW Set PC LAN to DCHP(dont use wp5.sh script) Connect lan cable Browse to 192.168.1.1 login with user root, pass toor Get sd card working Get a wifi connection with wlan0 or provide other internet connection Go to software and install folowing packages, or use opkg trough ssh (this are more package as you need, if someone knows wich one aren't needed, we can sort them out, but sd works with these): opkg update opkg install kmod-scsi-core kmod-scsi-generic \ kmod-usb-core kmod-usb-ohci kmod-usb-uhci kmod-usb2 kmod-usb3 \ kmod-fs-msdos kmod-fs-vfat kmod-fs-ext4 usbutils \ kmod-usb-storage kmod-usb-storage-extras block-mount Reboot Insert a previosly formatted sd card (etx4 and swap partition) Check with dmesg if its reconized, or check with "block info" Now you get the menu "Mount points" in the web interface Click on "generate conf" and the 2 partition will appear Edit sda1/the ext4 partition Change mount point to /overlay click on save & apply Click on "enable" ckeckbox, save and apply afterwards Reboot Bam! you have a Openwrt installation with XGB of storage Install second wifi Go to software or use opkg: opkg update / update list first or you won't get results Search for RTL8187 Install kmod-rtl8187 Here you have your 2. wireless If you mess up something, you can reset it trough the web interface (didnt find the dip switch/combination for factory reset yet) Network setting are by pressing the DIP switch 5 for a few second. Please share your findings about. First of all i wanna thanks @Allegria for the idea and command to upgrade to Lede and @Zylla that already made MANA possible on the old FW Open questions: I tried to install the MANA packages for the Nano and i get several errors, like wrong Architecture or missing libc etc. @Zylla can you help me out to get it running? If i have to compile it from scratch, it better to switch to lede 18 first and compile it there? can we port the rest of it like these methods: https://penturalabs.wordpress.com/2013/04/25/blue-for-the-pineapple/ Thx for the help edit: its faster that way: update to 3.0 and make the https://openwrt.org/toh/hwdata/hak5/hak5_wifi_pineapple_nano upgrade Model Hak5 WiFi Pineapple NANO Architecture Atheros AR9330 rev 1 Firmware Version OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d) runs fine that way. The only prolem is how to port all applications? Compile all fom scratch?
  14. after i changed the location of the dhcp file: /etc/init.d/dnsmasq will reset your config file. Im connected with ethernet. On FW 3.0 (similar to nano, i think) i could empty the wireless file and its stays empty. Now it would populated with the standart settings, and fter i reboot my pineapple are broadcasting Pineapple_XXXX. I found out, if i connect with my new device to the ssid that are configured on the hostapd file, i get a ip. If i connect to a invisible network, not. to the startup scrip. I havent really one, i try to get it working manually, till all works. But changes i made: i launch a scrip that starts your script on screen, so it dont stops on disconnect /bin/echo 'sleep 5s' sleep 5 /bin/echo 'launch mana on screen -r mana' /usr/sbin/screen -dmS mana /usr/share/mana-toolkit/run-mana/mana-pineapple.sh also you have to use absolute path's if you want to launch it on boot. on your script i had do add - absolute path's - mkdir /var/lib/misc (or you get: dnsmasq: cannot open or create lease file /var/lib/misc/dnsmasq.leases: No such file or directory) - /usr/bin/killall hostapd - changed wlan1 to wlan0 ps output http://pastebin.com/D1r9PLAW top output http://pastebin.com/4HYmgkkJ launcher http://pastebin.com/fRt3H30W and to launch it, i modified the Karma tile, so it lauches your script instead of mana, with 1click ;) function toggle_karma($enable) { if ($enable) { exec("/sd/manalauncher.sh"); } else { # exec("pineapple karma stop"); exec("killall screen"); } return true; } edit: dnsmasq seems to listen correctly: sudo netstat -tulpen | grep dnsmasq -ash: sudo: not found root@Pineapple:~# netstat -tulpen | grep dnsmasq tcp 0 0 10.0.0.1:53 0.0.0.0:* LISTEN 5960/dnsmasq netstat: /proc/net/tcp6: No such file or directory udp 0 0 10.0.0.1:53 0.0.0.0:* 5960/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 5960/dnsmasq or not? Edit: Seems some devices/android versions doesent get a ip. Headache for nothing.... its a android 4.2.2 tablet, all other devices connects nice
  15. Maybe i messed uf some configuration. the path to /etc/mana-toolkit/dnsmasq-dhcpd.conf is correct in the launch script. But when i restart dnmasq, the first line of the conf file shows me: auto-generated config file from /etc/config/dhcp Also the wireless settings are reset, if i change it or delete it. wlan0 has the right ip (10.0.0.1), dnmasq associate the (new)client, the client didnt get a ip. Devices that already was connected, gets ip. Maybe i changed to much conf files and i have to begin from scratch... And back to 3.0 is a no go, because of the SD corruptions Edit: The changes to : ./rom/etc/init.d/dnsmasq maybe are the problem they overwrite my dchp settings
×
×
  • Create New...