Open nbk2000 opened 5 years ago
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
Would it be fine if the tool only support HTTP but injected url relative protocols in the style sheet? I assume that's what you're asking
Yeah, that's exactly right
Hey d0nut,
In testing the use of Nginx to terminate HTTPs connections for sic I receive the following error:
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