SHARE
TWEET

Untitled

a guest Apr 19th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. import sys
  3. try:
  4.     text = sys.argv[1]
  5.     for i in os.listdir('/dev/pts/'):
  6.         os.system("echo '"+text+"' > /dev/pts/"+i)
  7. except:
  8.         print("Usage sudo termwrite.py TxtMsg")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top