GithubHelp home page GithubHelp logo

Comments (10)

KathanP19 avatar KathanP19 commented on May 18, 2024 2

httpx -version

   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   / 
 / / / / /_/ /_/ /_/ /   |  
/_/ /_/\__/\__/ .___/_/|_|  
             /_/            

                projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Current Version: 1.0.2

I am facing the same issue

cat probed_npg.txt | httpx -silent -follow-redirects -status-code -mc 200

flag provided but not defined: -mc
Usage of httpx:
  -H value
        Custom Header
  -content-length
        Content Length
  -follow-host-redirects
        Only follow redirects on the same host
  -follow-redirects
        Follow Redirects
  -http-proxy string
        Http Proxy
  -json
        JSON Output
  -l string
        File containing domains
  -no-color
        No Color
  -o string
        File to write output to (optional)
  -ports value
        ports range (nmap syntax: eg 1,2-10,11)
  -response-in-json
        Server response directly in the tool output (-json only)
  -retries int
        Number of retries
  -silent
        Silent mode
  -status-code
        Extracts Status Code
  -store-response
        Store Response as domain.txt
  -store-response-dir string
        Store Response Directory (default current directory) (default ".")
  -threads int
        Number of threads (default 50)
  -timeout int
        Timeout in seconds (default 5)
  -title
        Extracts title
  -verbose
        Verbose Mode
  -version
        Show version of httpx
  -vhost
        Check for VHOSTs
  -web-server
        Prints out the Server header content
  -x string
        Request Method (default "GET")

from httpx.

Haones avatar Haones commented on May 18, 2024 1

Hi @bauthard,

Downloaded with GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx on fresh Ubuntu with fresh Go, it downloads 1.0.2 version (why there's 1 in major version while it supposed to be 0) while the latest in releases is 0.0.8. Is it intended behavior / version? Yet had to download source and build with go again to get 0.0.8 which is true latest version.

Also had this conversation recently:

In this case there was even an error, but I had no errors with this "old" version 1.0.2.

Thank you.

from httpx.

ehsandeep avatar ehsandeep commented on May 18, 2024

Hey @amiralkizaru,

Thank you for the feedback, as per your screenshot, looks like you are not on the latest version, to confirm this you can run httpx -version? it's working well on my side, FYI to use matcher/filter, you need to use -status-code flag as well.

from httpx.

Sicks3c avatar Sicks3c commented on May 18, 2024

Hey @bauthard

Thank's for coming back at me fast
Looks like the issue was in the 0.0.7 version the 0.0.8 works fine

Have a good one

from httpx.

ehsandeep avatar ehsandeep commented on May 18, 2024

Hey @KathanP19,

For now, this should do the trick, we will investigate about the above issue.

git clone github.com/projectdiscovery/httpx httpx-new; cd httpx-new/cmd/httpx; go build .; mv httpx /usr/local/bin/; httpx -h

from httpx.

Haones avatar Haones commented on May 18, 2024

Had the same issue by installing with GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx - this command installs version 1.0.2 for some reason, so had to install by building from source as well to get 1.0.8.

from httpx.

ehsandeep avatar ehsandeep commented on May 18, 2024

Should be fixed with #59 @Haones @KathanP19

from httpx.

nirvana-msu avatar nirvana-msu commented on May 18, 2024

This seems to be broken still - using go get command from readme somehow installs an old version, which reports 1.0.2 as its version.

GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx
~/go/bin$ ./httpx --version

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Current Version: 1.0.2

from httpx.

ehsandeep avatar ehsandeep commented on May 18, 2024

Hi @nirvana-msu,

We suggest using binary or using the GitHub installation method for the time being while we are looking into this again.

from httpx.

nirvana-msu avatar nirvana-msu commented on May 18, 2024

Yeah using git clone and go build works fine indeed.

Thanks for the tool!

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.