Active Topics

 


Reply
Thread Tools
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#61
Why you want leave this package without dependencies ?
i did answered before you ask :P

i will only add these 2 deps.

kernel-feature-packet-injection, aircrack-ng
thanks for your interest
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following 2 Users Say Thank You to sifo For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#62
Originally Posted by Nobless View Post
You can add one of these if you want

1. kernel-feature-wlan-monitor, kernel-feature-packet-injection, aircrack-ng

2. kernel-power-flasher | kernel-power-bootimg | kernel-cssu-flasher | kernel-cssu-bootimg, aircrack-ng

[...]

But both cases do the trick
Wrong, what if at some point we will have another kernel package which will provide kernel-feature-wlan-monitor and kernel-feature-packet-injection? e.g. stock-kernel-with-packet-injection or something like that? The first option would still work, the second wouldn't.

Originally Posted by sifo View Post
i will only add these 2 deps.

thanks for your interest
That's great to hear, sifo. Great work!
 

The Following 3 Users Say Thank You to misiak For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#63
Originally Posted by misiak View Post
Wrong, what if at some point we will have another kernel package which will provide kernel-feature-wlan-monitor and kernel-feature-packet-injection? e.g. stock-kernel-with-packet-injection or something like that? The first option would still work, the second wouldn't.
I thinked about that. Thats why I writed before your post I choosed the first one, just not explained as I feeled very asleep

Originally Posted by Nobless View Post
I choose the first if it would be my choise.




Originally Posted by sifo View Post
i will only add these 2 deps.
This script requires also kernel-feature-wlan-monitor


Originally Posted by sifo View Post
thanks for your interest
you welcome


also now you need change location of bleeding edge drivers in script to somewhere /opt/packet-injection-modules/2.6.28.10-power51

read more about it from misiak post http://talk.maemo.org/showpost.php?p...2&postcount=71
Attached Images
 

Last edited by Nobless; 2012-08-05 at 17:34.
 

The Following 4 Users Say Thank You to Nobless For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#64
Idk what this script does with monitormode but it FAILS hard! Couldn't understand where it goes south: When I put my wlan0 into monitor mode, check with airodump-ng: working

Then I run this script and I get the well known can't open *.csv
note: "*" can be changed inside the script, just like driver location and save location and some other variables

Code:
Scaning in progres... Please wait...

The following networks are available. Please note:
- Power field indicates signal level, the closer to 0 the better
- associated clent is required to crack WPA/WPA2, 'wordlist.txt' file is used for 
dictionary attack
cat: can't open 'scan-01.csv': No such file or directory
Enter number of the network to crack or '0' to rescan: ^C
Then I immediately run
Code:
sudo airodump-ng wlan0
Interface wlan0: 
ioctl(SIOCGIFINDEX) failed: No such device
DAFUQ, it made my wlan0 go south (or heaven) :O

It's not listed anymore in ifconfig & iwconfig too

Code:
sudo ifconfig wlan0
ifconfig: wlan0: error fetching interface information: Device not found
Need to use load.sh /unload.sh/insmod "wifimodules" again to make it re-appear.

This explains why no networks are listen and the error can't open *.csv

Simply because it fails to "see" wlan0 and can't dump the network list. (airodump-ng is used save the *.csv)

Code:
sudo airodump-ng -w $scanprefix --output-format csv $nic >>/dev/null 2>&1 &
Where $nic is defined as variable: wlan0

So tell me where it goes south as it looks normal but doesn't behave normal.
I tested all possible scenario's eg. busybox/bash, wlan0/mon0. This script just wouldn't run the way I wanted it to run.
Just my investigations, hope someone might fix this script for good.

Going back to wifite, beats all aircrack GUIs so far!
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following User Says Thank You to mr_pingu For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#65
Originally Posted by sifo View Post
[Off-topic]AFAIK, the only problem is loading the injection drivers which can easly be fixed using a script[/Off-topic]
It's not a simple thing of loading injection driver before or editing the script.

I placed all modules + load.sh script in /home/user/MyDocs/wifidrivers/ and edited the script accordingly. I am not stupid. So saying it's just a problem with loading injection drivers is just too easy. If you read my previous post carefully you would know that this wasn't the "real" problem.

My edited script accordingly
Code:
#directories and variables
crackdir="/home/user/MyDocs/n900crack/"
driverdir="/home/user/MyDocs/wifidrivers/"
scantime=20
nic="mon0"
scanprefix="scan"
scanfile=$scanprefix"-01.csv"
networklist=networks.txt

#load injection drivers
cd $driverdir
sudo sh load.sh >>/dev/null 2>&1

#change directory to crackdir
cd $crackdir
oh and if you wonder: I tried loading driver beforehand and then edited the script to a false folder so I wouldn't reload. Didn't work either. Like I said, I tried *everything* to fix.
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate

Last edited by mr_pingu; 2012-08-21 at 05:32.
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#66
.......am not stupid. So saying it's just a problem with loading...........
do you mean.... ?

look, im not sure what is going on south and north with you !
but here how it works for me :
-load the injection drivers from the wlan selector applet
-no need to enable monitor mode before running the script because it will change automatically when the searching is running
-launch the script
-ignore the can not locate the drivers error ( because you loaded them before )
-once you are done, just clos the script and unload using the applet.

this is working 100% with me, if still not working with you, you need to excuse me because i have nothing else to say about this problem
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Posts: 5 | Thanked: 6 times | Joined on Aug 2012
#67
@mr_pingu
You could try to follow the instruction on my website @ http://www.n900crack.yoyo.pl/how%20to%20use.html

Hope this helps.

Please note:
I'm sorry for the annoying adds on my site. Free hosting have to have some drawbacks ;(
You can use ads blocking add-on/plugin for your browser. Does the job for me

Last edited by niervol; 2012-08-23 at 07:30.
 

The Following 2 Users Say Thank You to niervol For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#68
For some strange reason, I downloaded the script again and it's working now. Don't ask me what happened. Sorry for all this
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 2 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#69
Where does it enable monitor mode in this script?
Can't seem to find where monitor is turned on.

If I add this, it works all the time. With the original code it only work when it feels to (not many times)
Code:
#load injection drivers
cd $driverdir
sudo sh load.sh >>/dev/null 2>&1
sleep 3
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
ofcourse airmon-ng start wlan0 could be used, but then you need the change the variable $nic to mon0 instead of wlan0


For other dev's too: Is it possbile to run unload.sh when ^C is received?
This would make the device insta revert to "normal mode" after you forced quit this app

Note: this is just for learning purpose...
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following User Says Thank You to mr_pingu For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#70
i read somewhere that the latest injecion drivers lets you in montor mode right after airodump-ng automatically, also im not sure if this related to any other tool installed.

ok seems you found something useful to add in the script , i will test it and update the version in repos after i check it is fully working.

Thanks

./sifo
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:28.