Initial commit of remote loader
This commit is contained in:
12
script_loader.py
Normal file
12
script_loader.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import requests
|
||||||
|
import sys
|
||||||
|
|
||||||
|
url = 'https://git.voice1.me/VOICE1-Public/E911_helper/raw/commit/3f0b7fb35aaffd4fa259f547f12e3480ec65b7f0/e911_helper.py'
|
||||||
|
|
||||||
|
r = requests.get(url)
|
||||||
|
r.raise_for_status()
|
||||||
|
|
||||||
|
code = r.text
|
||||||
|
|
||||||
|
sys.argv = ['<string>']
|
||||||
|
exec(compile(code, '<string>', 'exec'))
|
||||||
Reference in New Issue
Block a user