summaryrefslogtreecommitdiffstats
path: root/sploit/until.py
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2025-01-04 23:57:16 -0500
committerMalfurious <m@lfurio.us>2025-01-04 23:57:16 -0500
commit23c750d2edc712c4a37e0774049a1a0f9a966009 (patch)
treee16b9f6495776dccc2c8e39d29b66d28d94b3448 /sploit/until.py
parent640726aa11369d328c1cdfe00b4344b6a925729c (diff)
parent831fd7402cd357a79b76007471722a243ec60c8d (diff)
downloadnsploit-23c750d2edc712c4a37e0774049a1a0f9a966009.tar.gz
nsploit-23c750d2edc712c4a37e0774049a1a0f9a966009.zip
Merge branch 'nsploit'
Rename fork to nsploit and touch up project files. We switch from automatically obtaining version via git-describe to a static definition in pyproject.toml, to support more install use-cases. * nsploit: Update pyproject file for nsploit Don't rely on git for version information main: Update ASCII banner for nsploit Rename sploit package to nsploit
Diffstat (limited to 'sploit/until.py')
-rw-r--r--sploit/until.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/sploit/until.py b/sploit/until.py
deleted file mode 100644
index b4f390f..0000000
--- a/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)