Skip to content

Instantly share code, notes, and snippets.

View avineshwar's full-sized avatar
💭
I may be slow to respond.

Avineshwar Pratap Singh avineshwar

💭
I may be slow to respond.
View GitHub Profile
@avineshwar
avineshwar / sort1mb.cpp
Created October 19, 2016 02:33 — forked from preshing/sort1mb.cpp
Sort one million 8-digit numbers in 1MB RAM, with statistics
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef unsigned int u32;
typedef unsigned long long u64;
//-------------------------------------------------------------------------
// WorkArea
//-------------------------------------------------------------------------
@avineshwar
avineshwar / build_cross_gcc
Created October 19, 2016 02:32 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
@avineshwar
avineshwar / sort1mb.cpp
Created October 19, 2016 02:32 — forked from preshing/sort1mb.cpp
Sort one million 8-digit numbers in 1MB RAM
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef unsigned int u32;
typedef unsigned long long u64;
//-------------------------------------------------------------------------
// WorkArea
//-------------------------------------------------------------------------
aircrack-ng -w 000webhost.txt,10k_most_common.txt,10_million_password_list_top_1000000.txt,500-worst-passwords.txt,adobe100.txt,alleged-gmail-passwords.txt,Ashley_Madison.txt,Basic_Spanish_List.txt,best1050.txt,bt4-password.txt,cain.txt,carders.cc.txt,common-passwords-win.txt,conficker.txt,darkc0de.txt,elitehacker.txt,english.txt,faithwriters.txt,hak5.txt,honeynet-nocount.txt,hotmail.txt,john.txt,KeyboardCombinations.txt,korelogic-password.txt,MostPopularLetterPasses.txt,myspace.txt,password-permutations.txt,passwords_youporn2012.txt,rockyou.txt,singles.org.txt,SplashData-2015.txt,Sucuri_Top_Wordpress_Passwords.txt,twitter-banned.txt,wordpress_attacks_july2014.txt
@avineshwar
avineshwar / 0day - Add Admin
Created July 30, 2016 06:47 — forked from mranarshit/0day - Add Admin
Wordpress 0day - Add Administrator
#!/usr/bin/perl -w
# Coded By M-A
# Greet's : My Brother Rab3oun & Boy & All Sec4ever Menber
# (c) Jannissaries.org & Sec4ever.com
# Perl Lov3r :)
use strict;
use HTTP::Request;
use LWP::UserAgent;
use URI::Split qw/ uri_split uri_join /;
my $datestring = localtime();
@avineshwar
avineshwar / index.html
Created December 7, 2015 06:49 — forked from tmcw/index.html
trie mini
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel='stylesheet' type='text/css' href='' />
<style>
body, textarea {
text-rendering:optimizeLegibility;
background:#fff;
font:normal 13px/15px 'Helvetica';