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
# Init upgrade | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Common Software | |
sudo apt-get install git | |
git clone https://github.com/facebook/fbctf | |
cd fbctf | |
source ./extra/lib.sh | |
quick_setup install prod *or* quick_setup install dev |
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
#!/usr/bin/python | |
import urllib, urllib2 | |
import sys | |
#import json # if you use json. | |
def requestURL(url, method="GET", params={}, headers={}, proxy=""): | |
## IF YOU USE PROXY. | |
if proxy: | |
proxy_support = urllib2.ProxyHandler({}) |
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
<?php | |
echo "test script."; |