Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    NeoPwn v2 = BackTrack Mobile!

    Reply
    Page 60 of 79 | Prev | 50   58     59   60   61     62   70 | Next | Last
    one1002 | # 591 | 2010-10-28, 13:14 | Report

    i can't seem to find it on the forum..mind linking it to me? thx

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aureonfirewire | # 592 | 2010-10-28, 14:31 | Report

    here
    https://garage.maemo.org/plugins/wik...id=1382&type=g

    ps . i canot start nmap from chroot ,and he is instaled
    what im typing wrong
    pleace someone respond

    now i have instaled nmap again in neopwn and have same prob

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by aureonfirewire; 2010-10-28 at 17:35.

     
    venomousweb | # 593 | 2010-10-28, 21:09 | Report

    the only way i have managed to do it is the following

    chroot into neopwn
    cd /usr/local/bin/
    ./nmap {command}

    Edit | Forward | Quote | Quick Reply | Thanks

     
    one1002 | # 594 | 2010-10-29, 10:46 | Report

    is there a script to turn on and off the packet injection?

    pls help

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Megaltariak | # 595 | 2010-10-29, 11:06 | Report

    Two scripts that I have rapidly made
    For enable injection (assuming that the modules are in /opt/neopwn/):
    Code:
    #!/bin/sh
    if test -f /var/run/inject.pid
    then echo "Injection is already enabled ;)"
    exit 0
    fi
    if iwconfig wlan0|grep "Access Point: Not-Associated">/dev/null
    then true
    else echo "Disconnect from wifi first :p"
    exit 1
    fi
    ifconfig wlan0 down
    rmmod wl12xx
    rmmod mac80211
    rmmod cfg80211
    cd /opt/neopwn/
    insmod compat.ko
    insmod rfkill_backport.ko
    insmod cfg80211.ko
    insmod mac80211.ko
    insmod wl1251.ko
    insmod wl1251_spi.ko
    iwconfig wlan0 mode monitor
    ifconfig wlan0 up
    echo $$ > /var/run/inject.pid
    echo "Injection is enabled ;)"
    For disable injection:
    Code:
    #!/bin/sh
    if test -f /var/run/inject.pid
    then true
    else echo "Injection is already disabled"
    exit 0
    fi
    ifconfig wlan0 down
    rmmod wl1251_spi
    rmmod wl1251
    rmmod mac80211
    rmmod cfg80211
    rmmod rfkill_backport
    rmmod compat
    modprobe cfg80211
    modprobe mac80211
    modprobe wl12xx
    iwconfig wlan0 mode managed
    ifconfig wlan0 up
    rm /var/run/inject.pid
    echo "Injection disabled ;)"
    Feel free to adapt them for your needs.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Megaltariak For This Useful Post:
    one1002

     
    one1002 | # 596 | 2010-10-29, 14:54 | Report

    thank you!

    however, i have no idea how to save this as shell script..i'm using windows..it'll save as .txt rather than .sh.. =(

    edited : now the modules are in /MyDocs/neo/..where do i save this script?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by one1002; 2010-10-29 at 15:15.

     
    one1002 | # 597 | 2010-10-29, 15:53 | Report

    if i type "chmod +x insneomod.sh" , i got no such file or directory...

    if i type "chmod +x /home/user/MyDocs/insneomod.sh", i got nothing..i think its executable already..

    however,when i type "sh /home/user/MyDocs/insneomod.sh" , i got :line 25: syntax error : end of file unexpected (expecting "fi")

    what seems to be the problem?

    this is my script..i change your "opt/neopwn/" to "/mydocs/neo/" for where the modules are located..

    Code:
    #!/bin/sh
    if test -f /var/run/inject.pid
    then echo "Injection is already enabled ;)"
    exit 0
    fi
    if iwconfig wlan0|grep "Access Point: Not-Associated">/dev/null
    then true
    else echo "Disconnect from wifi first :p"
    exit 1
    fi
    ifconfig wlan0 down
    rmmod wl12xx
    rmmod mac80211
    rmmod cfg80211
    cd /home/user/MyDocs/neo/
    insmod compat.ko
    insmod rfkill_backport.ko
    insmod cfg80211.ko
    insmod mac80211.ko
    insmod wl1251.ko
    insmod wl1251_spi.ko
    iwconfig wlan0 mode monitor
    ifconfig wlan0 up
    echo $$ > /var/run/inject.pid
    echo "Injection is enabled ;)"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by one1002; 2010-10-29 at 15:56.

     
    Megaltariak | # 598 | 2010-10-29, 17:37 | Report

    The script works for me, I think that the problem is the windows editors behavior with the newline character.
    Use vi/vim or leafpad (more user-friendly, install it from application manager) on your N900 to paste and edit the script.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    one1002 | # 599 | 2010-10-29, 18:12 | Report

    yes i did..i use the phone to copy the script, and paste it in leafpad and then saved it to .sh..

    however,when i try to run it...i still got the ":line 25: syntax error : end of file unexpected (expecting "fi"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Megaltariak | # 600 | 2010-10-29, 18:20 | Report

    Seriously, I don't see where it fails, for me it works with vim and leafpad.
    Try to paste again

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Megaltariak For This Useful Post:
    one1002

     
    Page 60 of 79 | Prev | 50   58     59   60   61     62   70 | Next | Last
vBulletin® Version 3.8.8
Normal Logout