⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
Research and Development Network
All Projects
Research and Development Network
Overview
Activity
Wiki
Repository
Download (684 Bytes)
Wiki
ยป rnd-ip-generate.py
Generates a list of hostnames and ip's for rnd.ru.is -
Joseph Foley
, 2015-09-05 02:32
hostnames
=
[
'
hydrogen
'
,
'
helium
'
,
'
lithium
'
,
'
beryllium
'
,
'
boron
'
,
'
carbon
'
,
'
nitrogen
'
,
'
oxygen
'
,
'
fluorine
'
,
'
neon
'
,
'
sodium
'
,
'
magnesium
'
,
'
aluminium
'
,
'
silicon
'
,
'
phosphorus
'
,
'
sulfur
'
,
'
chlorine
'
,
'
argon
'
,
'
potassium
'
,
'
calcium
'
,
'
scandium
'
,
'
titanium
'
,
'
vanadium
'
,
'
chromium
'
,
'
manganese
'
,
'
iron
'
,
'
cobalt
'
,
'
nickel
'
,
'
copper
'
,
'
zinc
'
,
'
gallium
'
]
for
i
in
range
(
1
,
31
):
hostname
=
hostnames
[
i
]
atomicNumber
=
i
+
1
addThis
=
63
address
=
atomicNumber
+
addThis
print
(
"
{} {}.rnd.ru.is
"
.
format
(
hostname
,
hostname
))
print
(
"
\t
IPv4: 130.208.242.{}
"
.
format
(
address
))
print
(
"
\t
IPv6: 2a00:c88:5000:102::82d0:f2{}
\n
"
.
format
(
hex
(
address
)[
2
:]))
(1-1/1)
Loading...