Jump to content

[Firmware >= v1.1] Install Impacket and Responder


LowValueTarget
 Share

Recommended Posts

Please see the official Hak5 tools sticky

 

 

It seems like quite a few folks are having some trouble getting impacket and responder installed since the firmware v1.1 update. Here is a dead simple script that you can run on your BashBunny to install the two most commonly used tools in the currently published payloads.

Steps

  1. Setup your BashBunny to share internet with your host machine, then SSH into the bunny.
  2. Ensure it has an internet connection. I prefer a simple ping to 4.2.2.2
  3. Run the following command
curl -k https://scripts.10ninetysix.com/bb/git_impacket_responder.txt | sh

The content of the script can be viewed below and at the following URL: https://scripts.10ninetysix.com/bb/git_impacket_responder.txt

apt-get update && apt-get install -y git

mkdir -p /tools
export GIT_SSL_NO_VERIFY=1

# Install Responder
git clone https://github.com/lgandx/Responder.git /tools/responder

# Install Impacket
git clone https://github.com/CoreSecurity/impacket.git /tools/impacket
cd /tools/impacket && python ./setup.py install

Note: I believe Sebkinne is creating, or has created .deb files for impacket and responder that will be easily installed by placing them in the USB storage /tools/ folder, however those have yet to be released. I am guessing they will be released with the 1.2 firmware.

Edited by LowValueTarget
Link to comment
Share on other sites

  • 4 weeks later...

Thanks @LowValueTarget

 

If i use the curl command i get there is no such file

root@bunny:~# curl -k https://scripts.10ninetysix.com/bb/git_impacket_responder.txt | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    303      0 --:--:-- --:--:-- --:--:--   303
sh: 1: cannot open html: No such file
sh: 2: Syntax error: redirection unexpected
 

 

I can resolve : 

root@bunny:~# ping scripts.10ninetysix.com
PING finch.10ninetysix.com (45.55.208.70) 56(84) bytes of data.
64 bytes from 45.55.208.70: icmp_seq=1 ttl=50 time=149 ms
64 bytes from 45.55.208.70: icmp_seq=2 ttl=50 time=172 ms
 

 

 

browsing to the page on my Laptop to the bb folder gives me a 403 error , if i try to save the .py file manually i get 404

 

 

Edited by Dice
Link to comment
Share on other sites

47 minutes ago, Dice said:

Thanks @LowValueTarget

 

If i use the curl command i get there is no such file

root@bunny:~# curl -k https://scripts.10ninetysix.com/bb/git_impacket_responder.py | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    303      0 --:--:-- --:--:-- --:--:--   303
sh: 1: cannot open html: No such file
sh: 2: Syntax error: redirection unexpected
 

 

I can resolve : 

root@bunny:~# ping scripts.10ninetysix.com
PING finch.10ninetysix.com (45.55.208.70) 56(84) bytes of data.
64 bytes from 45.55.208.70: icmp_seq=1 ttl=50 time=149 ms
64 bytes from 45.55.208.70: icmp_seq=2 ttl=50 time=172 ms
 

 

 

browsing to the page on my Laptop to the bb folder gives me a 403 error , if i try to save the .py file manually i get 404

 

 

My mistake -- the extension is .txt -- edited the original post.

Link to comment
Share on other sites

48 minutes ago, Dice said:

Is there another way to install these tools i am unaware of ?

TIA

./Dice

You could always clone the git repos on your local device, copy them to the /tools folder on the BB USB storage, and plug the device into power in arming mode. This will copy all the files from /tools on usb storage to /tools on the BB system partition. If you wanted to complete the install, you could ssh/screen into the bunny and run the ./setup.py from the CLI.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

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

Guest
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.

 Share

  • Recently Browsing   0 members

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