bash_portscan_banners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
bash_portscan_banners [2017/08/31 06:31] – admin | bash_portscan_banners [2017/08/31 06:37] – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~TOC~~ | ~~TOC~~ | ||
- | =====Pure bash TCP portscan==== | + | =====Pure bash TCP portscan |
====Sequential portscan==== | ====Sequential portscan==== | ||
Line 33: | Line 33: | ||
done | done | ||
) | ) | ||
+ | </ | ||
+ | |||
+ | ====Bannergrab==== | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | |||
+ | IP=1.2.3.4 | ||
+ | |||
+ | for i in {1..1000} | ||
+ | do | ||
+ | echo -n "${IP} port ${i} - " | ||
+ | timeout 1s bash -c "head -1 </ | ||
+ | done | ||
+ | |||
</ | </ |
bash_portscan_banners.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1