You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have bash script which look like this. but whenever i run axiom-scan domain-list -m test-subs it does not take domain in the bash script how does axiom pass the domain list to the instances. How could i handle the input.
#!/bin/bashwhileread -r domain;doif [ -n"$domain" ];thenecho"Processing domain: $domain"# Perform curl and jq operations
curl_output=$(curl -sX GET "https://api.shodan.io/dns/domain/$domain?key=my-key-here"| jq -r --arg domain "$domain"'.subdomains[] | "\(.).\($domain)"')# Save results to fileecho"$curl_output"| anew "$domain-subs.txt"echo"Done processing domain: $domain"fidoneecho"Script execution completed."
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have bash script which look like this. but whenever i run axiom-scan domain-list -m test-subs it does not take domain in the bash script how does axiom pass the domain list to the instances. How could i handle the input.
Beta Was this translation helpful? Give feedback.
All reactions