-
Posts
16 -
Joined
-
Last visited
-
Days Won
1
Posts posted by nrohsakul
-
-
8 hours ago, kdodge said:
try
$ md5sum pcapfilename
and then again on your windows computerI checked the md5 hashes and there are both the same.
-
I used SiteSurvey and wifite via command line.
@kdodge I try that out in a few hours.
-
Hey guys, I had some problems with the handshakes the nano captures. Whenever I download the handshakes to my Windows machine to crack them with hashcat or aircrack-ng the cap file seems to be corrupted and doesnt work anymore. So my first thought was that there were no handshakes in the cap file. I tried to crack the cap file on the nano itself using aircrack-ng and it worked..
I assume the cap file gets corrupted somewhere in the process of transfering the file to my windows machine. Do you guys have an solution to that ? Maybe some of you experienced the same problem.
-
6 hours ago, Foxtrot said:
"killall -9" isn't a valid command, perhaps you are looking for "kill -9"?
Well why does it work than ? I'm confused, 'killall' works fine everytime the module runs or when I execute it through ssh.
-
Finally got it up and running!
I changed the exec method from:
exec("killall -9 airodump-ng && cp -f /pineapple/api/wardrive-* /pineapple/modules/Wardriver/log/");
to two seperate ones:
exec("killall -9 airodump-ng"); exec("cp -f /pineapple/api/wardrive-* /pineapple/modules/Wardriver/log/");
Thanks a lot for your help newbi3 !
-
Just now, newbi3 said:
Test if your abortScan method is getting called by writing something to a file
How can I test that ?
-
Just tried it out. But still nothing. Not even the logs get moved..
Thanks for your help though. Argh I guess it's something really easy so nobody gets it.
-
1 minute ago, newbi3 said:
You module.php file needs to implement the route() method
Got that already. Sorry that I'd only showed the function to you.
That would be my whole module.php:
<?php namespace pineapple; class Wardriver extends Module { public function route() { switch ($this->request->action) { case 'scanForNetworks': $this->scanForNetworks(); break; case 'abortScan': $this->abortScan(); break; } } private function scanForNetworks() { $this->execBackground("airodump-ng --write wardrive --output-format kismet wlan1mon &> /dev/null "); } private function abortScan() { exec("killall -9 airodump-ng && cp -f /pineapple/api/wardrive-* /pineapple/modules/Wardriver/log/"); } }
-
11 minutes ago, newbi3 said:
Hey nrohsakul,
You can see JS errors in your browsers developer console
https://developer.chrome.com/devtools
https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
And I recommend showing PHP errors
nano /etc/php.ini
press crtl + w and search for "display_errors" and set it to "On"
display_errors = On
then restart nginx
/etc/init.d/nginx restart
Now your developer environment should be all good to go!
Thank you very much newbi3 !
Found the mistake in under a minute with your advice.
Now I'm facing the next problem..
I got this Button:
<button type="button" class="btn btn-sm" ng-show="scanning" ngclick="abortScan()">Stop Scan</button>
$scope.abortScan = (function() { $api.request({ module: 'Wardriver', action: 'abortScan' }); $scope.scanning = false; });
private function abortScan() { exec("killall -9 airodump-ng && mv /pineapple/api/wardrive-01.kismet.csv /pineapple/modules/Wardriver/log/"); }
Which should kill airodump-ng and move the log to the logs dir. But when I press it, nothing happens.
Any Ideas ?
-
Hey guys,
Just started writing my first module for the NANO. I'm quite new to php, html and js. Maybe thats why I encountered some little problems here and there.
The biggest one in the moment is: If I get the module on my NANO and try to open it - nothing happens. I assume I've got a syntax error or something, but just cant find it.
Is there a way to get some output, so I see the error messages that would pop up ?
Or maybe someone of you could help me with my code. Its here on github: https://github.com/nrohsak/TestModule
Thanks in advance
greetings nrohsakul
Evil Portals
in Hacks & Mods
Posted · Edited by nrohsakul
I'm using the templates from the github page (to be specific the facebook-login portal) but the portal doesnt let me authorize. Any help would be greatly appreciated :)