add joomla component update script
This commit is contained in:
parent
e2e086ba6f
commit
92a9d50ea9
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/python3
|
||||
import requests
|
||||
|
||||
new_com = requests.get("https://raw.githubusercontent.com/rezasp/joomscan/master/exploit/db/componentslist.txt").text
|
||||
with open('data/wordlists/joomla.txt', 'r') as j:
|
||||
old = j.read().splitlines()
|
||||
|
||||
for com in new_com.splitlines():
|
||||
if not 'components/%s/'%(com) in old:
|
||||
old.append('components/%s/'%(com))
|
||||
print('[+] Adding: components/%s/'%(com))
|
||||
|
||||
old.sort()
|
||||
with open('data/wordlists/joomla.txt', 'w') as j:
|
||||
j.write('\n'.join(old))
|
||||
j.write('\n')
|
Loading…
Reference in New Issue