summaryrefslogtreecommitdiffstats
path: root/sploit/rev/r2.py
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-01-12 14:28:26 -0500
committerMalfurious <m@lfurio.us>2024-05-19 17:52:10 -0400
commit29b9da475a5115ec0d453989ce545316cbc0a013 (patch)
tree5a7ddbe76d673b8dda7dd6663d537e0198a217d1 /sploit/rev/r2.py
parent45356ee7b633d5f589ef61ec8e4b81409d21f873 (diff)
downloadsploit-29b9da475a5115ec0d453989ce545316cbc0a013.tar.gz
sploit-29b9da475a5115ec0d453989ce545316cbc0a013.zip
util: Promote from module to package
We would like to move additional modules under the namespace of "util" to clean up the top-level "sploit" package. To start, the functions from the previous util module are moved. Given the package is named "util" the module is renamed to "cmd" to somewhat match the theme of the contained functions. Per the previous commits, these functions are now exposed via the util package as well. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'sploit/rev/r2.py')
-rw-r--r--sploit/rev/r2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/rev/r2.py b/sploit/rev/r2.py
index 1be731c..d9dbabd 100644
--- a/sploit/rev/r2.py
+++ b/sploit/rev/r2.py
@@ -2,7 +2,7 @@ from sploit.arch import arch
from sploit.log import ilog
from sploit.rev.gadget import Gadget
from sploit.symtbl import Symtbl
-from sploit.util import run_cmd_cached
+from sploit.util.cmd import run_cmd_cached
from collections import namedtuple as nt
from functools import cache