1

ツール OWASP ZAP を使用して、asp.net コア Web アプリでペン テストを実行しています。Owasp ZAP の Windows アプリを使用してテストを実行すると、テストは正常に実行され、結果が得られますが、コマンド ラインを使用してテストを実行しようとすると、この例外が発生します。

raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000001CCBD907D60>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

なぜこれが起こっているのですか、これを修正する方法は?

ZAP_PATH 環境変数を zap.sh があるフォルダーに変更しました。今、私は別の例外を取得しています:

 raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
4

1 に答える 1