Skip to content

wrong number of arguments (given 3, expected 2) from first example in README  #13

@brandonzylstra

Description

@brandonzylstra

This:

require 'evil-proxy'

proxy = EvilProxy::MITMProxyServer.new Port: 8080
proxy.start

and this:

https_proxy=http://localhost:8080 curl https://github.com --insecure

gives me this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
  <HEAD><TITLE>Service Unavailable</TITLE></HEAD>
  <BODY>
    <H1>Service Unavailable</H1>
    wrong number of arguments (given 3, expected 2)
    <HR>
    <ADDRESS>
     WEBrick/1.7.0 (Ruby/2.7.1/2020-03-31) OpenSSL/1.1.1g at
     github.com:443
    </ADDRESS>
  </BODY>
</HTML>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions