for x in range(255): print hex(x),
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
<VirtualHost *> | |
WSGIApplicationGroup %{GLOBAL} | |
# Setup Python for the App1 | |
WSGIDaemonProcess app1 user=www-data group=www-data threads=5 | |
WSGIScriptAlias /app1 /var/www/app1/app1.wsgi | |
<Directory /var/www/app1> | |
Order deny,allow | |
Allow from all |
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
# list package version available | |
pip install --no-deps --no-install <package_name> -v |
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
# required distro packages | |
sudo apt-get -y install nmap curl libcurl3-dev rbenv libyaml-dev libxml2-dev libxslt-dev ruby1.9.1-dev | |
# Install Gauntlt | |
sudo gem install gauntlt | |
# install XMLLint, tidy | |
# @see http://datascienceatthecommandline.com/ | |
sudo apt-get install -y libxml2-utils tidy |
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
# add video mode | |
VBoxManage setextradata "VM_NAME" "CustomVideoMode1" "1280x720x32" | |
# set video mode | |
VBoxManage controlvm "VM_NAME" setvideomodehint 1280 720 32 |
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
diff --git a/ext/json/ext/fbuffer/fbuffer.h b/ext/json/ext/fbuffer/fbuffer.h | |
index af74187..9524fb1 100644 | |
--- a/ext/json/ext/fbuffer/fbuffer.h | |
+++ b/ext/json/ext/fbuffer/fbuffer.h | |
@@ -172,7 +172,7 @@ static FBuffer *fbuffer_dup(FBuffer *fb) | |
static VALUE fbuffer_to_s(FBuffer *fb) | |
{ | |
- VALUE result = rb_str_new(FBUFFER_PAIR(fb)); | |
+ VALUE result = rb_str_new(FBUFFER_PTR(fb), FBUFFER_LEN(fb)); |
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 | |
# @see https://gorails.com/setup/ubuntu/15.10 | |
# update, install git | |
export DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get update | |
sudo apt-get install -y git-core build-essential libssl-dev libreadline-dev \ | |
libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev \ | |
libcurl4-openssl-dev python-software-properties libffi-dev zlib1g-dev |
- What are you trying to solve?
- Are you asking the right question?
- Where is this data coming from?
- Is this data recent? When? Where? Who?
- Has this data been changed? How? Who? When?
- Are there any strings?
- is it formatted for Windows, Mac, or Linux (newlines)
- should it have any non-ASCII?
- how should non-ASCII be handled?
- What are in each of the columns?
Make sure you are running an HTTP proxy on 127.0.0.1:8080 I suggest Burpsuite, Free Edition: https://portswigger.net/burp/download.html
I wrote this in Bash, not because it was easy, but because it was fast. This script lets you max out your CPU and network resources far better than Burpsuite, or a stand-alone python script, by taking advantage of the parallel program, and the many decades of C code optimization that's gone into Bash and GnuUtils.
[enumerate_url.sh]
#!/bin/bash
curlJsonEnum(){
OlderNewer