GithubHelp home page GithubHelp logo

Comments (5)

ehsandeep avatar ehsandeep commented on May 17, 2024 1

Hi @Sy3Omda,

This is because you were using colored output, if you want clean output with grep support, use -no-color flag with your command.

from httpx.

ehsandeep avatar ehsandeep commented on May 17, 2024
> chaos -d hackerone.com -silent | httpx -silent -status-code | tee ttt
https://docs.hackerone.com [200]
https://mta-sts.forwarding.hackerone.com [404]
https://api.hackerone.com [200]
https://support.hackerone.com [301]
https://resources.hackerone.com [301]
https://mta-sts.managed.hackerone.com [404]
https://mta-sts.hackerone.com [404]
https://www.hackerone.com [200]
> cat ttt | grep 404
https://mta-sts.forwarding.hackerone.com [404]
https://mta-sts.managed.hackerone.com [404]
https://mta-sts.hackerone.com [404]

Looks good here, can you share examples showing the issue?

from httpx.

Sy3Omda avatar Sy3Omda commented on May 17, 2024

nop i need to grep [200] as escaped chars because some times the link is containing the same number so i need to escape the whole block [200] OR [403] OR [302]

from httpx.

ehsandeep avatar ehsandeep commented on May 17, 2024

Please use -json flag if you want to filter data as suggested here #7, the terminal output is not grep friendly.

from httpx.

ehsandeep avatar ehsandeep commented on May 17, 2024

Hi @Sy3Omda,

I see what you mean, this is a bug and we will get it fixed, thanks for pointing this out.

from httpx.

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.