Line 71: |
Line 71: |
| | | |
| | | |
− | '''wget --no-proxy --output-document=ipv6.html <nowiki>"https://www64.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=-1&customport0=8080&customport1=&customport2=&customport3=&termsaccepted=1"</nowiki>''' | + | '''wget --no-proxy --output-document=ipv6.html <nowiki>"https://www66.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=-1&customport0=8080&customport1=&customport2=&customport3=&termsaccepted=1"</nowiki>''' |
| | | |
| <pre> | | <pre> |
− | --2012-01-28 14:37:21-- https://www64.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=-1&customport0=8080&customport1=&customport2=&customport3=&termsaccepted=1 | + | --2012-01-28 14:37:21-- https://www66.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=-1&customport0=8080&customport1=&customport2=&customport3=&termsaccepted=1 |
− | Resolving www64.chappell-family.co.uk... 2001:470:971f:6::4 | + | Resolving www66.chappell-family.co.uk... 2001:470:971f:99::6 |
− | Connecting to www64.chappell-family.co.uk|2001:470:971f:6::4|:443... connected. | + | Connecting to www66.chappell-family.co.uk|2001:470:971f:99::6|:443... connected. |
| HTTP request sent, awaiting response... 200 OK | | HTTP request sent, awaiting response... 200 OK |
| Length: 7323 (7.2K) [text/html] | | Length: 7323 (7.2K) [text/html] |
Line 85: |
Line 85: |
| 2012-01-28 14:37:21 (112 MB/s) - `ipv6.html' saved [7323/7323] | | 2012-01-28 14:37:21 (112 MB/s) - `ipv6.html' saved [7323/7323] |
| </pre> | | </pre> |
− |
| |
| | | |
| ===Testing the UDP ports, the default TCP ports list and 3 custom TCP ports=== | | ===Testing the UDP ports, the default TCP ports list and 3 custom TCP ports=== |
Line 91: |
Line 90: |
| | | |
| | | |
− | '''wget --no-proxy --output-document=ipv6.html <nowiki>"https://www64.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=1&customport0=8080&customport1=33452&customport2=65535&customport3=&termsaccepted=1"</nowiki>''' | + | '''wget --no-proxy --output-document=ipv6.html <nowiki>"https://www66.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=1&customport0=8080&customport1=33452&customport2=65535&customport3=&termsaccepted=1"</nowiki>''' |
| | | |
| <pre> | | <pre> |
− | --2012-01-28 14:39:53-- https://www64.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=1&customport0=8080&customport1=33452&customport2=65535&customport3=&termsaccepted=1 | + | --2012-01-28 14:39:53-- https://www66.chappell-family.co.uk/cgi-bin6/ipscan-txt.cgi?includeexisting=1&customport0=8080&customport1=33452&customport2=65535&customport3=&termsaccepted=1 |
− | Resolving www64.chappell-family.co.uk... 2001:470:971f:6::4 | + | Resolving www66.chappell-family.co.uk... 2001:470:971f:99::6 |
− | Connecting to www64.chappell-family.co.uk|2001:470:971f:6::4|:443... connected. | + | Connecting to www66.chappell-family.co.uk|2001:470:971f:99::6|:443... connected. |
| HTTP request sent, awaiting response... 200 OK | | HTTP request sent, awaiting response... 200 OK |
| Length: 10263 (10K) [text/html] | | Length: 10263 (10K) [text/html] |
Line 104: |
Line 103: |
| | | |
| 2012-01-28 14:39:54 (222 MB/s) - `ipv6.html' saved [10263/10263] | | 2012-01-28 14:39:54 (222 MB/s) - `ipv6.html' saved [10263/10263] |
| + | </pre> |
| + | |
| + | ===Default test using curl=== |
| + | |
| + | '''$ curl -sS "https://www66.chappell-family.co.uk/cgi-bin6/ipscanfasttxt.cgi?includeexisting=1&customport0=&customport1=&customport2=&customport3=&termsaccepted=1"''' |
| + | |
| + | or |
| + | |
| + | '''$ curl -sS "https://www66.chappell-family.co.uk/cgi-bin6/ipscanfasttxt.cgi?includeexisting=1&customport0=&customport1=&customport2=&customport3=&termsaccepted=1" |awk -F'[<> ]' 'BEGIN{printf("\nPORT\tSTATE\n")};{for(i=4;i<=NF;i++){if (index($i,"OPEN")>0 && $(i-1)=="=" && $(i-3)=="Port") {printf("%s\t%s\n",$(i-2),$i)}}};' ''' |
| + | |
| + | <pre> |
| + | PORT STATE |
| + | 80 OPEN |
| + | 443 OPEN |
| + | 1080 OPEN |
| + | 3128 OPEN |
| </pre> | | </pre> |
| | | |
Line 110: |
Line 125: |
| On the router: | | On the router: |
| | | |
− | '''sudo /usr/bin/curl -G <nowiki>'https://www64.chappell-family.co.uk/cgi-bin6/ipscantxt.cgi'</nowiki> --data-urlencode 'includeexisting=1' --data-urlencode 'customport0=' --data-urlencode 'customport1=' --data-urlencode 'customport2=' --data-urlencode 'customport3=' --data-urlencode 'termsaccepted=1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' 2>&1 >/tmp/ipv6.html''' | + | '''sudo /usr/bin/curl -G <nowiki>'https://www66.chappell-family.co.uk/cgi-bin6/ipscantxt.cgi'</nowiki> --data-urlencode 'includeexisting=1' --data-urlencode 'customport0=' --data-urlencode 'customport1=' --data-urlencode 'customport2=' --data-urlencode 'customport3=' --data-urlencode 'termsaccepted=1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' 2>&1 >/tmp/ipv6.html''' |
| | | |
| '''sudo scp /tmp/ipv6.html <user>@<host>:''' | | '''sudo scp /tmp/ipv6.html <user>@<host>:''' |
Line 119: |
Line 134: |
| Exchange <user> and <host> for an applicable account and machine name to transfer the results file to. | | Exchange <user> and <host> for an applicable account and machine name to transfer the results file to. |
| | | |
− | <pre>sudo /usr/bin/curl -G <nowiki>'https://www64.chappell-family.co.uk/cgi-bin6/ipscantxt.cgi'</nowiki> --data-urlencode 'includeexisting=1' --data-urlencode 'customport0=' --data-urlencode 'customport1=' --data-urlencode 'customport2=' --data-urlencode 'customport3=' --data-urlencode 'termsaccepted=1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' 2>&1 >/tmp/ipv6.html | + | <pre>sudo /usr/bin/curl -G <nowiki>'https://www66.chappell-family.co.uk/cgi-bin6/ipscantxt.cgi'</nowiki> --data-urlencode 'includeexisting=1' --data-urlencode 'customport0=' --data-urlencode 'customport1=' --data-urlencode 'customport2=' --data-urlencode 'customport3=' --data-urlencode 'termsaccepted=1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' 2>&1 >/tmp/ipv6.html |
| % Total % Received % Xferd Average Speed Time Time Time Current | | % Total % Received % Xferd Average Speed Time Time Time Current |
| Dload Upload Total Spent Left Speed | | Dload Upload Total Spent Left Speed |
| 100 2844 100 2844 0 0 30 0 0:01:34 0:01:33 0:00:01 627 | | 100 2844 100 2844 0 0 30 0 0:01:34 0:01:33 0:00:01 627 |
| </pre> | | </pre> |
− |
| |
| | | |
| ===HTML Results Scraping=== | | ===HTML Results Scraping=== |