-
-
Save YagamiShadow/b1a2e7badbfa6d3e927e49d60ca23eb8 to your computer and use it in GitHub Desktop.
Amass lua scripts
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 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 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 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