Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2
"""
Author: takeshix <takeshix@adversec.com>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org).
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
"""
import sys,struct,socket
from argparse import ArgumentParser
# Author = Nikhil Venkat Sonti
# email = nikhilsv92@gmail.com
# github ID = shadowfax92
import sys
from xml.dom.minidom import _get_StringIO
from lxml import html
import requests
import os
import re
import time
function decrypt(input1,input2)
{
var encText = input1.split(' ');
var flag=false;
for(var i=1; i <= 26; i++) {
var decText = "";
for(var encWordIndex in encText) {
var encWord = encText[encWordIndex];
var decWord = "";
//return encWord;
@vs4vijay
vs4vijay / Viz-Note-Frostic.markdown
Created April 28, 2014 12:30
A Pen by Vijay Soni.
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
class Mouse implements Runnable
{
static Robot r;
static Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();;
public static void main(String[] args) throws Exception
@vs4vijay
vs4vijay / Viz
Created February 2, 2011 16:48
First Gist
First Gist
@vs4vijay
vs4vijay / robot.js
Created December 3, 2012 17:11
VizRobo
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
@vs4vijay
vs4vijay / robot.js
Created December 3, 2012 17:15
IndianRoboz
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
$scope.saveStudent = function(index, row){
window.ss = $scope.selectedStudent;
window.rr = row;
console.log("$scope.studentGridData[row.rowIndex] " + row);
console.log($scope.studentGridData[row.rowIndex]);
console.log("$scope.selectedStudentselectedStudent : row.rowIndex " + row.rowIndex);
console.log($scope.selectedStudent);
Consolidate.createConsolidationStageStudent($scope.milestoneId, ss[0].StudentName, function(data) {
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest