We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When including an OTX key, I receive the following error. 'otx' expected type 'string', got unconvertible type 'map[string]interface {}'
'otx' expected type 'string', got unconvertible type 'map[string]interface {}'
Format used in my .gau.toml file
[urlscan] apikey="xxx-xxx-xxx" [otx] apikey="xxx-xxx-xxx"
Any advice? Is the otx api key not supported or recommended for use? I also tried removing "apikey=" and the new line from file.
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Just came across this issue and took a look at source.
The URLScanConfig struct expects a host and apikey under the urlscan table (mapstructure tags)
See: https://github.com/lc/gau/blob/bfc58a0aae892d09aa420844fa7759b7f01b71dd/runner/flags/flags.go#L23C1-L26C2 https://github.com/lc/gau/blob/bfc58a0aae892d09aa420844fa7759b7f01b71dd/pkg/providers/providers.go#L18C1-L22C1
This should work:
[urlscan] host = "" apikey = "APIKEYHERE" # OTX is a just direct string, no need for mapstructure otx = "APIKEYHERE"
You can leave the host key empty for urlscan, the baseurl will be assumed.
No branches or pull requests
When including an OTX key, I receive the following error.
'otx' expected type 'string', got unconvertible type 'map[string]interface {}'
Format used in my .gau.toml file
Any advice? Is the otx api key not supported or recommended for use? I also tried removing "apikey=" and the new line from file.
The text was updated successfully, but these errors were encountered: