Jump to content

i8igmac

Dedicated Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by i8igmac

  1. Im going to bring this thread back as i now have another problem...

    i want 2 devices to work with dnsmasq to provide dhcp service's

    I currently have my raspberry pi associated with a access point using wlan0... i then have a alfa-r36 wireless router plugged into the pi's eth0 port to act as a hotspot... The script above makes this a working repeater setup (i get awesome speeds with both IN and OUT devices using wireless N) The alfa-r36 is getting serviced dhcp request from the pi...

    But now i would like to plug into the pi another alfa card for playing around... My first test is as follows

    airbase-ng wlan2 -P -C 60 -c 4

    (created a new tap device at0.. karma like access point)

    ifconfig at0 192.168.97.2 up

    iptables --append FORWARD --in-interface at0 -j ACCEPT

    So. at this point my new access point wont provide ip address's to my clients...

    iptables is a bit confusing and maybe this is the problem?

    EDIT.. i have fixed it... the iptables worked above but with a small adjustment to dnsmasq.conf

    interface=eth0
    dhcp-range=192.168.96.50,192.168.96.150,12h
    interface=at0
    dhcp-range=192.168.97.50,192.168.97.150,12h

  2. nvidia-geforce-gtx-980-sli-4-way.jpg

    the prices change constantly... I would not get the best...

    nvidia sli 4way...

    I have always wanted to build one of these...

    maybe you can find some nvidia cards that fit your price range to fill 4slots...

    If your going to follow threw with this... how much cash do you have to spend?

  3. Im sorry. sometimes i do that... my eyes quick scan the forum... what kind of machines are involved? windows-msf? vs exploitable

    on your windows machine type ipconfig,

    on your exploitable type ifconfig

    you should find ip address's that look like

    192.168.1.100

    10.0.0.100

    depending on your vm setup, there are a few ways of setting up the network... you must first see if they can communicate with each other

    your exploitable is running a apache web server im sure, see if your machine can connect to it threw the web browser

    http:// ip of exploit able 10.0.0.100 /

  4. Ill make a suggestion

    install a damn vuln operating system in another vm

    Perform a nmap scan to discover services running .

    Launch some exploits against the services

    The exploits are software version specific...

    You will learn the basics

  5. I feel the setup is as you suggest, one device associated and another is access point...

    I feel its a software issue and openwrt is my next attempt... alfa can't get a successful authentication..

    It seens the configuration is nothing but bash and awk scripting.. witch I feel is ugly to reverse engineer

    Edit... i feel my testing was miss judged, and there may very well be interference floating around per the time of they day i have experienced choppy behavior. with long distance i do find more interference.

    alfa r36: I currently see a steady ping. 20-25ms and about 1.8MBPS... small ping spike during download test

    alfa r36: online game ping 180

    ddwrt : I currently see a steady ping. 15-20ms and about 1.8MBPS... small ping spike during download test

    ddwrt: online game play ping 80

    i do have better performance with ten year old ddwrt... i think this is a software problem... im going to try openwrt

  6. I am trying to setup a alfa-r36 + awus036H repeater...

    http://www.alfa.com.tw/faq_show.php?sn=5

    some basic instructions on the setup...

    So, the awus036H has Associated successfully, but then Deauthentication Request is Received with a user.warn kernel: alg name:CCMP... this is a never ending loop of associated/Deauthentication

    this makes me think its a wpa_supplicant config error, CCMP would be a encryption type (i guess)

    i have logged in to the router threw nc ip:23 to see if i can make changes to the config but i fail to restart the services properly...

    After a fresh reset and configure with the instructions above, here is the wpa.conf generated from the web gui

    cat wpa.conf
    ctrl_interface=/var/run/wpa_supplicant
    driver_param="field=wext"
    ap_scan=2
    network={
    scan_ssid=1
    ssid="boisture"
    bssid=68:7F:74:4F:4A:9F
    key_mgmt=WPA-PSK
    mode=0
    proto=WPA
    psk="mustang68"
    }
    network={
    disabled=1
    id_str="localAP1"
    scan_ssid=1
    ssid="11N 3G Router_AP"
    bssid=00:C0:CA:83:82:A2  
    key_mgmt=NONE
    }
    

    And here is the loop found in the logs

    Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
    Jan  1 00:24:35 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Linking with 'boisture':
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Authenticating.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Associating.
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: ieee80211: Associated successfully
    Jan  1 00:24:36 11N_3G_USB_Router user.info kernel: rtl8187L: Link Change: IEEE80211_LINKED (B/G-Mode)
    Jan  1 00:24:37 11N_3G_USB_Router user.warn kernel: alg name:CCMP
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Deauthentication Request Received. Disassociating.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Scanning for all networks.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Stopping active scanning.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol stopped.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Linking with 'boisture':
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Protocol started.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Authenticating.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Associating.
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: ieee80211: Associated successfully
    Jan  1 00:24:45 11N_3G_USB_Router user.info kernel: rtl8187L: Link Change: IEEE80211_LINKED (B/G-Mode)
    Jan  1 00:24:46 11N_3G_USB_Router user.warn kernel: alg name:CCMP
    

    So, with a linux machine, i can successfully authenticate with this alfa awus036H

    wpa_passphrase boisture mustang68 > /etc/wpa.conf

    network={
            ssid="boisture"
            #psk="mustang68"
            psk=d62f07270325d08af1806943a8418ca6f3840f334edf596c8cfe77dbffac6022
    }
    

    wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa.conf

    dhclient wlan0

    i feel that this is a disagreement with alfa r36 and the access point encryption type

    EDIT... i feel like a big boy, its working. with this new config file.

    ctrl_interface=/var/run/wpa_supplicant
    driver_param="field=wext"
    ap_scan=2
    network={
    scan_ssid=1
    ssid="boisture"
    psk=267b143f9c4f7e21a03359394b8a399c92461e5adc2ae2f472e574ca7de3ca68
    key_mgmt=WPA-PSK
    proto=RSN
    pairwise=CCMP
    group=TKIP
    }
    network={
    disabled=1
    id_str="localAP1"
    scan_ssid=1
    ssid="11N 3G Router_AP"
    bssid=00:C0:CA:83:82:A2  
    key_mgmt=NONE
    }
    
    

    The quality is not what i expected...

    i like to hold a ping with google and watch a consistent 20-30 ms

    then start a bandwidth test with the link below

    http://testmy.net/dl-5004

    instantly i see the ping with google go to 500ms until the link above completes...

  7. iptables --flush
    Iptables --table nat --flush
    iptables --delete-chain
    Iptables --table nat --delete-chain
    iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE

    iptables --append FORWARD --in-interface eth0 -j ACCEPT
    echo 1 > /proc/sys/net/ipv4/ip_forward
    echo 'dhcp-range=192.168.96.50,192.168.96.150,12h' > /etc/dnsmasq.conf
    ifconfig eth0 192.168.96.1 up
    pkill dnsmasq
    dnsmasq

    God i feel stupid lol... this was a post i made months ago... i try to post my working examples here for this reason...

    The above should do the job with a small modification... wlan0 is the out device. At0 can be changed to eth0 for in device...

  8. so, at the moment im waiting on a awus036h to show up in the mail for use with my alfa-r36 to complete the repeter setup...

    i plan on comparing bandwidth upload and download speed test's... (My source access point is a long distance away)

    my current repeter setup.

    ddwrt running on a old linksys router, old and limited on ram etc... i plan on replacing this with alfa-r36 + awus036H (still waiting, not yet tested)....

    So, what i have avalible to me at the moment

    raspberry pi b+ kali installed

    awus036NHA

    alfa-r36

    So, my raspberry pi has the alfa NHA associated with the accesspoint from a long distance... ping google seems strong... now i would like to broadcast a new wifi network with my alfa-r36... i figured i could start up dhcpd and plug r36 into the pi threw ethernet?

    seems that i need help configuring dhcpd... at this point im lost...

    What does work currently, i can plug the alfa-r36 as (bridged ap mode) directly into the ddwrt...

  9. Just curious

    apt-get install aufs-tools

    mount /dev/sdb1 /media/turdsplash/sdb1/
    mount /dev/sdc5 /media/turdsplash/sdc5/
    mount -t aufs -o br=/media/turdsplash/sdc5/=rw:/media/turdsplash/sdb1/=rw -o udba=reval none /var/www/html/movies/

    my rc.local file...

    So, I have mounted 2 hard disk to the same location threw software, what are the the problems you guys can foresee with this kind of setup

    Software vs raid

    edit: updated

  10. Well its just a idea, I have just purchased during black Friday a soundbar with wireless sub...

    I notice this item was a big sale, every one has a big flat screen that is equipped with crap sound. I would say a item like this exists in a majority of homes (wireless speakers)

    So... is this Bluetooth? Long range Bluetooth device is a simple hack...

    Implementation... carwhisperer comes to mind, could record and inject to hands free Bluetooth devices...

    What do u guys think, I'm not so sure this is Bluetooth frequency... could be fun!

  11. im about to loose my mind...

    fresh install of linux mint 17

    apache 2.4.7 (new secure crap)

    php5 install

    echo "<?php echo 'My first PHP script!'; ?>" > /var/www/html/test.php

    curl http://192.168.70.101/test.php

    <?php echo "My first PHP script!"; ?>

    Duh... php code does not execute... oh cool so lets google and find out why... oh new version, much more ecure...

    look at all these configs... lets make new entrys and restart apache to acheave the same resaults...

    what am i missing...

×
×
  • Create New...