Author Topic: wifiFirmwareLoader  (Read 4222 times)

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #45 on: June 09, 2012, 09:45:24 am »
Using fake authentication packets though one could do a Authentication DoS Like with mdk3.  Possibly maybe.  Bruteforce is definitly possible.   
  Ive been doing everything wireless the past few days. Trying to compile new drivers and use them is also something I am trying to achieve. 

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #46 on: June 13, 2012, 01:50:07 pm »
I just ported SWIG to iOS for help in creating a python wrapper.  Should be on the repo soon,  SWIG that is.  I dont know how to use it yet :p  I think Cython is similar but not really for what I need.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: wifiFirmwareLoader
« Reply #47 on: June 13, 2012, 05:13:55 pm »
Looks interesting and, from what i can tell, easier.

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #48 on: June 13, 2012, 06:57:34 pm »
SWIG is so awesome,  Its as easy as

Code: [Select]
swig -python -module test test.c

It then creates a generated C python extension around the functions in test.c that you can compile and load as a Python module.  Perfect for this!

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #49 on: June 16, 2012, 07:14:19 pm »
ok little harder than I though..  But mainly just learning how to use SWIG.  I have the REAL open source MobileApple80211 frameworks that I can compile nicely into a dynamic library no problem.  But when I try and convert the code into a Python wrapper it complains about the headers not being found.  I have a lot to learn about SWIG  but its alot easier doing it this way than learning how to write it all myself right now.

Don't like seeing ads? Click here to register!

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: wifiFirmwareLoader
« Reply #50 on: June 16, 2012, 07:16:47 pm »
If you send me the dylib I can try to write a wrapper for python.

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #51 on: June 17, 2012, 05:50:58 am »
ok, let me try a little longer then ill send it. 

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #52 on: June 20, 2012, 11:32:16 am »
Well I got it to compile as python module and it imports.  I can get this far


>>>import apple80211
>>>t = apple80211.Apple80211Open(None)
Segmentation fault: 1


Maybe you could look at it c0de,  It might just not be loading the dl correctly. 

I can send it in a little bit,  im kinda busy atm.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: wifiFirmwareLoader
« Reply #53 on: June 20, 2012, 11:34:35 am »
Sure, Ill look at it. Just pm me

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4018
  • Reputation: 217
  • Badges:
Re: wifiFirmwareLoader
« Reply #54 on: June 20, 2012, 11:36:28 am »
I loaded it with types and it worked a bit. Soe issues with the arguments though.

Don't like seeing ads? Click here to register!

BooCocky

  • Leader
  • Hero Member
  • *****
  • Posts: 875
  • Reputation: 81
  • All your base are belong to ininjas
  • Badges:
  • Computers: Dell Inspirion
  • iDevices: ipod shuffle
Re: wifiFirmwareLoader
« Reply #55 on: June 20, 2012, 12:00:32 pm »
I think I got it now maybe actually,  I compiled the dylib normally and then wrapped the header in python.  Then I compiled that linking it with the dylib instead of loading the library in the code itself.  Ill send it all to you anyways but I think it works now.  It says -3900 now instead of Segmentation fault: 1