Tag Archives: curl

Use Curl to Fetch ASP.NET Version Banner

Use Curl to Fetch ASP.NET Version Banner | The version of ASP.NET is sent in a banner with http requests and can be viewed with a curl command. I’ll show you how! X-AspNet-Version: 2.0.50727 To view this with curl, use tack capital I and fetch any url ending in .aspx. A random url ending in .aspx works as well: $ curl -I 10.112.12.67/asdfsaf.aspx

cURL Ignore SSL Certificate Warnings

cURL Ignore SSL Certificate Warnings | To ignore any ssl certificate warnings with curl, use the tack k option. Here is an example: $ curl -k https://scottlinux.com $ curl -I -k https://scottlinux.com HTTP/1.1 200 OK Date: Tue, 14 Feb 2012 20:00:03 GMT Server: Apache Strict-Transport-Security: max-age=43200; includeSubDomains X-Frame-Options: SAMEORIGIN Set-Cookie: bb2_screener_=1329249603+66.202.152.198; path=/ X-Pingback: http://scottlinux.com/xmlrpc.php Set-Cookie: PHPSESSID=lq5dpvfagbdstib7nlg2b8a0m7; path=/ X-Hello: Hello There Vary:

Fetch HTTP headers with curl

Fetch HTTP headers with curl | A simple curl command can fetch HTTP headers from a website. Here’s how it works! The command is: $ curl -I domain.com Example: stmiller@brahms:~$ curl -I http://scottlinux.com HTTP/1.1 200 OK Date: Sat, 24 Sep 2011 02:53:17 GMT Server: Apache Strict-Transport-Security: max-age=43200; includeSubDomains Set-Cookie: bb2_screener_=1316832797+; path=/ X-Pingback: http://scottlinux.com/xmlrpc.php Set-Cookie: PHPSESSID=erh3jr41d1idkaifote48urph4; path=/ X-Hello: Hello There Vary: Accept-Encoding