Skip to content

Instantly share code, notes, and snippets.

View raptox's full-sized avatar

RaptoX raptox

  • Austria
View GitHub Profile
@op
op / bash-history-to-zsh-history.py
Created September 28, 2012 21:25
Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | bash-history-to-zsh-history >> ~/.zsh_history
import sys
def main():
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 20, 2024 16:44
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@bountin
bountin / inetsec5.py
Last active August 29, 2015 14:02
Attacking ECDSA with two messages in a PCAP file which have the same k - This also implements a client to test the found private key (University assignment of Internet Security 1 in the summer term of 2014)
import socket
import ecdsa
import base64
import sys
from hashlib import sha1
from ecdsa.util import string_to_number
# Fixing fucking scapy warnings - fuck python
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)