Skip to content

Commit 44ff8cc

Browse files
authored
Update parseExploitRequirements.src
- Added applyFunction() function.
1 parent 0e1da32 commit 44ff8cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/parseExploitRequirements.src

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
parseExploitRequirements = function(exploits)
2+
list.applyFunction = function(func)
3+
for i in range(self.len - 1)
4+
self[i] = func(self[i])
5+
end for
6+
return self
7+
end function
8+
29
getExploitNames = function(exploits)
310
exploits = exploits.split("Unsafe check: ")[1:]
411
for i in range(exploits.len - 1)

0 commit comments

Comments
 (0)