Mr.miYagi
-
Posts
94 -
Joined
-
Last visited
Posts posted by Mr.miYagi
-
-
Seems burp suite is the answer. Passed the secure setup, but could not finish the setup till now. Fummeling with the packets...
-
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?
-
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
-
18 hours ago, Zylla said:
I suggest trying this IPK which I built for snapshot a while back, especially if there's issues with the other one.
It's built with musl as the C library, which is the default now in snapshot and LEDE.
Trows me erros about dependencies, dont installs.
installs fine and work. Already tested
-
Hey @Allegria
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
-
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
-
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
-
1 minute ago, Allegria said:
how did you go back to 3.0.0 beta from LEDE Reboot 17.01.5?
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.
-
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
-
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.
-
Hi all
Wanna share how i got LEDE Reboot 17.01.5 running on my MKV
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 toorGet 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-mountReboot
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 appearEdit 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. wirelessIf 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
ModelHak5 WiFi Pineapple NANOArchitectureAtheros AR9330 rev 1Firmware VersionOpenWrt 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? -
maybe is related to this:
-
Hi
I have the same issue an my MKV with FW 3.0
Had the same issue with downloading files from the sslsplit modules.
And now i get errors with some modules installed on the sd.
I installed python 2.7 on the SD. When i start SSLstrip, i get a BUS error.
After that i can see in dmesg the I/O error or a bad superblock warnig.
Badblock cant find any bad blocks....
I remove the swap partition and retry the hole story, mabe this helps to reduce the bottleneck or read/write errors. Maybe it helps.
same issues with original sd / samsung 16GB class 10 / Kingston 16GB class 10
Edit:
copied all files from SD to PC, formatted the SD, checked for errors. Created only 1 ext4 partition without swap.
Copied the files back, after boot, copied a big folder and i get this:
[ 682.750000] blk_update_request: I/O error, dev sdb, sector 397280
[ 683.280000] EXT4-fs warning (device sdb1): ext4_end_bio:317: I/O error -5 writing to inode 2841 (offset 0 size 4096 starting block 54878)
[ 683.280000] Buffer I/O error on device sdb1, logical block 54621
[ 683.290000] Aborting journal on device sdb1-8.
[ 683.300000] JBD2: Error -5 detected when updating journal superblock for sdb1-8.
[ 683.310000] EXT4-fs error (device sdb1): ext4_journal_check_start:56: Detected aborted journal
[ 683.310000] EXT4-fs (sdb1): Remounting filesystem read-only
[ 683.320000] EXT4-fs (sdb1): previous I/O error to superblock detected -
the 3g script sets it up for you and makes the modemswitch. Or just copy the ne$
*19d2:1523*) echo "ZTE MF591 (T-Mobile) detected. Attempting mode switch"
uci delete network.wan2uci set network.wan2=interface
uci set network.wan2.ifname=ppp0
uci set network.wan2.proto=3g
uci set network.wan2.service=umts
uci set network.wan2.device=/dev/ttyUSB0
uci set network.wan2.apn=YOURPROVIDER
uci set network.wan2.username=YOURUSER
uci set network.wan2.password=YOURPASS
uci set network.wan2.defaultroute=1
uci commit network
Just change it to your PID
On my MKV 3.0 was missing too comgt (installed with opkg)
and i had to modify /etc/chatscript/3g.sh
after that ist works nice. No need of modemswitcht on my Huawei e180v
-
Same here. Buyed a plug and waited for support.
Never could get something usefull out of this.
-
Im to stupid to find it, or this release has no 3g Usb mode management?
Edit: got it working without. Some configs an the chatschript are missing...
-
Wep and reset
Hi all. Just installed the new beta.
I encountered two problems:
Cant get connected to a WEP Ap, after a few tries, the pineapple didnt boot anymore.
Now i cant reset it with the dip switches. Some idea? Didnt try over Lan till now, only the green light is on.
The dip switches doesent work anymore to reset?
-
Seb
Some fixes for the deauth problem?
-
I can say that Darren and co. do a very good job. Im customer since years and very happy.
Somethimes they need a few days or a reminder to respond, but they are a few persons and not a big company, so its ok.
But the support per mail or here in the forums are much better than other company's!
-
-
Kannst auch hilfe aus der Schweiz beanspruchen ;)
Grüsse an die Deutschen Nachbarn
-
Its a few weeks ago, and they talk about a "wifi hacker box".
It must be the pineapple, they talk about KARMA funktionality, and grabbing creds.
-
Maybe the logfile can help.
Out of the Blue, many things can be wrong:
- Forgot to save settings (tried to push redial)-- settings wrong
- sim card not inserted properly
- no dataplan is activated
- pin is active
- etc.
post your logfile after you dial up, or restart.
did you modem have a LED? did it change color, or from blinking to steady?
-
Go to the tile "network" then "broadband". And make you choises there.
Wit my huawei, the only settings i change are:
Protocol: 3g
Service: umts
Apn:gprs.myprovider.com
User: gprs
Pass: gprs
For sure you have to replace the settings, with your provider ones.
I havent access to my pineapples, but must be something like that. Also consider to check the wiki:
LEDE for MK5
in WiFi Pineapple Mark V
Posted
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.