Skip to content

Instantly share code, notes, and snippets.

View hb-test.py
#!/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
View flipkart_parser.py
# 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
View gist:0f82565bbcdea21338ae
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;
View Viz-Note-Frostic.markdown
View Mouse.java
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
View Viz
First Gist
View robot.js
//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);
View robot.js
//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);
View gist:7098590
$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) {
View app.yaml
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest