mirror of
https://github.com/danielmiessler/SecLists
synced 2026-01-02 14:13:58 +01:00
verbose logging
This commit is contained in:
parent
723bb37b3a
commit
af53b844b3
1 changed files with 5 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
import requests,re
|
||||
|
||||
print("[+] Readme stats updater")
|
||||
|
||||
REPOSITORY_API="https://api.github.com/repos/%s"
|
||||
REPOSITORY="danielmiessler/SecLists"
|
||||
REPOSITORY_COMMITS_API="https://api.github.com/repos/%s/commits"
|
||||
|
|
@ -77,4 +79,6 @@ if re.match(DETAILS_ANCHOR_REGEX,readme_contents,flags=re.DOTALL):
|
|||
exit(2)
|
||||
|
||||
readme_contents=re.sub(DETAILS_ANCHOR_REGEX,DETAIL_USER_NOTICE_STRING,readme_contents,flags=re.DOTALL)
|
||||
open("README.md","w").write(readme_contents)
|
||||
open("README.md","w").write(readme_contents)
|
||||
|
||||
print("[+] Wrote README.md!")
|
||||
Loading…
Reference in a new issue