mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
updated wordpress github action
This commit is contained in:
3
.github/scripts/wordpress-plugins-update.py
vendored
3
.github/scripts/wordpress-plugins-update.py
vendored
@@ -124,7 +124,6 @@ info:
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
|
||||
path:
|
||||
- "{{{{BaseURL}}}}/wp-content/plugins/{name}/readme.txt"
|
||||
|
||||
@@ -171,7 +170,7 @@ http:
|
||||
if not os.path.exists(template_dir):
|
||||
os.makedirs(template_dir)
|
||||
|
||||
helper_path = f"helpers/wordpress/plugins/{name}.txt"
|
||||
helper_path = f"{work_dir}/helpers/wordpress/plugins/{name}.txt"
|
||||
version_file = open(helper_path, "w")
|
||||
version_file.write(version)
|
||||
version_file.close()
|
||||
|
||||
Reference in New Issue
Block a user