diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md
index f76db7f..592e0a0 100644
--- a/doc/CHANGELOG.md
+++ b/doc/CHANGELOG.md
@@ -1,3 +1,7 @@
+## Version 1.0.2
+
+* Bugfix for core and extensions advisory URLs
+
## Version 1.0.1
* json file is now saved each time. --json parameter is now used for specifying path for json file. Default is the current working directory.
diff --git a/doc/Typo3Scan.png b/doc/Typo3Scan.png
index 5fe3ee2..bc50a15 100755
Binary files a/doc/Typo3Scan.png and b/doc/Typo3Scan.png differ
diff --git a/lib/typo3scan.db b/lib/typo3scan.db
index dc032d8..f08a56f 100755
Binary files a/lib/typo3scan.db and b/lib/typo3scan.db differ
diff --git a/lib/update.py b/lib/update.py
index aab6d69..dccb167 100644
--- a/lib/update.py
+++ b/lib/update.py
@@ -57,14 +57,22 @@ def load_core_vulns(self):
"""
print('\n[+] Searching for new CORE vulnerabilities...')
update_counter = 0
- response = requests.get('https://typo3.org/help/security-advisories/typo3-cms/page-1')
- pages = re.findall('', response.text)
- last_page = int(pages[-1])
+ next_page = 2
+ last_page = 99
+ cHash = ''
for current_page in range(1, last_page+1):
+ if current_page == 1:
+ url = 'https://typo3.org/help/security-advisories/typo3-cms/'
+ else:
+ url = 'https://typo3.org/help/security-advisories/typo3-cms/page?tx_news_pi1%5BcurrentPage%5D={}&tx_sfeventmgt_pieventlist%5Baction%5D=list&tx_sfeventmgt_pieventlist%5Bcontroller%5D=Event&cHash={}'.format(current_page, cHash)
+ response = requests.get(url, timeout=6)
+ content = re.findall('', response.text)
- last_page = int(pages[-1])
-
+ next_page = 2
+ last_page = 99
+ cHash = ''
for current_page in range(1, last_page+1):
+ if current_page == 1:
+ url = 'https://typo3.org/help/security-advisories/typo3-extensions/'
+ else:
+ url = 'https://typo3.org/help/security-advisories/typo3-extensions/page?tx_news_pi1%5BcurrentPage%5D={}&tx_sfeventmgt_pieventlist%5Baction%5D=list&tx_sfeventmgt_pieventlist%5Bcontroller%5D=Event&cHash={}'.format(current_page, cHash)
+ response = requests.get(url, timeout=6)
+ content = re.findall('