NetExec/nxc/helpers/bash.py

10 lines
203 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from nxc.paths import DATA_PATH
def get_script(path):
with open(os.path.join(DATA_PATH, path), "r") as script:
return script.read()