Skip to content

Instantly share code, notes, and snippets.

@M3nin0
Created June 19, 2016 23:10
Show Gist options
  • Save M3nin0/d3ceda0d31d8f4e62d73c2bf8cef19f4 to your computer and use it in GitHub Desktop.
Save M3nin0/d3ceda0d31d8f4e62d73c2bf8cef19f4 to your computer and use it in GitHub Desktop.
Script muito simples que usei em alguns testes do Snort.
#!/bin/bash
echo "Insira o endereço a ser analisado"
read ip
echo "Insira o numero de portas a ser analisado"
read port
for ((a=1; a <= port ; a++))
do
ssh $ip -p $a
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment