Giter VIP home page Giter VIP logo

proxy-request-checker's Issues

Implement proxy redirect handle, when requesting blacklisted url's

Check List

Description

When testing the url's with a proxy, and the proxy redirects to it's proxy error page, I want to be able to read out some configured information out of that html page, and write it to the report. For example the current_user_group, current_category, etc.

Steps to Reproduce

Request a url which is blacklisted by your proxy and you will probably get a 403.

Expected Behavior

Incase the proxy notices an invalid or unallowed url and redirects to it's reporting/feedback page, I want to grab some information about that page, like f.x category, etc, using the DOM api. The most common case is, the requested url returning the proxies policy response through that requested url.

Actual Behavior

None

Additional Info

Make sure to read the response of the requested but forbidden url. Will normally contain some static html code!

When running the binary, the report is not saved to the specified file path, also the links.json file is not found

Check List

Description

When running the built binary of the program, it can't find the links.json because it's ran from a different path then the project root, also it can't export the report.json.

Steps to Reproduce

Build executable binary from your local project, try to execute from terminal or GUI.

Expected Behavior

Should work as intended when running with go run cmd/main.go

Actual Behavior

Throws error and fails reading/exporting files

Additional Info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.