Created
August 11, 2020 22:38
-
-
Save sillydadddy/b1726c8e8ce281d55b82d4e2a1a610e8 to your computer and use it in GitHub Desktop.
Amass lua scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "assetfinder" | |
type = "ext" | |
function vertical(ctx, domain) | |
print("in asset finder") | |
local cmd = outputdir(ctx) .. "assetfinder --subs-only " .. domain | |
local data = assert(io.popen(cmd)) | |
for line in data:lines() do | |
newname(ctx, line) | |
end | |
data:close() | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "subfinder" | |
type = "ext" | |
function vertical(ctx, domain) | |
print("in sub finder") | |
local cmd = outputdir(ctx) .. "subfinder -d " .. domain | |
local data = assert(io.popen(cmd)) | |
for line in data:lines() do | |
newname(ctx, line) | |
end | |
data:close() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment