Jump to content

theSW4n

Active Members
  • Posts

    6
  • Joined

  • Last visited

theSW4n's Achievements

  1. You're right but I found a more universal method that seems to work on MacOS and the few linux distros I tested (Ubuntu, Manjaro and Kali). QUACK GUI SPACE #Will open a search prompt to search for terminal in MacOS, and does nothing in Linux QUACK GUI #Will open a search prompt in Linux and does nothing in MacOS QUACK STRING "terminal" #Opens a terminal, but we don't know what kind of terminal it opened and it might not be compatible with BashBunny SHIFT presses, so we will attempt to open a few known working terminals if they are installed on the machine QUACK ENTER QUACK DELAY 1500 QUACK STRING "qterminal" #This is the first of many possible known working terminals and we check to see if it's installed QUACK ENTER QUACK DELAY 500 QUACK STRING "n" #In Kali and probably some other Linux distributions, the terminal will prompt you to install the package if it isn't already, to which we say "no". If it's an OS that doesn't prompt to install, like MacOS, this will do no harm. Of course you could say "y" but then you're modifying the host OS which may be undesirable. QUACK ENTER QUACK DELAY 500 QUACK STRING "gnome-terminal" #If qterminal did not launch, perhaps gnome-terminal will be installed. If qterminal did launch, no problem, it will just try to launch gnome-terminal from within it, and so on and so forth as many terminals as you want to try. This way we have the best chances of launching a terminal that BashBunny is compatible with. QUACK ENTER QUACK DELAY 500 QUACK STRING "n" QUACK ENTER QUACK DELAY 500 QUACK STRING "killall qterminal & killall gnome-terminal- & killall Terminal & killall xterm & killall konsole & killall lxterminal & killall urxvt & killall st & killall alacritty & killall xfce4-terminal & killall tilda" #This will close all of the terminals that may have opened once the script is complete QUACK ENTER In my testing, I found the following terminal emulators to be compatible with BashBunny... Terminal (macOS) qterminal gnome-terminal xterm konsole lxterminal urxvt st alacritty xfce4-terminal tilda cool-retro-term
  2. Oh interesting. Thanks for checking that. Do you mind listing which terminals are available in your boxes pls?
  3. True. I believe it’s part of the default install of Ubuntu 22.04 at least. The solution I ended up using actually didn’t use the RUN extension because Kali didn’t like it and/or I didn’t know what my options were and I wanted a universal Linux OS solution. My method was… $ QUACK GUI $ QUACK GUI SPACE $ QUACK STRING “terminal” $ QUACK ENTER $ QUACK STRING “xterm || konsole” $ QUACK ENTER This works in MacOS because the default display server isn’t Wayland, and the other terminal binaries like xterm and konsole just didn’t exist, so the extra command doesn’t hurt anything. Then for Ubuntu it opens a Wayland terminal, but then it will just run through the list of non-Wayland terminals until one exists, since they can be opened without using the shift key, and you’re good to go. List as many terminal emulators as you want that you know will work and hope one is installed. But then if Wayland/Mutter ever is updated to block more than shift presses, my method fails.
  4. Sorry I meant to say, the default desktop environment in Ubuntu 22.04 is GNOME. However I think I figured out the issue. For this specific OS version, GNOME is using the Wayland display server by default, with a Mutter compositor. Wayland/Mutter has some built in security functions designed to help protect against keyboard injection (boo... erm... yay?). The simple solution is to use a terminal emulator like xterm or konsole. In fact, there is a Bash Bunny extension to do this for us! $ RUN UNITY xterm Hope that helps!
  5. It’s something to do with the desktop environment. The default in 22.04 is a modified KDE Plasma desktop environment. When switching to Plasma (X11) or Xorg, shift works as expected. I’ll see if I can isolate the issue for a fix perhaps.
  6. I am experiencing the same thing in Ubuntu 22.04.3 LTS! Everything works fine in MacOS and Kali Linux, but not Ubuntu. Tried multiple computers, USB ports, etc. Same result every time with the shift presses. I have seen some people mention driver support, so I tried a couple different VID_/PID_ combinations, to no avail. I tried on USB3 and USB2 ports. I also tried "DEFAULT_DELAY 100" at the top of the script.
×
×
  • Create New...