sendpasswd.sh
· 109 B · Bash
Raw
#!/bin/bash
read -s p
DISPLAY=:0
XAUTHORITY=/var/lib/lightdm/.Xauthority
xdotool type "$p"
xdotool key Return
| 1 | #!/bin/bash |
| 2 | read -s p |
| 3 | DISPLAY=:0 |
| 4 | XAUTHORITY=/var/lib/lightdm/.Xauthority |
| 5 | xdotool type "$p" |
| 6 | xdotool key Return |