This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# Script that performs encryption and decryption of files and directories. | |
# In latter case producing encrypted ZIP package that will get decompressed automatically | |
# after decryption. | |
# | |
# Mariusz B., 2016 v0.1 | |
# | |
require 'optparse' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prints out characters occurences frequency | |
# This can be used in Al-Kindi related cryptographic | |
# analysis | |
from sys import argv | |
import operator | |
text = "" | |
occurs = {} | |
freqs = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# This script traverses on PHRACK e-zines directory | |
# and for each downloads corresponding contents. This | |
# is used to name every file (phile) in issue directory | |
# with a name as title from webpage contents. | |
# | |
# MGeeky, 2012 | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import httplib | |
from sys import exit | |
from string import strip, replace | |
import os | |
from os.path import normpath | |
import re | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Simple encoder/decoder of Vigenere cipher | |
# | |
#----------------------------------------- | |
from string import * | |
g_Tabula = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Simple bit-ly URL shortener. | |
# Usage: | |
# python bit-ly.py <URL> | |
# or by having a URL address in clipboard. | |
# | |
import bitly_api | |
from Tkinter import Tk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# This script reads binary file specified in first | |
# parameter and then encodes every byte by simply | |
# XORing it with custom value (specified in second param) | |
# and writes output to another file. | |
# If second parameter wasn't specified (i.e XOR argument) | |
# then 0xAA is taken by default. In addition it prepends shellcode | |
# with simple decoding routine and appends decode-end marker | |
# if needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import pefile | |
rootPath = sys.argv[1] | |
modules = set() | |
def scanFile(f): | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os, sys | |
g_ABC = 0 | |
def recurrent_mkdir( path, lvl, dirs ): | |
if lvl == 0: | |
return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# This script converts shellcode's C-char array with hex | |
# values to ASCII-HEX binary file with shellcode inserted in it. | |
# ASCII-HEX values can be read either from file (if specified | |
# in first param) or from Win32 clipboard (if on win32 platform) | |
import sys | |
import random | |
import struct |
OlderNewer