Last active
April 12, 2021 17:59
-
-
Save robsware/d5e4844115fc802fd6f833fa021aca8d 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 os | |
#cd to PoC git folder | |
os.chdir(r'C:\APPS\Tools\Tools\CVE-2020-1472-master') | |
with open("DCs.txt", encoding="utf-16") as file_in: | |
lines = [] | |
for line in file_in: | |
lines.append(line) | |
for line in lines: | |
os.system('echo ' + line.rstrip() + " >> log.txt") | |
os.system('python zerologon_tester.py ' + line.rstrip() + ' >> log.txt') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is there a way to implement a progress bar or some kind of verbose output in order to identify if the script is running correctly, if it failed but didn't exited or if it's having some kind of issue?
Regards