Wardialing in the Modern World
Python 2 + requests, 198 191 bytes
from requests import*
def f(c):
for i in range(24):
u='http://'+c+`i/3`*3+'.'+'cnooermtg'[i%3::3]
try:a=get(u,allow_redirects=0).status_code
except:a=404
if a/100==3:a='200 R'
print u,a
Sample output for a
:
http://a000.com 404
http://a000.net 404
http://a000.org 404
http://a111.com 200
...
http://a666.org 502
http://a777.com 403
http://a777.net 200 R
http://a777.org 200