Skip to content

Instantly share code, notes, and snippets.

@sascha1337
Created August 18, 2022 10:35
Show Gist options
  • Save sascha1337/595f724763b5f52919476e9eb65e75e3 to your computer and use it in GitHub Desktop.
Save sascha1337/595f724763b5f52919476e9eb65e75e3 to your computer and use it in GitHub Desktop.
curl -qs 'https://akash.c29r3.xyz/api/akash/provider/v1beta2/providers'\
'?pagination.limit=1337&pagination.count_total=true' \
-H 'Connection: keep-alive' \
-H 'Accept: application/json, text/plain, */*' \
| tee 'akash_providerz.json' \
| jq -cr ".providers[].host_uri"
# Lets scan'em ;-) #unixpipegang #ibcgang #decentralizeit
curl -qs 'https://akash.c29r3.xyz/api/akash/provider/v1beta2/providers'\
'?pagination.limit=1337&pagination.count_total=true' \
-H 'Connection: keep-alive' \
-H 'Accept: application/json, text/plain, */*' \
--compressed | jq -cr ".providers[].host_uri" \
| awk -F[/:] '{print $4}' \
| awk '{gsub("\\\$PROVIDER_AKASH_DOMAIN", "");print}' \
| xargs nmap -v -A -T4 -oX - | nmap-formatter json | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment