Jump to content


Active Members
  • Content Count

  • Joined

  • Last visited

About Mr.miYagi

  • Rank
    Hak5 Fan ++

Recent Profile Visitors

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

  1. 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.
  2. 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* LISTEN 5960/dnsmasq netstat: /proc/net/tcp6: No such file or directory udp 0 0* 5960/dnsmasq udp 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
  3. 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 (, 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
  4. i switched back to FW 2.4 where all the packages are installed. Managed to get mana to work. But have trouble get the DHCP client to work correctly. Something is overwriting the conf file. Im still searching what the reason. I guess some cronjob...
  5. 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
  6. the folder is 100% on the SD and its your folder. removed all python packages from root: python-base python-light python-openssl phython-sqlite3 python-codecs reinstalled all to -d sd removed all files and folders in /sd/usr/lib/python2.7/ and unpacked your files get me: python /usr/share/mana-toolkit/sslstrip-hsts/sslstrip2/sslstrip.py Traceback (most recent call last): File "/usr/share/mana-toolkit/sslstrip-hsts/sslstrip2/sslstrip.py", line 27, in <module> from twisted.web import http ImportError: No module named twisted.web but since in my opkg manager python-twisted web is missing, the system did not reconize anyhow the module, no matter if the files are in the folder. i have to search a python-twisted web package for my version - i think and i saw in line 28 twisted.internet is needed. i try to search a package and i hope i dont brick it... Thanks for all the help Edit: Im not the only one, package is missing....
  7. Exactly whats i done, after my my google-foo. But it was only a short try. Try again later in the evening. The files are now on the sd. But at first try it didn't work. For sure my fault...
  8. thanks for the advise. Installed an sdcard. But sslstrip is still missing some modules (twisted web etc). i try to find out whats the matter. mybe i have to reinstall python or register the modules in some wise. Thank i apreciate much your help. Thanks
  9. Easy? wait for realease? Too boring :D You are my hero, i try to set up phyton soon. THX
  10. SSLstrip seems to miss some dependencies: Traceback (most recent call last): File "/usr/share/mana-toolkit/sslstrip-hsts/sslstrip2/sslstrip.py", line 27, in <module> from twisted.web import http And for getting hostnames in the Client page (WEBGUI) modify: nano /pineapple/modules/Clients/api/module.php the line leases = explode("\n", @file_get_contents('/var/run/dnsmasq.leases')); leases = explode("\n", @file_get_contents('/var/lib/misc/dnsmasq.leases'));
  11. mana starts nice with your script. i try to implement dniff and sslplit, if i get i working, i will post it here.
  12. Thanks for your patience. Solution was reset wifi settings run your script (not sure is necessary) and bam: ANA - Attempting to generate Broadcast response : xxxxxxxxxxxxxxxxxxxxxxxxxxxxx MANA - Attempting to generate Broadcast response : xxxxxxxxxxxxxxxxxxxxxxxxxxxxx MANA - Attempting to generate Broadcast response : xxxxxxxxxxxxxxxxxxxxxx MANA - Attempting to generate Broadcast response : xxxxxxxxxxxxxxxxxxxxxxxxxx MANA - Attempting to generate Broadcast response :xxxxxxxxxxxxxxxxxxxxxxxxxxxxx seems to run very nice till now now i try to get sslstrip and the other toll to run properly. Thanks a lot
  13. yes i am. but also when i stop it. i have the same error. but running top i saw that: 1832 1 root S 1856 3% 0% /usr/sbin/hostapd -P /var/run/wifi-ph /var/run/hostapd-phy0.conf and it restarts automatically. I think a sort of cronjob is running to keep it alive. i think the best is to swap it to the mana conf file
  14. thanks for the fast reply. i think its why the interface wlan0 is initialized with the karma hostpd. still no luck, killing hostapd before starting the script. root@WiFi Router:~# killall hostapd root@WiFi Router:~# airmon-ng check kill Killing these processes: 3014 root 1816 S /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplica 3049 root 1380 S udhcpc -p /var/run/udhcpc-wlan1.pid -s /lib/netifd/d 3408 root 1376 S grep wpa_action\|wpa_supplicant\|wpa_cli\|dhclient\| root@WiFi Router:~# /usr/share/mana-toolkit/run-mana/mana-pineapple.sh Pineapple seems to be: ONLINE. RTNETLINK answers: File exists Configuration file: /etc/mana-toolkit/hostapd-mana.conf rfkill: Cannot open RFKILL control device nl80211: Could not configure driver mode nl80211 driver initialization failed. hostapd_free_hapd_data: Interface wlan0 wasn't started MANA has started successfully! Press enter to kill it properly
  • Create New...