mirror of
https://github.com/danielmiessler/SecLists.git
synced 2024-08-17 06:40:45 +03:00
Shell script to generate any IP ranges as you need
This commit is contained in:
parent
28f2b5b9eb
commit
6473406b1e
22
Discovery/Infrastructure/IPGenerator.sh
Normal file
22
Discovery/Infrastructure/IPGenerator.sh
Normal file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
## IP Generator list. Use many iterations as you need.
|
||||
#
|
||||
#for a in {1..254};do
|
||||
# echo "$a.1.1.1"
|
||||
# for b in {1..254};do
|
||||
# echo "$a.$b.1.1"
|
||||
# for c in {1..254};do
|
||||
# echo "$a.$b.$c.1"
|
||||
# for d in {1..254};do
|
||||
# echo "$a.$b.$c.$d"
|
||||
# done
|
||||
# done
|
||||
# done
|
||||
#done
|
||||
|
||||
for a in {1..254};do
|
||||
echo "10.10.$a.1" >> IPList.txt # Saving to file
|
||||
for b in {1..254};do
|
||||
echo "10.10.$a.$b" >> IPList.txt
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue
Block a user