Giter Club home page Giter Club logo

Comments (3)

elespike avatar elespike commented on August 29, 2024

Hi, @Simon-Davies!

A couple things to consider:

  • I fixed a regex bug (#19) a little while ago that hasn't yet been pushed to Burp's BApp store. For now, you'll need to run the latest version from this repository.
  • Even when you do use the latest version with the bug fix, here's how you would configure CPH to remove the User-Agent entirely:

image

This happens because CPH treats the entire HTTP request as one string, and its regular expressions don't apply to all of the lines of that string.

For example, replacing ^GET with HEAD would work, but ^GET.*$ with HEAD / HTTP/1.1 would not.

Likewise, if the last thing in your request is Connection: close, then replacing close\r\n\r\n$ would work, but ^Connection.*$ would not.

I've been thinking of ways to handle Regular Expressions more intuitively, so it's possible that this will be easier to configure in the future.

from burp-cph.

Simon-Davies avatar Simon-Davies commented on August 29, 2024

This is now working . Thank you for your help.

from burp-cph.

elespike avatar elespike commented on August 29, 2024

My pleasure!

from burp-cph.

Related Issues (20)

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.