Created
August 27, 2011 22:28
-
-
Save Visgean/1175947 to your computer and use it in GitHub Desktop.
My server was hacked today, I lost ssh control, altough i was able to create tunnel, so I bruteforced server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for i in {2300..3000} | |
| do | |
| echo $i | |
| ssh -f -N -n -D $i regulus | |
| done | |
| # Done, server keeps saying: | |
| # ssh_exchange_identification: Connection closed by remote host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment