bash_portscan_banners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash_portscan_banners [2017/08/31 06:31] – admin | bash_portscan_banners [2021/10/09 15:14] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ~~TOC~~ | ||
- | =====Pure bash TCP portscan==== | + | =====Pure bash TCP portscan |
====Sequential portscan==== | ====Sequential portscan==== | ||
Line 33: | Line 32: | ||
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