Jump to content

i8igmac

Dedicated Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by i8igmac

  1. Ok, ill show what i have so far...

    first on my droid phone ill start up mobile hot spot.

    Now power up the pi, it will auto connect to my phone's wifi access point, i then can ssh into the pi from my droid phone ,-)

    my pi has a /etc/rc.local script below that starts up some airbase-ng -P (karma like kungfu)

    my pi is now ready to go mobile, fake ap stuff here... ready to sniff or inject. . . what ever my heart desiers

    apt-get install dnsmasq

    apt-get install wicd

    wicd-curses (i had to start up from a terminal wicd and chose connection with my droid phone this then configured the config files for saved networks... ifpluged is the default service doing network stuff and is CRAP. stop the service and restart wicd)

    Save this ruby script as wifi_up.rb

    change the device="wlan0" to your current working device that suports monitormode... also Note the full path to airbase executable may need changed

    device="wlan0" #wireless
    
    for i in 0..1000
    	if not `iwconfig`.include?(device)
    		puts "#{device} was not found"
    		sleep 3
    		redo
    	end
    
    system("service networking stop")
    system("iwconfig wlan0 essid SCH-bigmac")
    system("dhclient wlan0")
    system("iptables --flush && iptables --table nat --flush && iptables --delete-chain && iptables --table nat --delete-chain")
    system("iptables --table nat --append POSTROUTING --out-interface #{device} -j MASQUERADE")
    system("iptables --append FORWARD --in-interface at0 -j ACCEPT")
    system("echo 1 > /proc/sys/net/ipv4/ip_forward")
    system("/usr/local/sbin/airmon-ng start #{device}")
    system("/usr/local/sbin/airbase-ng mon0 -P -C 60 -c 6 >> airbase_log &")
    sleep 6
    system("echo 'dhcp-range=192.168.96.50,192.168.96.150,12h' > /etc/dnsmasq.conf")
    system("ifconfig at0 192.168.96.1 up")
    system("pkill dnsmasq")
    system("dnsmasq")
    
    exit
    end
    

    nano /etc/rc.local

    add a new line to your start up script

    su - root -c "bash /root/.bash/reverse-vnc > /dev/null 2>&1 &"
    bash /root/.bash/reverse-netcat > /dev/null 2>&1 &
    ruby /root/projects/wifi_up/wifi_up.rb
    

    with a proper power supply and mobile hotspot running on my droid phone, i just power the device on and its like a raspberry pi reverse connect to my droid ,-)

    i need to make some fixes but the idea is there...

  2. has nay one had problems with raspbian connecting to a open wifi access point...

    iwconfig wlan0 essid "open_ap"

    dhclient wlan0 (hangs for a while and does nothing)

    i feel super frustrated... this one step away from going mobile

    i got my phone on wifi teathering.. open access point

  3. I have just done this the other day for trying to catch a thief on camera.

    apt-get install motion.

    /etc/motion.conf Will have loads of options, set your video device to /dev/video#... you may also have to change a few ports the services will run on default 8080, 8081... you xdont want port conflicts with pineapple services...

    The cam will detect motion and start recording... I did not catch a thief but when I was at work I did see some Christian teenagers walk up to my door...

    to discover the correct device. ls /dev/video*

    Then plug in the device and run the command again... should see some results...

  4. mine booted fine. BUT I think this image is missing somebasic bBluetooth stuff, because my wireless keyboard don't work... I am sitting at the login with no working keyboard.

    So I thought I could mount the sd card on my labtop and setup a rc script for netcat... any ideas here I think chmod/file permission will prevent this from working?

  5. I would like to see what tone has planned...

    My plans are all about startup scripts.

    Airbase foo. If wlan0 exist; broadcast some stuff. sniff some stuff. inject meterpreter. Ssl decrypt still need some poc. Maybe some beef.

    ill try to keep my scripts clean so ill share them here

  6. My quad-core A9 Odroid U2 draws about 6 watts when all 4 cores are loaded to the max. Eat your heart out, Intel.

    I'm looking to spend 40-50$

    I checked kali forum and the devs are working on bugs for pi b+...

    Would u avoid arm?

    512ram maybe be painful...

    Always looking for more bang for the buck...

  7. in a few days now I will commit, spend the money and receive a device.

    Raspberry pi b+ seems to be the way to go. I wish it had a built in wifi. any advice here? Other products to browse?

    at the moment its purpose would be a little pentest machine.

    my fear is that I will receive the device, install kali and run into nothing but problems. Everything should work out of the box?

    plugin a alfa card and I will be up and running?

  8. I have deploy linux root superuser. Fresh install of kali and apt-get install kali-linux #basics

    I'm interested in the wifi device and Bluetooth device.

    I have rigged up a micro usb cord to power a usb device. I think I did it right... red and black is power, white and green is data... (the 5th pin I'm confused...)

    So from kali. The device has power and data is connected to the phone... iwconfig shows nothing when the alfa card is connected... do I need to do something from the droid os, install aps from googleplay? Or in kali terminal do I need to mount, modprobe? Maybe the 5th pin is not bridged so usb devices are not going to work?

    iwconfig shows onboard device. Monitor mode is not supported and the alfa card does not show up.

    Hciconfig returns nothing...

    anyone have experience?

×
×
  • Create New...