Skip to content

Instantly share code, notes, and snippets.

View bascoe10's full-sized avatar

Abass Sesay bascoe10

View GitHub Profile
@bascoe10
bascoe10 / animals.txt
Created October 25, 2020 02:51
List of Animals name wordlist
Aardvark
Abyssinian
Adelie Penguin
Affenpinscher
Afghan Hound
African Bush Elephant
African Civet
African Clawed Frog
African Forest Elephant
African Palm Civet
import sys
import argparse
def encrypt(text, key):
keylen = len(key)
keyPos = 0
encrypted = ""
for x in text:
keyChr = key[keyPos]
newChr = ord(x)
import socket
import threading
from datetime import datetime
import sys
import os
import mimetypes
import urllib.parse
import subprocess
respTemplate = """HTTP/1.1 {statusNum} {statusCode}
def read_file(filename):
content = []
with open(filename) as f:
content= list(f.read())
return content
def main():
plaintext = read_file('check.txt')
ciphertext = read_file('out.txt')
@bascoe10
bascoe10 / BetterSSH.py
Last active May 9, 2020 22:09
HackTheBox - Obscurity
import sys
import random, string
import os
import time
import crypt
import traceback
import subprocess
path = ''.join(random.choices(string.ascii_letters + string.digits, k=8))
session = {"user": "", "authenticated": 0}
@bascoe10
bascoe10 / The Technical Interview Cheat Sheet.md
Created June 30, 2018 16:54 — forked from tsiege/The Technical Interview Cheat Sheet.md
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.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.