-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix encoding error * Automatic update with GitHub Actions * Fix encoding error in CISA * Update CISASpider.py * Automatic update with GitHub Actions * Create LICENSE * Update main.yml * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Fix ZDISpider Date column * Automatic update with GitHub Actions * Remove encode decode methods in mdtemplate * Automatic update with GitHub Actions * Fix link selector not getting links correctly * Automatic update with GitHub Actions * Add temporary link to IBMCloud * Automatic update with GitHub Actions * Limit number of data to seven * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Add logo * Update README * Update README * Change image * Update README and docs * Update README and docs * Update README and docs * Automatic update with GitHub Actions * Update README * Update README * Fix error in header encoding * Fix error in header encoding * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Create Dependabot.yml for automatic version updates * Bump python-dotenv from 0.19.2 to 0.20.0 Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.19.2 to 0.20.0. - [Release notes](https://github.com/theskumar/python-dotenv/releases) - [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md) - [Commits](theskumar/python-dotenv@v0.19.2...v0.20.0) --- updated-dependencies: - dependency-name: python-dotenv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump scrapy from 2.5.1 to 2.6.2 Bumps [scrapy](https://github.com/scrapy/scrapy) from 2.5.1 to 2.6.2. - [Release notes](https://github.com/scrapy/scrapy/releases) - [Changelog](https://github.com/scrapy/scrapy/blob/master/docs/news.rst) - [Commits](scrapy/scrapy@2.5.1...2.6.2) --- updated-dependencies: - dependency-name: scrapy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump requests from 2.27.1 to 2.28.1 Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.28.1. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.27.1...v2.28.1) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump coverage from 6.3.2 to 6.4.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.3.2 to 6.4.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@6.3.2...6.4.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump selenium from 3.141.0 to 4.3.0 Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 3.141.0 to 4.3.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](SeleniumHQ/selenium@selenium-3.141.0...selenium-4.3.0) --- updated-dependencies: - dependency-name: selenium dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Revert "Bump selenium from 3.141.0 to 4.3.0" * Automatic update with GitHub Actions * Add OBS Vigilance Spider (#20) * Add OBS Vigilance Spider * Automatic update with GitHub Actions Co-authored-by: karimhabush <37211852+karimhabush@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Automatic update with GitHub Actions * Add VulDB Spider (#23) * Add OBS Vigilance Spider * Add VulDB spider Co-authored-by: karimhabush <37211852+karimhabush@users.noreply.github.com> * Automatic update with GitHub Actions * Remove the ugly logo 🙂 * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions * Automatic update with GitHub Actions Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chaymae-jhr <67756131+chaymae-jhr@users.noreply.github.com>
- Loading branch information
1 parent
77286a7
commit bc71775
Showing
20 changed files
with
232 additions
and
71 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" # | ||
schedule: | ||
interval: "daily" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 karimhabush | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Binary file not shown.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import scrapy | ||
from mdtemplate import Template | ||
|
||
|
||
class VigilanceSpider(scrapy.Spider): | ||
name = 'vigilance' | ||
start_urls = [ | ||
'https://vigilance.fr/?action=1135154048&langue=2' | ||
] | ||
def parse(self, response): | ||
if('cached' in response.flags): | ||
return | ||
num_bulletins=0 | ||
_data = [] | ||
for bulletin in response.css("article > table"): | ||
LINK = bulletin.xpath("descendant-or-self::tr/td/a/@href").get() | ||
DATE = "Visit link for details" | ||
TITLE = bulletin.xpath("descendant-or-self::tr/td/a").get().replace( | ||
"\n", "").replace("\t", "").replace("\r", "").replace(" ", "").replace("|","-") | ||
DESC = bulletin.xpath('descendant-or-self::tr/td/font/i/a/text()').get().replace( | ||
"\n", "").replace("\t", "").replace("\r", "").replace(" ", "").replace("|","-") | ||
ITEM = { | ||
"_title": TITLE, | ||
"_link": LINK, | ||
"_date": DATE, | ||
"_desc": DESC | ||
} | ||
|
||
_data.append(ITEM) | ||
num_bulletins += 1 | ||
if num_bulletins >= 10: | ||
break | ||
|
||
_to_write = Template("OBS-Vigilance", _data) | ||
|
||
with open("README.md", "a", encoding="utf-8") as f: | ||
f.write(_to_write._fill_table()) | ||
f.close() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
from urllib import response | ||
import scrapy | ||
from mdtemplate import Template | ||
from datetime import date | ||
|
||
|
||
class VulDBSpider(scrapy.Spider): | ||
name = 'VulDB' | ||
start_urls = [ | ||
'https://vuldb.com/?live.recent' | ||
] | ||
def parse(self, response): | ||
if('cached' in response.flags): | ||
return | ||
num_bulletins=0 | ||
_data = [] | ||
print(response.css("table>tr").extract()) | ||
for bulletin in response.css("table>tr"): | ||
if num_bulletins==0: | ||
num_bulletins+=1 | ||
continue | ||
LINK = "https://vuldb.com/"+bulletin.xpath("descendant-or-self::td[4]//@href").get() | ||
DATE = str(date.today())+" at "+bulletin.xpath("descendant-or-self::td[1]//text()").get() | ||
TITLE = bulletin.xpath("descendant-or-self::td[4]//text()").get().replace( | ||
"\n", "").replace("\t", "").replace("\r", "").replace(" ", "").replace("|","-") | ||
DESC = "Visit link for details" | ||
ITEM = { | ||
"_title": TITLE, | ||
"_link": LINK, | ||
"_date": DATE, | ||
"_desc": DESC | ||
} | ||
|
||
_data.append(ITEM) | ||
num_bulletins += 1 | ||
if num_bulletins >= 11: | ||
break | ||
|
||
_to_write = Template("VulDB", _data) | ||
|
||
with open("README.md", "a", encoding="utf-8") as f: | ||
f.write(_to_write._fill_table()) | ||
f.close() |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.