Jump to content

How to run PineAP from CLI?


Recommended Posts

root@Pineapple:/# pineapple module PineAP
PineAP command line utility
Usage: infusion pineap <option> [arguments]

   start 			 - starts PineAP
   stop 			 - stops PineAP

   dogma [start|stop] 		 - starts / stops Dogma
   responder [start|stop] 	 - starts / stops Beacon Response
   harvester [start|stop] 	 - starts / stops Auto Harvester

   setsource [mac] 		 - set PineAP's source. eg: aa:bb:cc:dd:ee:ff
   settarget [mac] 		 - set PineAP's target. eg: aa:bb:cc:dd:ee:ff

   beaconinterval   [low, normal, fast] 	 - Change Beacon interval
   responseinterval [low, normal, fast] 	 - Change Response interval

   addssid [ssid] 		- Adds SSID to PineAP.
   delssid [ssid] 		- Deletes SSID from PineAP.
   clear_ssids    		- Clears all SSIDs

   deauth [client] [AP] [channel] [multip] - Deauthenticates client from an AP.
                                             Client / AP eg: aa:bb:cc:dd:ee:ff
                                             Channel: 1-14
                                             Multiplier (optional): Integer


Link to comment
Share on other sites

Thanks for the reply :)
This is the error I get when I try to start PineAP or harvester module:-


root@Pineapple:~# pineapple module PineAP start
/bin/sh: /pineapple/modules/PineAP/executable/executablestart: not found

root@Pineapple:~# pineapple module PineAP harvester start
/bin/sh: /pineapple/modules/PineAP/executable/executableharvesterstart: not found

Link to comment
Share on other sites

My mistake - having a poke about myself I found the following to get me somewhere: -

first need monitor mode on a radio

airmon-ng start wlan1

then apparently before starting pineap we need pinejector running

pinejector wlan1mon

then we can run pineap

root@Pineapple:/pineapple/modules/PineAP/executable# pineap
Usage: pineap <channel> <mac_address>
Example: pineap 11 aa:bb:cc:dd:ee:ff

not 100% sure if correct but maybe you could explore further, check out /usr/sbin/ you can find pineap, pinejector and pinesniffer for scans.

Pinesniffer v2.1
Usage: pinesniffer <interface> <duration> <scan type> <log location>
Usage: pinejector <monitor_interface>
Example: pinejector mon0


Edited by Just_a_User
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...