Skip to content

Instantly share code, notes, and snippets.

'''
Filename : TinBaDGA.py
Developer : Garage4Hackers
Greets : b0nd, FB1H2S, "vinnu", l0rdDeathStorm, nightrover and all g4h team
'''
import os, time
utility = "TinBaDGA"
import argparse
from datetime import datetime
def generate_necurs_domain(sequence_nr, magic_nr, date):
def pseudo_random(value):
loops = (value & 0x7F) + 21
for index in range(loops):
value += ((value*7) ^ (value << 15)) + 8*index - (value >> 5)
value &= ((1 << 64) - 1)
import json
import argparse
from datetime import datetime
import time
def get_sld(length, seed):
sld = ""
modulo = 541 * length + 4
a = length * length
import argparse
class RandInt:
def __init__(self, seed):
self.seed = seed
def rand_int_modulus(self, modulus):
ix = self.seed
ix = 16807*(ix % 127773) - 2836*(ix / 127773) & 0xFFFFFFFF
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
@7h3rAm
7h3rAm / shell.c
Created September 1, 2013 19:39 — forked from parse/shell.c
/* Compile with: g++ -Wall –Werror -o shell shell.c */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>

Keybase proof

I hereby claim:

  • I am 7h3rAm on github.
  • I am 7h3ram (https://keybase.io/7h3ram) on keybase.
  • I have a public key whose fingerprint is 761C A4F7 42BD 3DBA AC8B 5793 3DC1 CDFD C1B6 C8B2

To claim this, I am signing this object:

Verifying that "ankurtyagi.id" is my Blockstack ID. https://onename.com/ankurtyagi