Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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