-
-
Save YagamiShadow/b1a2e7badbfa6d3e927e49d60ca23eb8 to your computer and use it in GitHub Desktop.
Revisions
-
sillydadddy created this gist
Aug 11, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ 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 hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ 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