Re4son

Forum Replies Created

Viewing 25 posts - 676 through 700 (of 705 total)
  • Author
    Posts
  • in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1077
    Re4son
    Keymaster

    Hi Anonymous,

    the coordinates are hard coded in the menus. The screen size has to be adjusted in four areas (let’s use file manu_kali-1.py as example):
    1. Screen size parameters for initializing pygame (line 137) – set to: size = width, height = 320, 240
    2. Outer border draws the border around the outside ( two borders actually, for 3d effect) (lines 144 & 145).
    3. make_button function calls at lines 151 – 160 draw the buttons. You have to play around with those to find a layout that looks good on your screen.
    4. Touch positions are defined on lines 34 – 53 and should match the corresponding make_button coordinates (make_button defines the output (drawing), touch_pos defines input (touch) – I could have solved that a bit cleaner, sorry.

    Adjusting these values should get you up and running in no time. You might have to change the entire layout to make it look good on your screen though, e.g. using the screen in portrait mode and using one long button per row or something like that.
    Please let me know how you go. I’d love to see a picture of the finished set up.

    Hope that helps,
    Re4son
    Original author: Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1076
    Re4son
    Keymaster

    Hey Thx for the tutorial, I got this going on my 3.2 (28r) pitft but I’m unable to alter the pygame menu screen output .. It’s all off the screen and I’ve tried so many different ways … Any insight ?? Thank you
    Original author:

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1075
    Re4son
    Keymaster

    Did you ever sort this problem out? I have the exact same thing and it’s killing me slowly trying to fix it.
    Original author: Edd

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1074
    Re4son
    Keymaster

    Thanks! I will check this out and let you know! Appreciate the quick response!
    Original author: Anonymous Coward

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1073
    Re4son
    Keymaster

    Hi Anonymous Coward,

    I’ve added a blog post with the notes I took when configuring Snort, Barnyard2 and PulledPork:

    http://whitedome.com.au/re4son/index.php/2016/02/11/sticky-fingers-kali-pi-configuration-of-snort/

    It’s not well structured but should be fairly accurate.
    Please let me know how you go,
    Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1072
    Re4son
    Keymaster

    Great write-up! Took a few tweaks but got this up and running. Is there a good guide on the Snort/Pulled Pork portion that you mentioned? It appears that Snort starts, but when I run Pulled Pork is throws errors about the snort service (snortbarn.service) not starting and there is no config file for Pulled Pork.
    Original author: Anonymous Coward

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1071
    Re4son
    Keymaster

    OK great, i’ll try it this weekend with avoiding the adafruit tft helper! thanks
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1070
    Re4son
    Keymaster

    Yo,
    Bought a Pi2B, eliminate any B+ issues, quicker and better…

    Got it working last night, was a moment of joy I can say!
    So I followed the script and got the same result as Thijs, so I nuked the card and started again but I used the mirror you mentioned in my sources list.
    I did everything but launch the TFT helper, leaving that part until we get to installing the menu.
    IIRC I made the missing file the helper crashed out on and ran it again it was happy and completed.
    Rebooted and boom!
    Looks the bomb and I have most of the menu items working nicely, just a little more config and we are fully up and running 😀

    I’ll prob do it all again and document my steps if it’s of any use…

    I’m using two Pi hut wifi dongles and I know they work in monitor mode so I should be able to make it into a wifi pineapple type device ?
    Original author: Mark

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1069
    Re4son
    Keymaster

    Yeah i tried startx but doesnt work, thanks for the ongoing help though! it gives a long message and im not sure what to think of it:

    startx

    X.Org X Server 1.17.3
    Release Date: 2015-10-26
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.16.0-4-armmp-lpae armv7l Debian
    Current Operating System: Linux kali 3.18.14-v7+ #2 SMP PREEMPT Thu May 28 18:17:59 UTC 2015 armv7l
    Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2709.boardrev=0xa21041 bcm2709.serial=0x6a7888ba smsc95xx.macaddr=B8:27:EB:78:88:BA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.fiq_fix_enable=2 console=tty1 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload
    Build Date: 27 October 2015 11:47:01PM
    xorg-server 2:1.17.3-2 (http://www.debian.org/support)
    Current version of pixman: 0.33.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (–) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: “/var/log/Xorg.1.log”, Time: Fri Jan 29 11:39:08 2016
    (==) Using config directory: “/etc/X11/xorg.conf.d”
    (==) Using system config directory “/usr/share/X11/xorg.conf.d”
    ^Cxinit: connection to X server lost

    waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1068
    Re4son
    Keymaster

    Hi Thijs,

    out of the box, Kali boots up into the GUI and that is outputted via HDMI.
    That’s why I ended up writing the Kali-Pi Launcher.
    Just boot into text mode and start X manually to test. I’d continue following this guide and install the Launcher.
    Let me know how you go.

    Cheers,
    Re4son
    Original author: Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1067
    Re4son
    Keymaster

    Yes output on the hdmi port is fine and i can also connect to it via ssh without any problem. So i guess the problem is with the adafruit-helper part.
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1066
    Re4son
    Keymaster

    Hi Thijs,

    Do you get any output on the hdmi port?

    Cheers,
    Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1065
    Re4son
    Keymaster

    Maybe as an extra note the screen does go on but is only white.
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1064
    Re4son
    Keymaster

    Now I tried it with No for showing the console on the screen, the adafruit helper replied “succes” but still my screen is not working after the reboot. Any ideas?
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1063
    Re4son
    Keymaster

    Hey thanks a lot for your tutorial, you got me further then the other tutorials!
    Have a raspberry pi 2 with the image of kali you suggested here, but have some trouble with the adafuit-pitft-helper.
    When i run it for 28r it says: Would you like the console to appear on the PiTFT display? [y/n] y
    [PITFT] Updating console to PiTFT…
    /boot/cmdline.txt already updated
    sed: can’t read /etc/kbd/config: No such file or directory
    Any ideas? I manually made the /boot/cmdline.txt.
    Many thanks!
    Thijs
    Original author: Thijs

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1062
    Re4son
    Keymaster

    Hi Furiuz,

    You can start and run kismet in a pre-configured mode without a keyboard by configuring kismet.conf
    You do need a keyboard to change the configuration or to exit it though. I bought the “Rii mini i8+” wireless keyboard on eBay for $20. It’s an awesome buy for the Pi.

    Cheers,
    Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1061
    Re4son
    Keymaster

    Hi Mark,

    thanks very much. I’m glad you like it.
    Your problem might be caused by the original repository. It’s not very reliable. Using a mirror usually helps.
    Just try using this line in your sources.list:

    deb http://mirror.aarnet.edu.au/pub/raspbian/raspbian/ wheezy main contrib non-free

    Always works for me.

    I hope this helps,
    Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1060
    Re4son
    Keymaster

    Hi everyone,

    Good news: Kali-Pi goes “rolling release”!

    I’ve just completed a successful upgrade to Kali 2016.1 and will soon update the blog to include the steps required. Everything seems to be working fine apart from a few missing icons in the Kali menu in X.
    Here’s what I did:

    $ cat << EOF > /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    EOF

    $ apt-get update
    $ apt-get dist-upgrade # get a coffee, or 10.
    $ reboot

    Repeat section “Boot into text mode”
    Repeat section “Enable Auto Login”

    MySQL will start on boot after the upgrade, let’s disable it to save resources (we’ll start it manually if needed)
    $ systemctl disable mysql

    That’s it.

    Have fun and please let me know if you encounter any problems.

    Cheers,
    Re4son
    Original author: Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1059
    Re4son
    Keymaster

    Hi Wilson,

    thanks for you kind words. I much appreciate it.
    I usually run Kali-Pi with 2 interfaces – 1 TP-Link TL-WN722N and either the ethernet port or a Wi-Pi. Runs nicely. Very rarely the TP-Link doesn’t get picked up properly after a reboot but that’s easily fixed by pulling it out and reconnecting it.
    I know what you are saying about protecting the Adafruit kernel from being overwritten during an upgrade but it doesn’t seem to be an issue. I’ve run several upgrades, including one to 2016.1 and none attempted to replace the kernel.

    Interesting concept the WiFi Pineapple. I’ve never seen one in real life but I’m intrigued by it. What is it supposed to do? Is one interface for scanning and one for remote access or can you use it for MitM attacks?

    Many thanks,
    Re4son
    Original author: Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1058
    Re4son
    Keymaster

    Hi Furiuz,

    You can start and run kismet in a pre-configured mode without a keyboard by configuring kismet.conf
    You do need a keyboard to change the configuration or to exit it though. I bought the “Rii mini i8+” wireless keyboard on eBay for $20. It’s an awesome buy for the Pi.

    Cheers,
    Re4son
    Original author: Re4son

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1057
    Re4son
    Keymaster

    I know there is a way to block out adafruit_pitft_kernel_1.20150420-1.tar.gz from being over written during a apt-get upgrade.. Anyone able to provide? I searched and can’t find.
    Original author: Wilson

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1056
    Re4son
    Keymaster

    Bro, I salute you..

    Good job on this Impressive write up.. I don’t think I have ever seen a step by step in linux this clear..
    You got me up and running with the PITFT 3.5 & Kali 2.01 on a Pi2
    The only glitch while stepping through, is the user accounts. When I got to he menu section it did not come up unless I logged in as [root] via SSH, easy fix, changed the user in one of the earlier steps..
    I really like the menu options.. Will learn how to customize..

    Ulitimatily, could like to get this set up simular to a WiFi Pineapple. Im sure you know what that is. Would be nice to have to radios. One as a Access point/AD hac and another with a Realtek radio to look around with. I had that type of setup working last year on my B+ and could never get that setup working again for some reason.
    Original author: Wilson

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1055
    Re4son
    Keymaster

    Bro, I salute you..

    Good job on this Impressive write up.. I don’t think I have ever seen a step by step in linux this clear..
    You got me up and running with the PITFT 3.5 & Kali 2.01 on a Pi2
    The only glitch while steping through, is the user accounts. When I got to he menu section it did not come up unless I logged in as [root] via SSH, easy fix, changed the user in one of the earlier steps..
    I really like the menu options.. Will learn how to customize..

    Ulitimatily, could like to get this set up simular to a WiFi Pineapple. Im sure you know what that is. Would be nice to have to radios. One as a Access point/AD hac and another with a Realtek radio to look around with. I had that type of setup working last year on my B+ and could never get that setup working again for some reason.
    Original author: Wilson

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1054
    Re4son
    Keymaster

    Hi re4son,
    Firstly let me say that this how to is very well put together and has been a great help to me, I have learnt a load from following this project 🙂

    I ran into a snag when fixing Pygame, I’m hoping you might be able to help.
    Im following this tutorial using a Pi B+ with the 3.5″ Adafruit TFT. Its not a Pi2.

    I update the sources.list file by commenting out the origional sources and add this:
    deb http://archive.raspbian.org/raspbian wheezy main contrib non-free

    Then I run the apt-get update and I recieve the following error:
    root@kali:/etc/apt# sudo apt-get update
    Hit http://archive.raspbian.org wheezy InRelease
    Get:1 http://archive.raspbian.org wheezy/main Sources [6,081 kB]
    Fetched 6,081 kB in 57s (106 kB/s)
    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/wheezy/InRelease Unable to find expected entry ‘main/binary-armel/Packages’ in Release file (Wrong sources.list entry or malformed file)

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    This is where things break down as the next parts don’t seem to go well either.

    Other than fixing Pygame I have everything working nicely!

    Thanks for your help!
    Original author: Mark Judge

    in reply to: Comments from Blog Post “Sticky Finger’ Kali-Pi” #1053
    Re4son
    Keymaster

    Thanks for this!
    Got one question though? Is it possible to get kismet running without a keyboard? Touching does not work for me when kismet is running and I can’t turn of the server startup message. Also is it possible to quit tools like htop and kismet from the touch screen?
    Original author: Furiuz

Viewing 25 posts - 676 through 700 (of 705 total)