Nettacker/nettacker/core/fuzzer.py

6 lines
142 B
Python

from nettacker.config import Config
def read_from_file(file_path):
return open(Config.path.payloads_dir / file_path).read().split("\n")