summaryrefslogtreecommitdiffstats
path: root/tools/sploit/sploit/until.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sploit/sploit/until.py')
-rw-r--r--tools/sploit/sploit/until.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/sploit/sploit/until.py b/tools/sploit/sploit/until.py
deleted file mode 100644
index b4f390f..0000000
--- a/tools/sploit/sploit/until.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from functools import partial as bind
-import re
-
-def lastline(pred, /, *args, **kwargs):
- s = args[-1]
- args = args[:-1]
- p = bind(pred, *args, **kwargs)
- return p(s[-1])
-
-def contains(regex, s):
- return re.search(regex, s)
-
-def equals(regex, s):
- return re.fullmatch(regex, s)