Sébastien Lambour
DEFCON16: 47 0-day ESP8266
hmac/AES/RSA...
Trust, but verify blockchain=trust N-1 code using hash (link like a transaction)
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
) |
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
) |
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/hmac" | |
"crypto/rand" | |
"encoding/hex" | |
"errors" |
{ | |
"paragraphs": [{ | |
"text": "%warpscript\nNEWGTS 'cos' RENAME\n1 720\n <% DUP 1000 * NOW - 2 * PI * 360 / COS NaN NaN NaN 4 ROLL ADDVALUE %> FOR\n\n[ SWAP bucketizer.last 720 1 0 ] BUCKETIZE 0 GET 'gts1' STORE\n\n{ 'unicorn' {\n 'gts' $gts1 \n\n 'params'\n [\n { 'key' 'key2' 'color' '#ff1010' }\n ]\n 'globalParams'\n { 'timestamps' 'true' }\n} } \n", | |
"dateUpdated": "2016-10-08T21:17:25+0000", | |
"config": { | |
"colWidth": 12, | |
"graph": { | |
"mode": "table", | |
"height": 300, | |
"optionOpen": false, |
[ 'data' ] EXPORT | |
NEWGTS 'cos' RENAME | |
1 1080 | |
<% DUP 'i' STORE DUP 2 * PI * 360 / COS $i * NaN NaN NaN 4 ROLL ADDVALUE %> FOR | |
[ SWAP bucketizer.last 1080 1 0 ] BUCKETIZE 'cos' STORE | |
NEWGTS 'pattern.to.detect' RENAME |
Sébastien Lambour
DEFCON16: 47 0-day ESP8266
hmac/AES/RSA...
Trust, but verify blockchain=trust N-1 code using hash (link like a transaction)
package io.warp10.plugins.prometheus; | |
import io.warp10.continuum.Configuration; | |
import io.warp10.continuum.TimeSource; | |
import io.warp10.continuum.store.Constants; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.PrintWriter; |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] right after Do | |
INFO[0106] Response from Warp is a 500 | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! |
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"encoding/csv" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"strings" |