| Value | Color |
|---|---|
| \e[0;30m | Black |
| \e[0;31m | Red |
| \e[0;32m | Green |
| \e[0;33m | Yellow |
| \e[0;34m | Blue |
| \e[0;35m | Purple |
| RewriteEngine On | |
| # Check if request doesn't point to actual dir, file or symlink | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-l | |
| # http://localhost/foo/bar => http://localhost/index.php?request=foo/bar | |
| RewriteRule ^(.+)$ index.php?request=$1 [QSA,L] |
| import requests | |
| import re | |
| import random | |
| import sys | |
| class StrawPoll: | |
| def __init__(self, id): | |
| self.url = "https://www.strawpoll.me/%s" % id | |
| self.session = requests.session() | |
| self.headers = { |
| // ==UserScript== | |
| // @name Github contributors graph addon | |
| // @author Sleeyax | |
| // @namespace Violentmonkey Scripts | |
| // @match https://github.com/*/graphs/contributors | |
| // @grant none | |
| // @inject-into content | |
| // ==/UserScript== | |
| var x = setInterval(function() { |
This is an attempt of reverse engineer the Technic platform API with a simple Wireshark and an official laucher. This is a simple HTTP based API returning JSON.
URL parameter build is always required to perform a request.
The value can be anything but it seems to be a build number of the lauche; maybe for tracking reasons.
If this parameters is not present in URL query parameters, all requests will return 401 Unauthorized response.
| # @description: generate all possible characters & combinations of a given string without using libraries | |
| # @syntax: | |
| # generate(string_to_array("abcdef"), 4) | |
| # generate(['a', 'b', 'c'], 2) | |
| def generate(chars, pos, combinations = []): | |
| if len(combinations) == 0: | |
| combinations = chars |
This guide teaches you how to install PimpMystremio on your android device. Please keep in mind that this is just an expirement. I strongly recommend to use PMS on your computer when possible.
You do not need root access or a high end phone to follow this guide. The only thing you need is +-2.5GB of free storage and a basic understanding of linux.
First of all, go to the playstore and install termux (?). Temux is a terminal emulator that allows you to run basic linux commands on your android device. We will use this to install a Ubuntu chroot/proot container that will run PMS.
Secondly, go get the Hacker's Keyboard. It makes typing and navigation on termux way easier.
A few methods to identify TLS/SSL cipher suites of a website.
nmap -Pn -p 443 --script=ssl-enum-ciphers <domain or ip>
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ssl_sock = ssl.wrap_socket(s,cert_reqs=ssl.CERT_REQUIRED, ca_certs='/etc/ssl/certs/ca-certificates.crt')
