Skip to content

Instantly share code, notes, and snippets.

View PachUp's full-sized avatar

Raz PachUp

View GitHub Profile
import asyncio
import aiohttp
from rich.console import Console
from rich.table import Table
from rich.panel import Panel
from rich.progress import Progress, SpinnerColumn, TextColumn
from rich.prompt import Prompt
from rich.theme import Theme
# Initialize Rich console
import hashlib
import random
import string
import itertools
from tqdm import tqdm
possible = string.ascii_letters + string.digits
want_to_get = "2D3114BCC2E5C58BBAC77F04237723D9"
def main():
from scapy.all import *
from scapy.packet import *
import threading
from time import sleep
def getmac(targetip):
arppacket = Ether(dst="ff:ff:ff:ff:ff:ff") / ARP(op=1, pdst=targetip)
try:
targetmac = srp(arppacket, timeout=3, verbose=False)[0][0][1].hwsrc
except:
targetmac = ""
#include <iostream>
//Run it inC++ scripting app like visual studio or codeblocks and then running it (Raz)
#include <random>
#include <Windows.h>
#define zero 0
enum Move { Up = 'w', Down = 's', Right = 'd', Left = 'a', Quit = 'q' };
Move MoveUp = Up;
Move MoveDown = Down;
Move MoveRight = Right;
Move MoveLeft = Left;
from sqlalchemy import *
import sqlalchemy as db
# TABLE: Steal (username TEXT, password int, cookie TEXT)
def insert_cookies_to_DB(username, password, cookie):
print('in!')
engine = db.create_engine('sqlite:///stealCookieDB')
IDEAL
MODEL small
STACK 100h
DATASEG
whatiswhat db 'if you go to gray you will start a game if you go to red you will leave the game draw for fun! :)$'
youlost db 'you lost! go to the gray buttom to start again!$' ;
filename db 'scarymonster.bmp',0 ;scary proc
filehandle dw ? ;holds the file details
;------------------------------------------------------------------------------------------------------------------------------------------
note dw 2394h ; for noise
import requests
from flask_restful import Resource, Api
from flask import Flask, render_template, url_for, request, redirect, jsonify, abort
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager, UserMixin, login_user, login_required, current_user, logout_user
import json
import itertools
from flask_admin import Admin
from flask_admin.contrib.sqla import ModelView
new_id = -1