src/core/session/settings/TMPPATH.py
"""
Default phpsploit temporary directory.
* USE CASES:
Used as base path for files edited with `edit` plugin.
"""
import tempfile
import linebuf
import datatypes
linebuf_type = linebuf.MultiLineBuffer
def validator(value):
return datatypes.Path(value, mode="drw")
def default_value():
return tempfile.gettempdir()