Skip to content

Instantly share code, notes, and snippets.

View meatyite's full-sized avatar

meaty meatyite

View GitHub Profile
@meatyite
meatyite / Program.cs
Created October 13, 2020 19:58
Hackertyper in C#
using System;
namespace hackertyper
{
class MainClass
{
public static string text = "";
public static string help = "hackertyper by sl4v\n" +
"\n-h show help" +
"\n-v show version" +
@meatyite
meatyite / genhosts.bat
Last active October 7, 2020 08:54
EasyListHebrew-Hosts
@echo off
echo Make sure your system has Python 3 is installed and added to the path variable.
echo If you have it installed, press Enter to continue. If not, see https://www.python.org/downloads/windows/
pause
py genhosts.py EasyListHebrew.txt > hosts.txt
pause
@meatyite
meatyite / dirlisting.css
Last active September 25, 2020 12:11
Lighttpd directory listing CSS
/* PUBLIC DOMAIN */
/* Preview: https://imgur.com/EURi6Oa.png */
body {
text-align: center;
background-color: lightcyan;
}
thead {
background-color:lightblue;
@meatyite
meatyite / make_twitter_dms_readable.py
Last active August 28, 2019 08:50
Make twitter DMs from requested twitter data into an actual readable HTML file
"""
Turns your twitter DMs from the "request your data" feature into readable HTML files
You'll need to remove the "window.YTD.direct_message.part0 = " thing from the JS file before running this script
You'll also need to extract the archive inside of the "direct_message_media" folder if you want images to show up
Please execuse me for this horrible piece of code
LICENSED UNDER THE WTFPL, NO COPYRIGHT WHATSOEVER
"""
import tweeterid
import json
@meatyite
meatyite / gizoogle.py
Created August 5, 2019 13:09
Minecraft ebonics translation texture pack generator
"""
Retrieve a gizoogled string. Mostly adapted from a library written in ruby.
Optimized for python3.
SL4V DOES NOT OWN THIS MODULE.
I COULDN'T GET THIS TO INSTALL VIA PIP SO I JUST COPY PASTED IT FROM https://github.com/chafla/gizoogle-py
"""
import re
import bs4
from urllib import parse
@meatyite
meatyite / ynetSuicideAwarenessBot.py
Last active July 28, 2019 06:03
ynet.co.il Suicide awareness bot
from ynet import Article, Comment
from bs4 import BeautifulSoup as bs
from requests import get as GET
from datetime import datetime, timedelta
from threading import Timer
class ArticleScraper:
suicide_keywords = [
@meatyite
meatyite / wikia-dl.py
Last active May 8, 2019 13:21
wikia (fandom.com) Downloader
#!/usr/bin/python3
# requires beautifulsoup4, install it with pip if you don't have it already
# usage: ./wikia-dl.py [wikia article url]
import re
import requests
from sys import argv
from bs4 import BeautifulSoup as bs
@meatyite
meatyite / wikipedia-dl.py
Last active June 9, 2019 11:14
Wikipedia article downloader (HTML/PDF)
#!/usr/bin/python3
# example usage:
# ./wikipedia-dl.py https://en.wikipedia.org/wiki/Wikipedia
# you could also specify which format you want. for example:
# ./wikipedia-dl.py https://en.wikipedia.org/wiki/Wikipedia html
from sys import argv
from urllib.parse import urlparse
import requests
import lxml.html
@meatyite
meatyite / html-tree.py
Last active September 12, 2020 08:29
HTML directory tree generator (python)
#!/usr/bin/python3
###################################
# Licensed under the UNLICENSE #
# See unlicense.org for more info #
###################################
# usage: html-tree.py > output.html OR html-tree.py [path] > output.html
import functools
@meatyite
meatyite / Virustotal_Scanner_DiscordBot.py
Last active April 17, 2019 09:44
Virustotal_Scanner_DiscordBot.py
#!/usr/bin/python3
######################################
# Made by sl4v #
# Licensed under the WTFPL, #
# see www.wtfpl.net/txt/copying/ #
######################################
import discord, requests, json, sys