Skip to content

Protocol Relative URL support #2

@nbk2000

Description

@nbk2000

Hey d0nut,

In testing the use of Nginx to terminate HTTPs connections for sic I receive the following error:

thread 'tokio-runtime-worker-0' panicked at 'called `Result::unwrap()` on an `Err` value: RelativeUrlWithoutBase', src/libcore/result.rs:999:5

This happens when supplying a Protocol Relative URL as the Polling or Callback host like this:

./sic -p 3000 --ph "//a.pwnu.net" --ch "//b.pwnu.net" -t template_file

Using Protocol Relative URLs would allow sic payloads to work on both HTTP and HTTPs pages simultaneously.

BTW - Here's the example Nginx config I promised you.

Best,
NBK

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions