Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.53 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.53 KB

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.

cd csharp
dotnet clean
dotnet build
dotnet MixedContentCheker https://tech.guitarrapc.com/sitemap.xml

run docker w/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.

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.

cd powershell
pwsh -File ./Get-MixedContent.ps1 -Url https://tech.guitarrapc.com/sitemap.xml

You can run with docker.

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