Skip to content

Instantly share code, notes, and snippets.

View RetiredQQ's full-sized avatar

Sky RetiredQQ

  • Sabah
View GitHub Profile
@click0
click0 / random-ipv6-address-generator.sh
Created April 24, 2011 17:48
Random generator ipv6 addresses within your ipv6 network prefix.
#Random generator ipv6 addresses within your ipv6 network prefix.
#!/usr/local/bin/bash
# Copyright
# Vladislav V. Prodan
# [email protected]
# 2011
array=( 1 2 3 4 5 6 7 8 9 0 a b c d e f )
@paigecook
paigecook / .gitignore
Created June 14, 2011 11:42
Git Ignore Settings
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@aksakalli
aksakalli / SimpleHTTPServer.cs
Last active September 11, 2024 20:35
SimpleHTTPServer in C#
// MIT License - Copyright (c) 2016 Can Güney Aksakalli
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;
@kennwhite
kennwhite / vpn_psk_bingo.md
Last active November 8, 2024 20:14
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

@mrkpatchaa
mrkpatchaa / README.md
Last active October 21, 2024 16:46
Bulk delete github repos

Use this trick to bulk delete your old repos or old forks

(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)

  1. Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories

  2. Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.

  3. Save that list to some path

  4. The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.

@hasherezade
hasherezade / msil_dec.py
Last active July 11, 2020 13:06
Helper script for decoding some .NET cryptor
#!/usr/bin/python2.7
import argparse
def decode(data, key, offset, extra_rounds):
maxlen = len(data)
keylen = len(key)
j = 0 #key index
num2 = (maxlen - 1) * (extra_rounds + 1)
decoded = bytearray()
ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4
"""
MITM to cheat on Everwing
Can be modified to work with any messenger game
Instructions:
Launch with `mitmproxy -s mitm_everwing.py`
Press 'e' to see the log
"""
@acabrol
acabrol / youtube_audio_2_text.py
Last active July 10, 2023 23:18
Convert youtube video's audio to text
import tempfile
from pytube import YouTube
from pytube import helpers
from pydub import AudioSegment
from pydub.utils import make_chunks
from pydub.silence import split_on_silence
import textract
import math
import scipy.io.wavfile as wav
@musshorn
musshorn / RedeemKeys.py
Last active June 4, 2024 21:37
Python script to redeem bulk steam keys
'''
Python3 Bulk Steam key importer
Requires the pip library 'steam'
Run `pip install steam` if you're unsure
Code expects a text file with keys line seperated. For example:
XXXXX-YYYYY-ZZZZZ