Skip to content

Instantly share code, notes, and snippets.

View framirez's full-sized avatar

Fernando Ramírez framirez

View GitHub Profile
@framirez
framirez / qr_crop_random.py
Created January 24, 2018 11:39
Divide un QR en trozos y ciertas posiciones las permuta hasta obtener un resultado QR válido
from PIL import Image, ImageDraw
import qrtools
import random
import math
fixed_pic = [[2,3,6,8,11],[0,1,12,15,3]] #Se mueven las imagenes indice [0] de la lista a indice [1]
permit_pic = range(16)
for row in fixed_pic[1]:
permit_pic.remove(row)
print("Se van a permutar las siguientes posiciones {}".format(str(permit_pic)))
@framirez
framirez / data_infosec.py
Last active January 24, 2018 08:57
infosec-conferences.py
import requests
from BeautifulSoup import BeautifulSoup
import csv
visit = {"2017": "https://infosec-conferences.com/events-in-2017", "2018": "https://infosec-conferences.com/"}
myFile = open('CONFERENCES.csv', 'w')
with myFile:
writer = csv.writer(myFile)
for year in visit:
import string
import sys
import nclib
import time
"""
Script to resolv challengue CTF:
The Never Ending Crypto
Welcome to the never ending crypto!
How quickly can you make it through?
# Class to report abuse incidents to Godaddy hosting
import requests
import json
class godaddy():
TYPE_ABUSE = ['A_RECORD', 'CHILD_ABUSE', 'CONTENT', 'FRAUD_WIRE',
'IP_BLOCK', 'MALWARE', 'NETWORK_ABUSE', 'PHISHING', 'SPAM']
"""
Script to download all ruleset matchs
You can download pykoodous from: https://github.com/Koodous/Scripts/blob/master/pykoodous.py
http://koodous.com
@fdrg21
"""
import pykoodous
import requests
@framirez
framirez / cromosome.py
Created June 16, 2015 10:43
The script will look for all the common strings between files
help_description="""
The script will look for all the common strings between files in A group and
it will remove all strings found in the files of B group
All given Zip files will be extracted and the strings will be retrieved from
them
framirez@koodous.com | 2015