Skip to content

Instantly share code, notes, and snippets.

View antony-jr's full-sized avatar

Antony Jr antony-jr

View GitHub Profile
import java.util.HashMap;
public class Music {
private HashMap<String, Object> m_Data;
public Music() {
m_Data = new HashMap<String, Object>();
}
public void set(String key, Object value) {
#!/usr/bin/env python3
import sys
try:
import numpy as np
import cv2
except:
print("Please install opencv-python and numpy via pip")
sys.exit(0)
import sys
import datetime
# The main class which forms N Palindromes.
class NPalindrome(object):
def __init__(self, n, string):
self.N = n
self.String = string
self.Possible = False
self.Palindromes = list()
#include <stdio.h>
void isort(int *arr , int n){
int i = 1,
pos = 0,
v = 0;
while(i < n){
v = arr[i];
pos = i;
while(pos > 0 && arr[pos-1] > v){
arr[pos] = arr[pos-1];
@antony-jr
antony-jr / wmerger.py
Last active April 5, 2018 18:56
A Simple Wordlist merger
#!/usr/bin/env python3
import sys,os
if len(sys.argv) < 3:
print("Usage: {} [WORDLIST ONE] [WORDLIST TWO] [OUTPUT WORDLIST NAME]".format(sys.argv[0]))
sys.exit(0)
wlist1 = sys.argv[1]
wlist2 = sys.argv[2]
output = sys.argv[3]
@antony-jr
antony-jr / reddit.py
Created December 6, 2017 18:34
Simple reddit brute force hack!
#!/usr/bin/env python3
import requests
import sys,os
import time
username = "YOUR_USERNAME"
password_list = "PASSWORD_LIST"
login_try = {
"op" : "login",