Jump to content

taiyed14

Active Members
  • Posts

    252
  • Joined

  • Last visited

Posts posted by taiyed14

  1. Right, I understand that.. I was looking for a program that organizes all of the captured data into a nice little browser interface or something. Like a tab for email captures, a tab for IM captures, a tab for websites visited, etc.

    Like I said, I know I could write something myself, I just figured there was something out there already. I know there are commercial solutions to do just that already.

    try Xplico.

  2. I wrote up a quick guide to configuring OpenWRT (the platform for Jasager) from the command line and thought I would share it here. It is available at http://alex.hrck.net/?p=64

    OpenWRT comes with a program called uci, or Unified Configuration Interface. This utility allows you to temporary or permanently modify the system configuration files in the /etc/config/ directory. Also allows for easy scripting.

    The syntax is broken into three parts. The first two are mandatory with the [arguments] field being optional depending on the [option]

    uci options commands arguments

    [commands] is also broken down into three parts: file.section.option. Section can be called by their name, such as lan, wan as in /etc/config/network or wifi0 in /etc/config/wireless. Sections that do not have names can be called their position in the array of sections. An example of this is wireless.@wifi-iface[0].ssid

    To view a configuration file such as /etc/config/network:

    uci export network

    Making or adding a new value to a section, in this case the default gatway, is easy as typing:

    uci set network.lan.gateway=10.168.1.1
    OR
    uci set network.@interface[1].gateway=10.168.1.1

    To add and delete options use uci add or uci delete:

    uci delete wireless.@wifi-iface[0].encryption

    It is also possible to set DHCP options, such as the gateway or DNS servers to push to clients. Refer to this website to find the DHCP option codes.

    uci add_list network.lan.dhcp_option="3,10.168.1.1"

    When done making changes you must run:

    uci commit [configuration]
    example: uci commit network

    It is possible to change the behavior of startup services.

    root@OpenWRT:~#/etc/init.d/network
    Syntax /etc/init.d/network [command]
    Available commands:
    start Start the service
    stop Stop the service
    restart Restart the service
    reload Reload configuration files (or restart if that fails)
    enable Enable service autostart
    disable Disable service autostart

  3. i don't understand what you mean when you say 'it doesn't work'. what doesn't work? sslstrip or arpspoof?

    192.168.0.5 is the computer you want to trick

    192.168.0.1 is the gateway you want to impersonate

    what is the MAC address of the gateway and of the computer you're running arpspoof on?

    Now check the target computer. What does it THINK the MAC address of the gateway is?

    arp -a

  4. So can you just clarify for me: does this HOWTO not work with the Fonera+? Or have I misunderstood this? And, if it doesn't work with the Fonera+: can someone point me in the right direction for a HOWTO that will work?

    Yes this WILL work with a Fon+ (i have the Fon+). The difference between the Fon and Fon+ is an extra Ethernet port.

    @echoblack. We dont need to ask the user for their MAC, there is no need for a DHCP reservation. The pineapple.sh changes their eth0 to a static address. BTW, do you have a Fon or Fon+? I see some potential issues...

    @echoblack. I don't know if there is such a thing as "Classes" with bash.. I know you can do functions, but you would be better off executing a script from within the script.

    #!/bin/bash

    echo "Running"

    ./somthing.sh

    and if you want to rewrite all this in Python, be my guest... my Python skills are being developed.

  5. Couple of things.

    The script is reporting that I don't have python twisted lib installed because the im.py file lives in /usr/lib/python2.6/dist-packages/twisted/im.py. Running Ubuntu 9.10.

    also getting [: to many arguments error on lines 451 and 493

    echo "SSL is $SSL" # I added for debugging

    if [ $Ssl == "Y" -o $Ssl == "y" -o $Ssl == "yes" ]; then

    edit: the error on lines 451 and 493 are because SSL var is empty.

  6. looking forward to seeing your /etc/config/network and /etc/config/wireless settings.

    I'm thinking that Webif simply configures those files.

    You're right Darren, Webif does configure these files. You can also edit them with vi/vim or make changes with uci from the command line.

    root@fonz1:~# cat /etc/config/network 
    
    config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'
    
    config 'interface' 'lan'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ipaddr' '10.168.1.254'
        option 'netmask' '255.255.255.0'
        option 'ifname' 'eth0.0'
        option 'gateway' '10.168.1.1'
    
    config 'interface' 'wan'
        option 'ifname' 'eth0.1'
        option 'proto' 'dhcp'

    root@fonz1:~# cat /etc/config/wireless 
    # Copyright (C) 2006 OpenWrt.org
    
    config wifi-device wifi0
        option type atheros
        option channel auto
    
    config wifi-iface
        option device wifi0
        option network lan
        option mode ap
        option ssid private
        option encryption none

  7. @echoblack I haven't had much time to work on the development with you. I'll write something up later, but i would do and IF statement to check if the default route is already set to what it will be set, or you like you said, just delete the default route with the command: route del default.

    what kind of script do you want to run on the pineapple? you shouldn't need to configure anything.

  8. $ man arpspoof

    SYNOPSIS

    arpspoof [-i interface] [-t target] host

    <SNIP>

    OPTIONS

    -i interface

    Specify the interface to use.

    -t target

    Specify a particular host to ARP poison (if not specified, all

    hosts on the LAN).

    host Specify the host you wish to intercept packets for (usually the

    local gateway).

×
×
  • Create New...