Created
June 1, 2015 15:18
-
-
Save kaito834/c2f2ef8392bd746aec4b to your computer and use it in GitHub Desktop.
Sample results of cURL's range globbing feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is sample results of cURL's range globbing feature. | |
# I tested this on Windows 8.1. | |
# | |
# References: | |
# 'URL' section, http://curl.haxx.se/docs/manpage.html | |
$> curl -V | |
curl 7.38.0 (i386-pc-win32) libcurl/7.38.0 zlib/1.2.7 | |
Protocols: dict file ftp gopher http imap ldap pop3 rtsp smtp telnet tftp | |
Features: AsynchDNS IPv6 Largefile libz | |
$>curl -I http://192.168.80.131/{user1,user2,user3} | |
[1/3]: http://192.168.80.131/user1 --> <stdout> | |
--_curl_--http://192.168.80.131/user1 | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:32:42 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[2/3]: http://192.168.80.131/user2 --> <stdout> | |
--_curl_--http://192.168.80.131/user2 | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:32:43 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[3/3]: http://192.168.80.131/user3 --> <stdout> | |
--_curl_--http://192.168.80.131/user3 | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:32:43 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
$>curl -I http://192.168.80.131/{user1,user2,user3}_[001-005]/ | |
[1/15]: http://192.168.80.131/user1_001/ --> <stdout> | |
--_curl_--http://192.168.80.131/user1_001/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[2/15]: http://192.168.80.131/user1_002/ --> <stdout> | |
--_curl_--http://192.168.80.131/user1_002/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[3/15]: http://192.168.80.131/user1_003/ --> <stdout> | |
--_curl_--http://192.168.80.131/user1_003/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[4/15]: http://192.168.80.131/user1_004/ --> <stdout> | |
--_curl_--http://192.168.80.131/user1_004/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[5/15]: http://192.168.80.131/user1_005/ --> <stdout> | |
--_curl_--http://192.168.80.131/user1_005/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[6/15]: http://192.168.80.131/user2_001/ --> <stdout> | |
--_curl_--http://192.168.80.131/user2_001/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[7/15]: http://192.168.80.131/user2_002/ --> <stdout> | |
--_curl_--http://192.168.80.131/user2_002/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[8/15]: http://192.168.80.131/user2_003/ --> <stdout> | |
--_curl_--http://192.168.80.131/user2_003/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[9/15]: http://192.168.80.131/user2_004/ --> <stdout> | |
--_curl_--http://192.168.80.131/user2_004/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[10/15]: http://192.168.80.131/user2_005/ --> <stdout> | |
--_curl_--http://192.168.80.131/user2_005/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[11/15]: http://192.168.80.131/user3_001/ --> <stdout> | |
--_curl_--http://192.168.80.131/user3_001/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[12/15]: http://192.168.80.131/user3_002/ --> <stdout> | |
--_curl_--http://192.168.80.131/user3_002/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[13/15]: http://192.168.80.131/user3_003/ --> <stdout> | |
--_curl_--http://192.168.80.131/user3_003/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[14/15]: http://192.168.80.131/user3_004/ --> <stdout> | |
--_curl_--http://192.168.80.131/user3_004/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
[15/15]: http://192.168.80.131/user3_005/ --> <stdout> | |
--_curl_--http://192.168.80.131/user3_005/ | |
HTTP/1.1 404 Not Found | |
Date: Mon, 01 Jun 2015 22:38:16 GMT | |
Server: Apache/2.2.15 (CentOS) | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment