Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guitarrapc/mixedcontentchecker
Check https MixedContent via sitemap.xml
https://github.com/guitarrapc/mixedcontentchecker
chromedriver headless-chrome mixed-content mixedcontent selenium-webdriver
Last synced: 8 days ago
JSON representation
Check https MixedContent via sitemap.xml
- Host: GitHub
- URL: https://github.com/guitarrapc/mixedcontentchecker
- Owner: guitarrapc
- License: mit
- Created: 2019-01-06T19:08:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-15T00:35:09.000Z (almost 6 years ago)
- Last Synced: 2024-10-27T23:20:34.479Z (about 2 months ago)
- Topics: chromedriver, headless-chrome, mixed-content, mixedcontent, selenium-webdriver
- Language: C#
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## MixedContentChecker
Https detect Mixed Content with http resources.
This tool will detect with chrome-headless browser + selenium.Please pass sitemap.xml url to check around all your url entries.
## How to run
### CSharp
You can run by directly w/dotnet-sdk or docker.
```powershell
cd csharp
dotnet clean
dotnet build
dotnet MixedContentCheker https://tech.guitarrapc.com/sitemap.xml
```run docker w/powershell.
```powershell
cd csharp
docker build -t mixedcontentchecker .
docker run -it --rm --mount type=bind,source="$($pwd.Path)/logs",target=/app/logs -e SITE_MAP_URL=https://tech.guitarrapc.com/sitemap.xml mixedcontentchecker
```run docker w/bash.
```bash
cd csharp
docker build -t mixedcontentchecker .
docker run -it --rm --mount type=bind,source="${pwd}/logs",target=/app/logs -e SITE_MAP_URL=https://tech.guitarrapc.com/sitemap.xml mixedcontentchecker
```### PowerShell
Download Selenium Webdriver, chrcome-driver and google-chrome.
```powershell
cd powershell
pwsh -File ./Get-MixedContent.ps1 -Url https://tech.guitarrapc.com/sitemap.xml
```You can run with docker.
```bash
cd powershell
docker build -t mixedcontentchecker_ps .
docker run -it --rm -e SITE_MAP_URL=https://tech.guitarrapc.com/sitemap.xml mixedcontentchecker_ps
```### Golang
[TBD]
## Notice
You can ignore following error message on windows.
```
[0109/032926.606:ERROR:gpu_process_transport_factory.cc(967)] Lost UI shared context.
```
> https://stackoverflow.com/questions/50143413/errorgpu-process-transport-factory-cc1007-lost-ui-shared-context-while-ini