Harold Finch Posted February 2, 2018 Share Posted February 2, 2018 (edited) Hi. I connected with Putty. OS is Debian. and I want to update it and I want to install android -tools-adb android-tools-fastboot. But I cant. Cause, happening some errors. I changed sources list. But same error. What's problem? Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Irukandji Posted February 2, 2018 Share Posted February 2, 2018 (edited) You need to share your Internet connection with your bunny. From Bash Bunny Documentation https://www.hak5.org/gear/bash-bunny/docs ``Sharing an Internet connection from Windows. Configure a payload.txt for ATTACKMODE RNDIS_ETHERNET Boot Bash Bunny from RNDIS_ETHERNET configured payload on the host Windows PC Open Control Panel > Network Connections (Start > Run > “ncpa.cpl” > Enter) Identify Bash Bunny interface. Device name: “USB Ethernet/RNDIS Gadget” Right-click Internet interface (e.g. Wi-Fi) and click Properties. From the Sharing tab, check “Allow other network users to connect through this computer’s Internet connection”, select the Bash Bunny from the Home networking connection list (e.g. Ethernet 2) and click OK. Right-click Bash Bunny interface (e.g. Ethenet 2) and click Properties. Select TCP/IPv4 and click Properties. Set the IP address to 172.16.64.64. Leave Subnet mask as 255.255.255.0 and click OK on both properties windows. Internet Connection Sharing is complete `` Edited February 2, 2018 by Jtyle6 Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 2, 2018 Author Share Posted February 2, 2018 (edited) I did it (on switch 1 mode). And then, I plugged out it, swtiched mode to Armed Mode and plugged in for connecting with Putty. Connected and I logged in with default login and password. But, the same problem continues... :/ I cant update OS. Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 3, 2018 Author Share Posted February 3, 2018 who can help me??? Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 3, 2018 Share Posted February 3, 2018 9 minutes ago, Harold Finch said: who can help me??? Have you tried re-reading the documentation https://www.hak5.org/gear/bash-bunny/docs scroll down to Internet connection section, extend the part for your OS and follow instructions. Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 3, 2018 Author Share Posted February 3, 2018 1 minute ago, Just_a_User said: Have you tried re-reading the documentation https://www.hak5.org/gear/bash-bunny/docs scroll down to Internet connection section, extend the part for your OS and follow instructions. I did it (on switch 1 mode). And then, I plugged out it, swtiched mode to Armed Mode and plugged in for connecting with Putty. I connected and logged in with default login and password. But, the same problem continues... Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 3, 2018 Share Posted February 3, 2018 1 minute ago, Harold Finch said: But, the same problem continues... Are you sure you read and understood the instructions? :) For debian it suggests using the bb.sh script. You haven't mentioned using that in your posts. Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 3, 2018 Author Share Posted February 3, 2018 2 minutes ago, Just_a_User said: Are you sure you read and understood the instructions? :) For debian it suggests using the bb.sh script. You haven't mentioned using that in your posts. I cant download anything. there is an error happening Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 3, 2018 Share Posted February 3, 2018 7 minutes ago, Harold Finch said: I cant download anything. there is an error happening Why do you need to download the script to the bacshbunny? Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 9 hours ago, Just_a_User said: Why do you need to download the script to the bacshbunny? for android hacking. I want to download android-adb-tools to bashbunny. But, I cant connect debian to internet in putty. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 (edited) 45 minutes ago, Harold Finch said: for android hacking. I want to download android-adb-tools to bashbunny. But, I cant connect debian to internet in putty. :) I understand what you want to do once you have Internet access on the bashbunny. To do that you need to set up Internet connection sharing. Let me break it down for you: - 1.Connect Debian PC to Internet using wifi or Ethernet. 2. Download the bb.sh script (on your Debian box) and run it following the on screen instructions 3. when instructed plug in the bashbunny, then click connect option 4. ssh t obunny and check it has internet access. then apt-get install adb etc... Unless your using windows???? Edited February 4, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 4 minutes ago, Just_a_User said: :) I understand what you want to do once you have Internet access on the bashbunny. To do that you need to set up Internet connection sharing. Let me break it down for you: - 1.Connect Debian PC to Internet using wifi or Ethernet. 2. Download the bb.sh script (on your Debian box) and run it following the on screen instructions 3. when instructed plug in the bashbunny, then click connect option 4. ssh t obunny and check it has internet access. then apt-get install adb etc... Unless your using windows???? I'm using Windows, now. On arming mode, I can open debian (in putty). But, in this mode, I cant share internet to bashbunny.. For sharing the internet, I must to change mode to switch mode. Then I can configure and share internet vs bash bunny.... But now I cant to connect bash bunny vs putty. Cause in this mode I cant see port number. Can you do it vs team viewer on my computer? Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 (edited) 12 minutes ago, Harold Finch said: Can you do it vs team viewer on my computer? i don't recommend doing that with people you dont know. :) 12 minutes ago, Harold Finch said: I'm using Windows, now. On arming mode, I can open debian (in putty). But, in this mode, I cant share internet to bashbunny.. For sharing the internet, I must to change mode to switch mode. Then I can configure and share internet vs bash bunny.... But now I cant to connect bash bunny vs putty. Cause in this mode I cant see port number. Aare you saying when the bashbunny is in rndis ethernet mode your windows machine does not detec the bashbunny as a network interface? If it detects the bashbunny as a network interface you need to setup internet connection shareing to it - following the (windows) instructions you have been given or the wiki. If the device isnt not showing up in windows as a network adapter check your payload is using rndis ethernet mode, then see if there is an unknown device in device manager, if so delete it and try plugging it in again so windows correctly installs the driiver again. Edited February 4, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 (edited) On 2/4/2018 at 1:10 PM, Just_a_User said: i don't recommend doing that with people you dont know. :) Aare you saying when the bashbunny is in rndis ethernet mode your windows machine does not detec the bashbunny as a network interface? If it detects the bashbunny as a network interface you need to setup internet connection shareing to it - following the (windows) instructions you have been given or the wiki. If the device isnt not showing up in windows as a network adapter check your payload is using rndis ethernet mode, then see if there is an unknown device in device manager, if so delete it and try plugging it in again so windows correctly installs the driiver again. The bashbunny in switch mode 1... Internet sharing is OK. But, there is no any port for connect vs putty to bash bunny.. Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 OK it seems your perhaps confused with serial and ssh access, both can be done with putty i believe. When in arming mode you usually use serial access to a com port - with ssh you set up a different session to the bashbunny using its ip address and port 22. Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 (edited) On 2/4/2018 at 1:24 PM, Just_a_User said: OK it seems your perhaps confused with serial and ssh access, both can be done with putty i believe. When in arming mode you usually use serial access to a com port - with ssh you set up a different session to the bashbunny using its ip address and port 22. its switch mode 1. (payload RNDIS) 172.16.64.10 Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 (edited) 13 minutes ago, Harold Finch said: its switch mode 1. (payload RNDIS) Thats the IP given to your windows machine, not he bashbunny itself. The bashbuny is on 172.16.64.1 Edited February 4, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 (edited) On 2/4/2018 at 1:54 PM, Just_a_User said: Thats the IP givin to your windows machine, not he bashbunny itself. The bashbuny is on 172.16.42.1 Thank you very much. Its worked (ssh connection)... but, why internet connection is gone, i dont understant. Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 Your mobile broadband connection says not shared... maybe you need to set up internet connection sharing on your windows machine again? Windows is a PITA sometimes, use Linux ;) Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 (edited) why it cant connect to the server? Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 4, 2018 Author Share Posted February 4, 2018 (edited) Same problem with other network. I'll try it in Kali. Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 4, 2018 Share Posted February 4, 2018 Pretty sure its a windows issue, its always causing shenanigans :) Maybe try disconnecting/reconnecting bashbunny, pray to the windows gods, check the weather, throw spices over your left shoulder & last resort, sacrifice a chicken! Looks like the bunny itself is fine and working. Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 5, 2018 Author Share Posted February 5, 2018 (edited) Why connection is not established ? I configured default gateway ip adress to 172.16.64.1 . And shared internet connection from wlan0 to BashBunny at eth1 through default gateway 172.16.64.1 BUT connection is not established... Edited February 5, 2018 by Harold Finch Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted February 5, 2018 Share Posted February 5, 2018 48 minutes ago, Harold Finch said: Why connection is not established ? did you run the script and hit hit "C" to connect? Quote Link to comment Share on other sites More sharing options...
Harold Finch Posted February 5, 2018 Author Share Posted February 5, 2018 3 minutes ago, Just_a_User said: did you run the script and hit hit "C" to connect? of course. maybe cause is openssh.. or I configured wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.