NightStalker Posted March 6, 2017 Share Posted March 6, 2017 Hello all, With MAC's (and Linux) you have to know the device of course to serial into it. To make it quicker for me I wrote the below script to search the MAC for the bash bunny (If you have multiple modems this may not work for you) and prompt you to connect to it. Feel free to use and modify as desired. #!/bin/bash # # Title: Mac Serial Connect # Author: NightStalker # Version: 1.0 # # Finds the Bash Bunny in the /dev/cu.* location and # prompt you to connect to it. clear bunnyloc=`ls /dev/cu.* | grep usbmodem` echo "Bash bunny is located at: $bunnyloc" read -r -p "Would you like to connect to it? (Y/N): " connanswer echo $connanswer if [ "$connanswer" == "N" -o "$connanswer" == "n" ] then exit 0 elif [ "$connanswer" == "Y" -o "$connanswer" == "y" ] then screen $bunnyloc 115200 fi Link to comment Share on other sites More sharing options...
nativel0rd Posted March 7, 2017 Share Posted March 7, 2017 Excellent. Thank you for this. Link to comment Share on other sites More sharing options...
MacVille Posted March 7, 2017 Share Posted March 7, 2017 Thanks a lot, nice script. Link to comment Share on other sites More sharing options...
NightStalker Posted March 8, 2017 Author Share Posted March 8, 2017 My pleasure, just trying to make it a bit easier :) Link to comment Share on other sites More sharing options...
b0N3z Posted March 8, 2017 Share Posted March 8, 2017 This is awesome. thank you Link to comment Share on other sites More sharing options...
NightStalker Posted March 8, 2017 Author Share Posted March 8, 2017 Thank you :) Link to comment Share on other sites More sharing options...
Laststand Posted March 8, 2017 Share Posted March 8, 2017 Thank you! Very useful! Link to comment Share on other sites More sharing options...
M@s0n Posted March 8, 2017 Share Posted March 8, 2017 Awesome !!!! Thanks, next we need to add share internet to bashbunny on Mac. Link to comment Share on other sites More sharing options...
fin Posted March 9, 2017 Share Posted March 9, 2017 5 hours ago, Julio Gonzalez said: Awesome !!!! Thanks, next we need to add share internet to bashbunny on Mac. aye Link to comment Share on other sites More sharing options...
Torrey Posted March 9, 2017 Share Posted March 9, 2017 7 minutes ago, fin said: aye Already been done here. -> Mac OS X - How to Share Your Internet Connection Link to comment Share on other sites More sharing options...
anode Posted March 11, 2017 Share Posted March 11, 2017 CoolTerm works too. Link to comment Share on other sites More sharing options...
NightStalker Posted February 9, 2018 Author Share Posted February 9, 2018 Wow @Darren Kitchen, what an honor to be featured on your show (https://www.youtube.com/watch?v=4B74ig3R9BE&) for such a simple contribution to the community. I am extatic that this script helped people. Thank you so much for being a great host, show and community for enthusiasts like us. Link to comment Share on other sites More sharing options...
TecTom2003 Posted April 1, 2018 Share Posted April 1, 2018 I'm sorry. I'm completely new to the Bash Bunny, what does this payload do? Sorry again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.