diff --git a/dip_switches.md b/dip_switches.md new file mode 100644 index 0000000..01b8892 --- /dev/null +++ b/dip_switches.md @@ -0,0 +1,21 @@ +# DIP Switches + +## What do the DIP Switches do? + +The new DIP's on the Mark V are available to use as boot modes. These modes can be easily set from the Web UI, and are labeled 1 through 5 from left to right. Switches 1 and 5 and reserved for system use while 2 through 4 are available to set to whatever you want. + +## How do I set the DIP Switches? + +You can set the DIP's via clicking on the 'Configuration' tile in the Web UI, then navigating to the Boot Menu tab. You can then place BASH commands in the textboxes next to the combination of switches you would like to have. After saving these, you can boot your pineapple with the same combination set on the DIP's and expect your entered commands to execute on bootup. + +![](imgs/missing_image.png) + +## What are some examples of this? + +Some examples of what to execute can be found below! Be sure to add your favourite commands to the list! + +| Boot Mode | Command | +|:------------:|:------------:| +| Auto Capture | `ifconfig wlan1 up; airmon-ng start wlan1; airodump-ng --write /sd/airodump.csv --output-format pcap mon0;` | +| Karmasnarf | ```hostapd_cli -p /var/run/hostapd-phy0 karma_enable; urlsnarf -i br-lan > /sd/infusions/urlsnarf/includes/log/output_`date +%s`.log &``` | + diff --git a/imgs/missing_image.png b/imgs/missing_image.png new file mode 100644 index 0000000..cb0ce66 Binary files /dev/null and b/imgs/missing_image.png differ diff --git a/navigation.md b/navigation.md index 173448f..db8754c 100644 --- a/navigation.md +++ b/navigation.md @@ -7,6 +7,10 @@ * [Internet Connection Sharing](ics.md) * [Creating Infusions](creating_infusions.md) * [Serial UART](serial_uart.md) + * [DIP Switches](dip_switches.md) + * [PlaceHolder](guide1.md) + * [PlaceHolder](guide1.md) + * [PlaceHolder](guide1.md) * [PlaceHolder](guide1.md) [Video Tutorials]()