Skip to content

Instantly share code, notes, and snippets.

Dracovian

Block or report user

Report or block Dracovian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Dracovian
Dracovian / 16kpub.pem
Created Sep 19, 2017
My RSA-16384 Public Key
View 16kpub.pem
-----BEGIN PUBLIC KEY-----
MIIIIjANBgkqhkiG9w0BAQEFAAOCCA8AMIIICgKCCAEA11AallKt+vFnJcDV8bwl
kngVOWNYBjVcGaRWQKcB4otOdPu3HdINYf/yQL/ZMDEHvhNdB3WjrsljnVmOfXFv
89DQt+DDMD3+FWt7nV8sicOor9u1HAAlzLhbQZ2SRcMq2n0f30iaw9WUeNiJ2cWB
p39bNoqW+TQKhTxk0cizUfhyyFe6rhNr5OrC1ij5UxaFQvH4cEdlfOSaVEPBxYLU
QMeghkJjGsgMLPlWhvDnJ8faGERtbc6yru0P4gLAKQN8jkhR6+v+78bNA0gGUGAw
7JgjFV7i7+i53L6OZY0xfDZwGytsSiSyTiKl0xE0X6a2ybc2pktAm6zHEtQdtpdQ
mVpxiM0uWL5PyDupSo/Dyt6LO91QUoLclN81PiMHsqBJwbSg5fLR3HGXyrnTnlxL
gtAM38h5lSz9qJvFJDdFF/XieKrQxSVYwug9rRCGkGYoJJOxyO8zR+a0zH58oLLc
BL7hk1FOiPbA7uL7Qam3u/n/BXaXOuV1vECzUim7sRQdcu9GLx0LJ1V3EeYxieoS
@Dracovian
Dracovian / updates.txt
Created Sep 19, 2017
/r/scraper Updates
View updates.txt
Date: September 19, 2017
- Created Subreddit
- Added Temporary CSS Theme
@Dracovian
Dracovian / framework.py
Created Dec 14, 2017
Scraper Framework
View framework.py
'''
'
' Scraper Framework
'
' smay1951.alwaysdata.net
'
'''
from urllib2 import urlopen, build_opener, install_opener, ProxyHandler
from os import mkdir, path, getcwd, listdir
@Dracovian
Dracovian / api.php
Created Jan 9, 2018
An API made with PHP that handles simple RSA functionality such as keypair generation, encrypting, and decrypting.
View api.php
<?php
class Filter {
var $input;
function __construct($input) {
$this->input = htmlspecialchars($input);
$this->numeric = '#[0-9]#';
$this->alphabetic = '#[a-z]#i';
$this->alphanumeric = '#[a-z0-9]#i';
$this->multiplier = 512;
@Dracovian
Dracovian / obfuscator.py
Last active Jan 26, 2018
Prevent filename scrutiny by means of renaming said files with something a bit more random. Also employ a checksum verification method to catch potential file corruption or alteration when reversing the process.
View obfuscator.py
'''
'' @author: KimChoJapFan
'' @date: January 26, 2018
'''
# Import some necessary modules.
import hashlib, random, os
# Create our characterset for the random filename.
charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
@Dracovian
Dracovian / diceware.py
Last active Feb 9, 2018
Python 3 Diceware Script
View diceware.py
# Import the randrange function from the random module
from random import randrange as rr
# Import the sys module to gather argument parsing
import sys
# Global variables
wordlist = {'11111': 'a', '11112': 'a&p', '11113': "a's", '11114': 'aa', '11115': 'aaa', '11116': 'aaaa', '11121': 'aaron', '11122': 'ab', '11123': 'aba', '11124': 'ababa', '11125': 'aback', '11126': 'abase', '11131': 'abash', '11132': 'abate', '11133': 'abbas', '11134': 'abbe', '11135': 'abbey', '11136': 'abbot', '11141': 'abbott', '11142': 'abc', '11143': 'abe', '11144': 'abed', '11145': 'abel', '11146': 'abet', '11151': 'abide', '11152': 'abject', '11153': 'ablaze', '11154': 'able', '11155': 'abner', '11156': 'abo', '11161': 'abode', '11162': 'abort', '11163': 'about', '11164': 'above', '11165': 'abrade', '11166': 'abram', '11211': 'absorb', '11212': 'abuse', '11213': 'abut', '11214': 'abyss', '11215': 'ac', '11216': 'acadia', '11221': 'accra', '11222': 'accrue', '11223': 'ace', '11224': 'acetic', '11225': 'ache', '11226': 'acid', '1123
@Dracovian
Dracovian / autoban.py
Created Feb 21, 2018
Mess with people on Discord and get yourself banned from servers so easily.
View autoban.py
import threading, requests, urllib3, shutil, time, json, os
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
class Discord:
def __init__(self):
self.token = '<TOKEN>'
self.channel = '<CHANNEL ID>'
self.agent = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/0.0.300 Chrome/56.0.2924.87 Discord/1.6.15 Safari/537.36'
def postData(self, content, postnum):
@Dracovian
Dracovian / web.py
Created Feb 27, 2018
Simple web server in Python 3
View web.py
from socket import socket, AF_INET, SOCK_STREAM, SOL_SOCKET, SO_REUSEADDR
from sys import stdout
host, port, sock = 'localhost', 80, socket(AF_INET, SOCK_STREAM)
sock.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
sock.bind((host, port))
sock.listen(1)
stdout.write('Hosting HTTP Server on {}:{}\n'.format(host, port))
@Dracovian
Dracovian / passgen.py
Last active Mar 9, 2018
Simple Python 3 Password Generator
View passgen.py
from sys import stdout
from os import urandom
def genCharset():
lower = 'abcdefghijklmnopqrstuvwxyz'
return '0123456789{}{}!@#$%^&*'.format(lower, lower.upper())
def randomInteger(min, max):
return (ord(urandom(1)) % (max - min)) + min
@Dracovian
Dracovian / php_web.py
Created Mar 26, 2018
It was worth an attempt...
View php_web.py
'''
'' @author KimChoJapFan <https://github.com/KimChoJapFan>
'' @date March 25, 2018
'' @project WebPyPHP
'' @version 3.18r01
'''
from socket import socket, timeout, AF_INET, SOCK_STREAM, SOL_SOCKET, SO_REUSEADDR
from subprocess import run, PIPE
from os import path
You can’t perform that action at this time.