Skip to content

Instantly share code, notes, and snippets.

View collina's full-sized avatar

Collin Anderson collina

View GitHub Profile
@collina
collina / gist:5528418
Created May 6, 2013 21:38
SSH Throttling in #Iran #Filternet
root@nami:~# time wget [internationalhost]/mediumfile
--2013-05-07 01:22:43-- http://[internationalhost]/mediumfile
Connecting to [internationalhost]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10240000 (9.8M) [application/octet-stream]
Saving to: `mediumfile.1'
100%[==================================================================================================================================================================>] 10,240,000 315K/s in 24s
2013-05-07 01:23:07 (420 KB/s) - `mediumfile.1' saved [10240000/10240000]
@collina
collina / gist:5521606
Created May 5, 2013 18:06
#Iran #Filternet Mandated SSL Certificate (karmandiran.ir/certnew.cer)
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
4b:fe:f1:fa:3d:db:cc:b3:44:1f:ac:da:4d:4e:ec:82
Signature Algorithm: sha1WithRSAEncryption
Issuer: CN=CUBE-CA
Validity
Not Before: Jan 5 15:44:52 2013 GMT
Not After : Jan 5 15:54:51 2023 GMT
@collina
collina / gist:5521087
Created May 5, 2013 15:15
Blocking on Transfer with UDP on Arbitrary Ports in #Iran
root@nami:~# tcpdump -r random_traffic_port_8082_udp.pcap | head
reading from file random_traffic_port_8082_udp.pcap, link-type EN10MB (Ethernet)
19:40:58.250303 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.250640 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.251200 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.251358 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.251566 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.252529 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.252711 IP internationalhost.35447 > nami.8082: UDP, length 2048
19:40:58.252975 IP internationalhost.35447 > nami.8082: UDP, length 2048
@collina
collina / gist:5520863
Created May 5, 2013 13:37
SSL Throttling in #Iran
root@nami:~# time wget https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/21.0b6/linux-x86_64/en-US/firefox-21.0b6.tar.bz2
--2013-05-05 16:33:50-- https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/21.0b6/linux-x86_64/en-US/firefox-21.0b6.tar.bz2
Resolving ftp.mozilla.org (ftp.mozilla.org)... 63.245.215.56
Connecting to ftp.mozilla.org (ftp.mozilla.org)|63.245.215.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27685630 (26M) [application/x-bzip2]
Saving to: `firefox-21.0b6.tar.bz2.1'
100%[==================================================================================================================================================================>] 27,685,630 7.84K/s in 71m 11s
@collina
collina / gist:5476265
Last active December 16, 2015 18:19
ERICSSON ANNUAL REPORT ON FORM 20-F 2012
http://www.sec.gov/Archives/edgar/data/717826/000119312513145407/d497354d20f.htm
DISCLOSURE PURSUANT TO SECTION 219 OF THE IRAN THREAT REDUCTION AND SYRIA HUMAN RIGHTS ACT OF 2012 (ITRA)
Ericsson has conducted business in Iran/Persia since the late nineteenth century, opened an office in Iran in 1973 and later established a local subsidiary in the country. Ericsson strongly believes in enabling communication for all and believes that access to communications can enable the right to health, education and freedom of expression. Ericsson’s business activities in Iran principally involve the sale of telecommunications infrastructure related products and services, including support, installation and maintenance services. Ericsson’s exports from the European Union (the “EU”) to Iran are performed under export licenses from the Swedish Agency for Non-Proliferation and Export Controls. The EU sanctions towards Iran grant an exemption for the supply of certain telecommunications equipment and software based on which
@collina
collina / gist:5441675
Last active December 16, 2015 13:28
DNS Injection through ASN12880 for Facebook (Iran)
root@nami:~# dig facebook.com @8.8.8.8 +tcp
; <<>> DiG 9.8.1-P1 <<>> facebook.com @8.8.8.8 +tcp
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37010
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;facebook.com. IN A