4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
12 results tagged curl x
  • thumbnail
    GitHub - reorx/httpstat: curl statistics made simple
    8 décembre 2019 à 10:49:17 UTC+1 - permalink - archive.org - https://github.com/reorx/httpstat
    curl http stat
  • Note: curl --resolve
           --resolve <host:port:address>
                  Provide  a  custom address for a specific host and port pair. Using this, you can make the curl requests(s) use a specified address and prevent the otherwise normally resolved address to be used. Con-
                  sider it a sort of /etc/hosts alternative provided on the command line. The port number should be the number used for the specific protocol the host will be used for. It means you need several entries
                  if you want to provide address for the same host but different ports.
    
                  The provided address set by this option will be used even if -4, --ipv4 or -6, --ipv6 is set to make curl use another IP version.
    
                  This option can be used many times to add many host names to resolve.
    
                  Added in 7.21.3.

    Plus propre que de jouer avec du -H Header et en plus le https ne rale pas

    9 octobre 2019 à 15:45:25 UTC+2 * - permalink - archive.org - https://links.infomee.fr/?tV1KDA
    curl
  • HTTPie – command line HTTP client
    18 août 2019 à 11:59:55 UTC+2 - permalink - archive.org - https://httpie.org/
    curl
  • Curlie | curlie
    18 août 2019 à 11:59:40 UTC+2 - permalink - archive.org - https://curlie.io/
    curl
  • Convert cURL command syntax to Python requests, Node.js, R, PHP and Go code

    via pierrick

    19 novembre 2018 à 14:23:53 UTC+1 - permalink - archive.org - https://curl.trillworks.com/
    curl python requests
  • How do I measure request and response times at once using cURL? - Stack Overflow

    Create a new file, curl-format.txt, and paste in:

    time_namelookup:  %{time_namelookup}\n
       time_connect:  %{time_connect}\n
    time_appconnect:  %{time_appconnect}\n

    time_pretransfer: %{time_pretransfer}\n
    time_redirect: %{time_redirect}\n
    time_starttransfer: %{time_starttransfer}\n
    ----------\n
    time_total: %{time_total}\n

    Make a request:

    curl -w "@curl-format.txt" -o /dev/null -s "http://wordpress.com/"

    8 février 2017 à 08:52:40 UTC+1 - permalink - archive.org - http://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl
    curl
  • Note: xargs parallel, example with curl

    A way to parallelize curl call with xargs:

    cat url.list | xargs -n 1 -P 15 -I % curl -so /dev/null -k -A curltestxargs %

    22 août 2016 à 17:09:32 UTC+2 - permalink - archive.org - https://links.infomee.fr/?b3ibmA
    curl xargs
  • thumbnail
    rfc - Is there any documentation for omitting zeroes in dot-decimal notation of IPV4 addresses? - Stack Overflow

    ok ok... curl 127.0.0.1 == curl 127.1

    On peut omettre les 0

    Pas 'standard' mais fonctionne sur debian

    Il y avait un autre shortcut pour ping localhost mais je l'ai perdu :-/

    16 août 2016 à 11:12:45 UTC+2 - permalink - archive.org - http://stackoverflow.com/questions/10133820/is-there-any-documentation-for-omitting-zeroes-in-dot-decimal-notation-of-ipv4-a
    curl localhost tips
  • Note: curl, header host, https, SNI

    Si on veut curl une ressource sur l'ip (car pas de résolution, pas envie de modifier /etc/hosts..)
    On va utiliser -H pour rajouter un header host et arriver sur le bon virtualhost :

    curl -H 'Host: www.foo.com' http://192.168.1.1/

    Si la ressource est en https, ça ne passe pas :

    curl -H 'Host: www.foo.com' https://192.168.1.1/

    curl: (51) SSL: certificate subject name (*.foo.com) does not match target host name '192.168.1.1'

    Car le SNI hello se fait avec l'host dans l'url (192.168.1.1) et non pas avec le Header Host

    Un workaround est d'utiliser l'option --resolve

    curl --resolve www.foo.com:192.168.1.1 https://www.foo.com

    On peut aussi utiliser --insecure pour ignore l'erreur mais on ne valide pas que le certificat est ok :

    curl --insecure -H 'Host: www.foo.com' http://192.168.1.1/

    10 août 2016 à 14:57:59 UTC+2 - permalink - archive.org - https://links.infomee.fr/?Lqccgg
    curl https sni
  • Detecting the use of "curl | bash" server side | Application Security

    :o

    22 avril 2016 à 14:18:49 UTC+2 - permalink - archive.org - https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
    bash curl security
  • Trouver son adresse ip public en ligne de commande

    curl http://bot.whatismyipaddress.com
    Une parmi d'autres qui a l'avantage d'être rapide ;)

    24 octobre 2014 à 14:35:26 UTC+2 - permalink - archive.org - https://links.infomee.fr/?v-CE1w
    curl ip
  • Curl firefox

    Dans l'inspecteur on peut récupérer pour chaque requete l'équivalent en curl (un gros paté avec tous les headers qui vont bien)
    Parmis ces headers on retrouve 'Accept-Encoding: gzip, deflate' donc le curl va nous retourner quelquechose d'illisible

    Pour résoudre ça : curl blablablalba | gunzip -

    1 octobre 2014 à 14:42:38 UTC+2 - permalink - archive.org - https://links.infomee.fr/?ucO98Q
    curl firebug firefox gunzip
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation