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
sudo yum install glibc libstdc++ | |
mkdir ~/steamcmd | |
mkdir ~/svencoop | |
cd ~/steamcmd | |
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | |
tar -xvzf steamcmd_osx.tar.gz | |
./steamcmd -login anonymous +force_install_dir "~/svencoop" +app_update 276060 validate +exit |
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 parseURL(inURL) { | |
inURL = trimToLast(inURL, "/"); | |
inURL = trimToLast(inURL, "?"); | |
if (!inURL.includes("&")) return { | |
partner: undefined, | |
token: undefined | |
} | |
var arr = inURL.split("&"); | |
var partner = undefined; | |
var token = undefined; |
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
javascript:e="your_url_here";t=function(){};d=document,b=d.childNodes;history.pushState("","",e);n=new XMLHttpRequest;n.onreadystatechange=function(){if(4==n.readyState){for(e=b.length-1;e>=0;)d.removeChild(b[e--]);d.write(n.responseText),t()}},n.open("GET",e,!0),n.send(null); |
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
#!/bin/bash | |
alias webexec='function _webexec() { wget $1 -O - | sh}; _webexec'; | |
echo webExec installation complete |
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 pushState(e, t) { | |
history.pushState('', '', e); | |
var n = new XMLHttpRequest; | |
n.onreadystatechange = function() { | |
if (4 == n.readyState && 200 == n.status) { | |
for (var e = document.childNodes.length - 1; e >= 0;) document.removeChild(document.childNodes[e--]); | |
document.write(n.responseText), t() | |
} | |
}, n.open('GET', e, !0), n.send(null) | |
} |
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
var p = []; | |
function c(x) { return document.getElementsByClassName(x); } | |
function rl(f) { setTimeout(f, 20); } | |
var li = c("comment-header"); | |
for(var i in li) { | |
if(li[i].innerHTML && li[i].innerHTML.includes("TheArrayPro")) | |
p.push(i); | |
} | |
li = c("sprite_like"); | |
for(var i in p) |
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
// Solution for https://xss-game.appspot.com/level6 | |
alert(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
<html lang=en><meta charset=utf-8><head><title>404 Not Found</title><meta name=viewport content="width=device-width,initial-scale=1"><link href="http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300itlic,400italic,500,500italic,700,700italic,900italic,900" rel=stylesheet type=text/css><style>body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.shrug{font-family:Roboto,sans-serif;font-size:100px}.text{font-family:Roboto,sans-serif;font-size:30px}.footer{font-family:sans-serif;font-size:20px}.center{width:450px;height:340px;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}a:link{text-decoration:none;color:#006786}a:visited{text-decoration:none;color:#006786}a:hover{text-decoration:none;color:#006786}a:active{text-decoration:none;color:#006786}</style><body><div class=center><div class=shrug>¯\_(ツ)_/¯</div><div class=text>We couldn't find the page you were looking for.</div><br><div class=footer> |
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
import java.util.Map; | |
import java.util.concurrent.ConcurrentHashMap; | |
import org.bukkit.Bukkit; | |
import org.bukkit.entity.Player; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import org.bukkit.plugin.messaging.PluginMessageListener; | |
import com.google.common.collect.Iterables; | |
import com.google.common.io.ByteArrayDataInput; |
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
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.PrintWriter; | |
import java.util.Scanner; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.World; |