Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anshumanbh/tko-subs
/ functions
Functions
21 in github.com/anshumanbh/tko-subs
⨍
Functions
21
◇
Types & classes
3
↓ 3 callers
Function
Info
Info function to print pretty output
tko-subs.go:149
↓ 3 callers
Function
showUsageOnError
showUsageOnError function as a generic check for error when panic is too aggressive
tko-subs.go:140
↓ 2 callers
Function
getAuthorityForDomain
getAuthorityForDomain function to lookup the authoritative nameservers of a domain
tko-subs.go:373
↓ 2 callers
Function
panicOnError
panicOnError function as a generic check for error function
tko-subs.go:133
↓ 2 callers
Function
parseNS
function parseNS to parse NS records (found in answer to NS query or in the authority section) into a list of record values
tko-subs.go:358
↓ 2 callers
Function
scanDomain
scanDomain function to scan for each domain being read from the domains file
tko-subs.go:265
↓ 2 callers
Function
unFqdn
unFqdn removes the trailing from a FQDN
tko-subs.go:154
↓ 1 callers
Function
apexResolves
apexResolves function returns false if the domain's apex returns NXDOMAIN, and true otherwise
tko-subs.go:295
↓ 1 callers
Function
authorityReturnRefusedOrServfail
authorityReturnRefusedOrServfail returns true if at least one of the domain's authoritative nameservers returns a REFUSED/SERVFAIL response when queri
tko-subs.go:402
↓ 1 callers
Function
checkCnameAgainstProviders
Now, for each entry in the data providers file, we will check to see if the output from the dig command against the current domain matches the CNAME f
tko-subs.go:459
↓ 1 callers
Function
evaluateDomainProvider
If there is a CNAME and can't curl it, we will assume its vulnerable If we can curl it, we will regex match the string obtained in the response with t
tko-subs.go:488
↓ 1 callers
Function
getCnameForDomain
getCnameForDomain function to lookup the last CNAME record of a domain For example, if you have a DNS chain that looks like this: foo.example.com ->
tko-subs.go:328
↓ 1 callers
Function
githubCreate
githubCreate function to take over dangling Github Pages Connecting to your Github account using the Personal Access Token
tko-subs.go:171
↓ 1 callers
Function
herokuCreate
herokuCreate function to take over dangling Heroku apps Connecting to your Heroku account using the username and the API key provided as flags Adding
tko-subs.go:256
↓ 1 callers
Function
loadProviders
(recordsFilePath string)
tko-subs.go:516
↓ 1 callers
Function
nameserverReturnsRefusedOrServfail
nameserverReturnsRefusedOrServfail returns true if the given nameserver returns a REFUSED/SERVFAIL response when queried for the domain
tko-subs.go:440
↓ 1 callers
Function
printResults
(scanResults []DomainScan)
tko-subs.go:536
↓ 1 callers
Function
resolves
resolves function returns false if NXDOMAIN, and true otherwise
tko-subs.go:305
↓ 1 callers
Function
takeOverSub
takeOverSub function to decide what to do depending upon the CMS
tko-subs.go:159
↓ 1 callers
Function
writeResultsToCsv
(scanResults []DomainScan, outputFilePath string)
tko-subs.go:527
Function
main
()
tko-subs.go:65