NetExec/cme/helpers/bash.py

10 lines
210 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import cme
def get_script(path):
with open(os.path.join(os.path.dirname(cme.__file__), 'data', path), 'r') as script:
return script.read()