Jump to content


Photo

Site Survey

Module

This topic has been archived. This means that you cannot reply to this topic.
90 replies to this topic

#1 Whistle Master

Whistle Master
  • Pineapple Moderators
  • Hak5 Ninja

  • PipPipPipPipPipPipPip
  • 765 posts

Posted 18 March 2012 - 02:02 PM

Hi everyone !

I'm currently working on a site survey add-on for our pineapple.

To be able to list APs, you have to switch down / up the wireless interface and to list clients you hate to switch down / up the monitor interface.
Can be done through the interface.

Module is available through module system.

Screenshot

Attached File  Screen Shot 2012-04-01 at 11.43.38 AM.jpg   77.51KB   359 downloads

Edited by Whistle Master, 07 August 2012 - 01:12 AM.

Paypal: Donate Link
Bitcoin: 
1LvG9XXXUeiHPM5Cq1SzV7LoAQ5Pn63LMe


#2 CanadianTaco

CanadianTaco
  • Active Members
  • Hak5 Fan ++

  • PipPipPipPip
  • 67 posts

Posted 18 March 2012 - 03:02 PM

The next step is to be able to launch deauth attacks directly from the GUI, just by clicking either on the AP to deauth all the clients, or just a specific one.


That would be convenient!
Posted ImagePosted ImagePosted ImagePosted Image

#3 velkrosmaak

velkrosmaak
  • Active Members
  • Hak5 Fan ++

  • PipPipPipPip
  • 122 posts

Posted 18 March 2012 - 06:25 PM

this looks great!

#4 Isc

Isc
  • Active Members
  • Hak5 Fan

  • PipPip
  • 19 posts

Posted 18 March 2012 - 06:49 PM

Impressive, great work.

#5 Darren Kitchen

Darren Kitchen
  • Root Admin
  • Hak5 Junkie

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 4,125 posts

Posted 18 March 2012 - 09:47 PM

Dude, this looks wicked. Will you be posting the code? We have the project on github at https://github.com/s...ipineapple/wiki

#6 iamk3

iamk3
  • Active Members
  • Hak5 Zombie

  • PipPipPipPipPip
  • 144 posts

Posted 18 March 2012 - 11:27 PM

Dude, this looks wicked. Will you be posting the code? We have the project on github at https://github.com/s...ipineapple/wiki


+1

This is awesome Whistle Master!
Capitalization is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

iamk3 @ irc.hak5.org #hak5

#7 Whistle Master

Whistle Master
  • Pineapple Moderators
  • Hak5 Ninja

  • PipPipPipPipPipPipPip
  • 765 posts

Posted 19 March 2012 - 06:37 AM

Thanks all!

Of course I will share the code with you guys :)

Can we upload files on the github wiki? I did not find such possibility.

Edited by Whistle Master, 19 March 2012 - 07:00 AM.

Paypal: Donate Link
Bitcoin: 
1LvG9XXXUeiHPM5Cq1SzV7LoAQ5Pn63LMe


#8 Isc

Isc
  • Active Members
  • Hak5 Fan

  • PipPip
  • 19 posts

Posted 19 March 2012 - 06:48 AM

Thanks all!

Of course I will share the code with you guys :)

Can we upload such files on github? I did not find such possibility on the github wiki.


Ask Seb to be added into the repo as a contributor or fork off a branch and commit some changes :) Though this can be daunting if you haven't used Git before (Git, also know as GODDAMN-IT when it refuses to merge :P )

#9 Whistle Master

Whistle Master
  • Pineapple Moderators
  • Hak5 Ninja

  • PipPipPipPipPipPipPip
  • 765 posts

Posted 19 March 2012 - 06:59 AM

I already used github but I was wondering how to separate the code produced by the Hak5 dev team with the one provided by some contributors like me :)

Paypal: Donate Link
Bitcoin: 
1LvG9XXXUeiHPM5Cq1SzV7LoAQ5Pn63LMe


#10 Whistle Master

Whistle Master
  • Pineapple Moderators
  • Hak5 Ninja

  • PipPipPipPipPipPipPip
  • 765 posts

Posted 19 March 2012 - 10:38 AM

Code is available :) See first post.

Paypal: Donate Link
Bitcoin: 
1LvG9XXXUeiHPM5Cq1SzV7LoAQ5Pn63LMe


#11 Sebkinne

Sebkinne
  • Root Admin
  • WiFi Pineapple Developer

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2,818 posts

Posted 19 March 2012 - 12:15 PM

I will make a post later today of a new feature we are adding: modules.

Best,
Sebkinne

#12 DAV

DAV
  • Active Members
  • Hak5 Fan

  • PipPip
  • 30 posts

Posted 19 March 2012 - 12:55 PM

Looks great:) keep it up:)

#13 Whistle Master

Whistle Master
  • Pineapple Moderators
  • Hak5 Ninja

  • PipPipPipPipPipPipPip
  • 765 posts

Posted 19 March 2012 - 02:07 PM

I will make a post later today of a new feature we are adding: modules.

Best,
Sebkinne

Excellent Seb! I'm looking forward to seeing it!

Paypal: Donate Link
Bitcoin: 
1LvG9XXXUeiHPM5Cq1SzV7LoAQ5Pn63LMe


#14 bitmux

bitmux
  • Active Members
  • Hackling

  • Pip
  • 8 posts

Posted 19 March 2012 - 06:43 PM

