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 ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"github.com/blevesearch/bleve" | |
"graph" | |
"net/http" | |
"strings" |
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
a = { | |
"Lorem ipsum dolor sit amet, consectetur adipiscing elit", | |
"Aliquam euismod mi blandit orci dictum, vel pulvinar ligula hendrerit", | |
"Vestibulum vel ipsum sit amet est feugiat cursus", | |
"Vivamus viverra augue nec magna aliquam, aliquet mollis lacus aliquam", | |
"Proin fringilla sapien eu ullamcorper scelerisque", | |
"Lorem ipsum dolor sit amet, consectetur adipiscing elit", | |
"Aliquam euismod mi blandit orci dictum, vel pulvinar ligula hendrerit", | |
"Vestibulum vel ipsum sit amet est feugiat cursus", | |
"Vivamus viverra augue nec magna aliquam, aliquet mollis lacus aliquam", |
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" | |
lua "github.com/yuin/gopher-lua" | |
"os" | |
"os/signal" | |
"path/filepath" | |
"syscall" | |
"time" |
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
// Swap values for CHANGE FOR YOURSELF, and OBS: it's a novelty authentication, so improvements can and will happen | |
package main | |
import ( | |
"bufio" | |
"crypto/hmac" | |
"crypto/sha1" | |
"fmt" | |
"github.com/craigmj/gototp" |