I hereby claim:
- I am darvell on github.
- I am darvell (https://keybase.io/darvell) on keybase.
- I have a public key whose fingerprint is AFC0 1B0B 3057 C778 96B8 C46D 7E2A 8184 5633 59A1
To claim this, I am signing this object:
| #/usr/bin/python3 | |
| try: | |
| import requests | |
| except: | |
| raise Exception("Requests library not installed. Please run 'easy_install requests' or 'pip3 install requests") | |
| import os | |
| import csv | |
| import json | |
| modify_mp3 = False |
| from ctypes import * | |
| from datetime import datetime | |
| import struct | |
| import os | |
| import sys | |
| MAX_LOG_LINE_LENGTH = 512 | |
| MAX_LINES = 2048 | |
| MAGIC = 0xBADBABE | |
| POTENTIAL_WG_PATHS = [os.path.expandvars(os.path.join("%PROGRAMDATA%","WireGuard","log.bin")),os.path.expandvars(os.path.join("%WINDIR%","System32","config","systemprofile","AppData","Local","WireGuard","log.bin"))] |
| If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` | |
| [Security.Principal.WindowsBuiltInRole] "Administrator")) | |
| { | |
| Write-Warning "You do not have Administrator rights to run this script!`nPlease re-run this script as an Administrator!" | |
| Break | |
| } | |
| Write-Host "Excluding appdata NPM folder and Node.JS install folder from Windows Defender." | |
| Add-MpPreference -ExclusionPath ([System.Environment]::ExpandEnvironmentVariables("%APPDATA%\npm\")) | |
| Add-MpPreference -ExclusionPath (Get-ItemProperty "HKLM:SOFTWARE\Node.js" | Select-Object -Property InstallPath) |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import CloudFlare | |
| import tldextract | |
| import boto3 | |
| CLOUDFLARE_KEY = os.environ["CLOUDFLARE_KEY"] | |
| CLOUDFLARE_EMAIL = os.environ["CLOUDFLARE_EMAIL"] |
| @goto py2cmd | |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import CloudFlare | |
| import tldextract | |
| import boto3 | |
| import mimetypes | |
| mimetypes.init() |
I hereby claim:
To claim this, I am signing this object:
| # I am totally aware BeautifulSoup is slow. | |
| # Please do not inform me, this is just for fun. | |
| import urllib2 | |
| import BeautifulSoup | |
| import re | |
| import os | |
| import sys | |
| from threading import Thread |
| import re | |
| def encrypt(string): | |
| finalstring = str() | |
| for word in string: | |
| for char in word: | |
| finalstring += 'pug' + (ord(char)* ' ') | |
| return finalstring | |
| def decrypt(string): |
| def CorruptHuffman(filename,chance,maxlen): | |
| with open(filename,"r+b") as f: | |
| filesize = os.path.getsize(filename) | |
| huffmanStart = 0 | |
| huffmanEnd = 0 | |
| found = 0 | |
| for i in range(0,filesize): | |
| if found == 2: | |
| break |