Just for reference I had to chmod Read capabilities on the site-survey files in order to access them from my browser. chmod go+r site-survey* did the trick for me.
Certifiably uncertified

#15 killuminati

killuminati
  • Active Members
  • Hak5 Fan

  • PipPip
  • 26 posts

Posted 19 March 2012 - 06:45 PM

Awesome addition Whistlemaster! Its great to have people like you contributing to the development! I added your mod to my mark IV and thought id contribute something I found myself. Bearing in mind I know this may come trivia to most but theres noobs on the forum who are close to clueless such as myself. So basically what ive done is ive added your mod to the navigation bar for easier access. Worked it out with a little common sense. But to be honest I was blown away at learning just how limitless this whole thing is and the ability to really configure your pineapple to how YOU want it. So guys heres my first 2 cents to this forum and I hope it helps someone out there.

Using whistlemasters post I scp'd the files into the pineapple using a linux distro (mine was backtrack 5). I confirmed the files were there by using winscp tool. Withing the same /www folder I located the navbar.php file and clicked edit. From there I made a copy of one of the sections of code (You will see breaks in each section heading if you look back to the 172.16.42.1/pineapple page. "I.e status, configuration etc..." from there I just looked for the php within your newly pasted code and edited to site_survey.php. A little down the code you will see another heading which you can rename to actually what ever you want but for easier names sake I labelled mine Site Survey.

I saved the file and exited. I rebooted my pineapple but I think you dont need to and its already there automatically. And done! It was actually that easy... Ive done some screen shots below to show the sequence etc... I hope this helps some beginners out there and this is only just the beginning! I think once a basic grasp of how it "works" is obtained then the skies the limit really.

Still want to learn how to configure individual sections like I saw in Darrens mark 3 episode from the baltic where he had a seperate section for ngrep etc... and also having more logs showing on the status page ui such as arp, urlsnarf etc... I know you guys are working hard at getting this done but im sure theres many of us out there leaning to towards learning the method to getting this done so we can implement it ourselves. Well im out for now! Its 1am and ive been on my mark iv for far too many hours! Again! lol Hope its not a re-post and happy hacking!

Attached File  Nav Bar Edit.png   82.42KB   171 downloads Attached File  Site Survey addition.png   181.12KB   220 downloads Attached File  Site Survey Page.png   225.73KB   190 downloads
[size="7"][/size -= If I had 8 hours to chop down a tree, I'd spend 6 sharpening my axe=-

#16 RebelCork

RebelCork
  • Active Members
  • Hak5 Fan ++

  • PipPipPipPip
  • 122 posts

Posted 19 March 2012 - 06:50 PM

Issue: to be able to run the survey, you have to switch down / up the wlan0 interface and then stop / start airmon-ng on monitor interface... Can be done through the interface.

Tested with MK3 & MK4.

Noob question (sorry!)
Which monitor interface does it use, as there is the wlan.mon0 monitor interface, but isn't that used for karma.
Does this also break karma, as when I try it, I can't get an AP ?

I'm running 1.02, MKIV.
BTW, I've tweaked my navbar.php to include site_survey.php as a menu option.

Thanks again

**Edit **
killuminati just beat me to it :)
**Edit**
I've just answered my own question
I just restarted wlan0 and I could perform deauths and still have karma running.

Attached Files


Edited by RebelCork, 20 March 2012 - 03:50 PM.



Evil: When I have the map, I will be free, and the world will be different, because I have understanding.
Robert: Uh, understanding of what, Master?
Evil: Digital watches. And soon I shall have understanding of video cassette recorders and car telephones. And when I have understanding of them, I shall have understanding of computers. And when I have understanding of computers, I shall be the Supreme Being!


#17 killuminati

killuminati
  • Active Members
  • Hak5 Fan

  • PipPip
  • 26 posts

Posted 19 March 2012 - 07:51 PM

Noob question (sorry!)
Which monitor interface does it use, as there is the wlan.mon0 monitor interface, but isn't that used for karma.
Does this also break karma, as when I try it, I can't get an AP ?

I'm running 1.02, MKIV.
BTW, I've tweaked my navbar.php to include site_survey.php as a menu option.

Thanks again

**Edit **
killuminati just beat me to it :)


Sorry for stealing your thunder... ;p Dont worry ill be asking you questions soon enough! lol
[size="7"][/size -= If I had 8 hours to chop down a tree, I'd spend 6 sharpening my axe=-

#18 hfam

hfam
  • Active Members
  • Hak5 Pirate

  • PipPipPipPipPipPip
  • 381 posts

Posted 20 March 2012 - 02:17 AM

Nice work WM!!

Damn Ive been soooo busy at work lately, I cant wait to get some time on my MK4 again!!

The forum community has been very busy lately too, LOTS of really sweet contributions and info these past few weeks!

Darren, seb, robin and crew have really hit the mark on all points with this platform and the community contribution factor on the MK4 is gonna be off the charts!l

#19 bl4ckz3r0

bl4ckz3r0
  • Active Members
  • Newbie

  • 4 posts

Posted 22 March 2012 - 05:23 AM

Excellent idea. Will you add this in the official firmware update?

#20 Sebkinne

Sebkinne
  • Root Admin
  • WiFi Pineapple Developer

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2,818 posts

Posted 22 March 2012 - 05:47 AM

bl4ckz3r0,

It will not be built right into the firmware but be available as an approved module (It already is ;) )
We are just testing the module system. If it all works properly then a release will soon follow.

Best,
Sebkinne