This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "net/http" | |
| ) | |
| // A very simple http proxy |
This file contains hidden or 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
| package main | |
| import ( | |
| "net/http" | |
| ) | |
| func main() { | |
| debugHandler := http.HandlerFunc(debugRequest) | |
| http.ListenAndServe(":81", debugHandler) | |
| } |
This file contains hidden or 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
| package main | |
| import ( | |
| "crypto/tls" | |
| //"crypto/x509" | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| // "net/url" |
This file contains hidden or 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
| package main | |
| import ( | |
| "bufio" | |
| "flag" | |
| "fmt" | |
| "image/png" | |
| "io" | |
| "os" | |
| "strconv" |
This file contains hidden or 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
| package main; | |
| import ( | |
| "fmt" | |
| "flag" | |
| "bufio" | |
| "os" | |
| "errors" | |
| ) |
This file contains hidden or 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
| package main; | |
| import ( | |
| "fmt" | |
| "flag" | |
| "bufio" | |
| "os" | |
| "compress/gzip" | |
| "strconv" | |
| "io" |
This file contains hidden or 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
| <script src="bignumber.js"></script> | |
| <canvas id='c' width="200" height="200"> | |
| </canvas> | |
| <script> | |
| function prime_factors(n){ | |
| var factors = []; | |
| var d = 2; |
This file contains hidden or 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
| import Network.HTTP | |
| import Text.HTML.TagSoup | |
| openURL x = getResponseBody =<< simpleHTTP (getRequest x) | |
| extractLinks ((TagOpen "a" as):xs) = as:extractLinks(xs) | |
| extractLinks (x:xs) = extractLinks(xs) | |
| extractLinks _ = [] | |
| extractHref (("href",k):xs) = k:extractHref(xs) |
This file contains hidden or 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
| import Data.ByteString.Lazy.Char8 as BS | |
| import Data.Word | |
| import Data.Bits | |
| import Data.List | |
| import Data.Char | |
| import Data.List.Split | |
| isChar x = o > 31 && o < 127 where o = ord x | |
| scan::[Char]->[Char]->[Char] |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <bindings xmlns="http://www.mozilla.org/xbl" | |
| xmlns:html="http://www.w3.org/1999/xhtml"> | |
| <binding id="xss"> | |
| <implementation> | |
| <constructor> | |
| alert("xss"); | |
| </constructor> | |
| </implementation> | |
| </binding> |