Created
November 24, 2019 19:26
-
-
Save echel0nn/2e025898d8c939846d03f0b27f84d017 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
def scanMe(): | |
f = open("HTTPs","r") | |
IPS = f.read().split("\n") | |
for ip in IPS: | |
OUTPT = subprocess.run("curl 'http://" + str(ip) + "'", shell=True, capture_output=True) | |
output_real = OUTPT.stdout.__repr__() | |
if "awe" in output_real: | |
print("[+] DTE101 found and it has no password configuration --> " + str(ip)) | |
if __name__ == "__main__": | |
scanMe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment