Skip to content

Instantly share code, notes, and snippets.

@IppSec
Created May 4, 2019 21:22
Show Gist options
  • Save IppSec/1abc67bd80daab1a021430b1fe0d0573 to your computer and use it in GitHub Desktop.
Save IppSec/1abc67bd80daab1a021430b1fe0d0573 to your computer and use it in GitHub Desktop.
#!/bin/bash
WID=$(wmctrl -lp | grep 'root@htb' | cut "-d " -f1)
FF=$(wmctrl -lp | grep 'Firefox' | cut "-d " -f1)
BURP=$(wmctrl -lp | grep 'Ippsec' | cut "-d " -f1)
WS=$(wmctrl -lp | grep 'ftp' | cut "-d " -f1)
wmctrl -i -r $FF -e 0,75,64,1798,936
wmctrl -i -r $WS -e 0,75,95,1798,938
wmctrl -i -r $BURP -e 0,75,64,1798,936
wmctrl -i -r $WID -e 0,75,65,1800,960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment