MCPcopy Create free account

hub / github.com/anshumanbh/tko-subs / functions

Functions21 in github.com/anshumanbh/tko-subs

↓ 3 callersFunctionInfo
Info function to print pretty output
tko-subs.go:149
↓ 3 callersFunctionshowUsageOnError
showUsageOnError function as a generic check for error when panic is too aggressive
tko-subs.go:140
↓ 2 callersFunctiongetAuthorityForDomain
getAuthorityForDomain function to lookup the authoritative nameservers of a domain
tko-subs.go:373
↓ 2 callersFunctionpanicOnError
panicOnError function as a generic check for error function
tko-subs.go:133
↓ 2 callersFunctionparseNS
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 callersFunctionscanDomain
scanDomain function to scan for each domain being read from the domains file
tko-subs.go:265
↓ 2 callersFunctionunFqdn
unFqdn removes the trailing from a FQDN
tko-subs.go:154
↓ 1 callersFunctionapexResolves
apexResolves function returns false if the domain's apex returns NXDOMAIN, and true otherwise
tko-subs.go:295
↓ 1 callersFunctionauthorityReturnRefusedOrServfail
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 callersFunctioncheckCnameAgainstProviders
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 callersFunctionevaluateDomainProvider
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 callersFunctiongetCnameForDomain
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 callersFunctiongithubCreate
githubCreate function to take over dangling Github Pages Connecting to your Github account using the Personal Access Token
tko-subs.go:171
↓ 1 callersFunctionherokuCreate
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 callersFunctionloadProviders
(recordsFilePath string)
tko-subs.go:516
↓ 1 callersFunctionnameserverReturnsRefusedOrServfail
nameserverReturnsRefusedOrServfail returns true if the given nameserver returns a REFUSED/SERVFAIL response when queried for the domain
tko-subs.go:440
↓ 1 callersFunctionprintResults
(scanResults []DomainScan)
tko-subs.go:536
↓ 1 callersFunctionresolves
resolves function returns false if NXDOMAIN, and true otherwise
tko-subs.go:305
↓ 1 callersFunctiontakeOverSub
takeOverSub function to decide what to do depending upon the CMS
tko-subs.go:159
↓ 1 callersFunctionwriteResultsToCsv
(scanResults []DomainScan, outputFilePath string)
tko-subs.go:527
Functionmain
()
tko-subs.go:65