Skip to content

Instantly share code, notes, and snippets.

@sundowndev
sundowndev / configure
Created February 22, 2023 10:56
Configure script for meganz web extension to update and apply various fixes
#!/bin/sh
# First, follow install instructions at https://github.com/meganz/web-extension
git pull
git submodule update --remote --merge
# Temporary fixes related to https://github.com/meganz/web-extension/issues/11
cp webclient/lang/en_prod.json webclient/lang/en.json
@sundowndev
sundowndev / orange.py
Created September 15, 2022 08:35
POC for Orange Phone API
import requests
import datetime as dt
# OPSEC Warning: change simId and appInstallId
# This script run well over Tor or VPN (but you may encounter rate limitation)
class OrangePhoneAPI:
def __init__(self) -> None:
self.simId = "12345678912345678912"
self.appInstallId = "f8de172f-1315-43ab-a733-7b186879c5de"
@sundowndev
sundowndev / readme.md
Last active August 6, 2021 07:11
How to push to a public Github repo and trigger a deploy event

How to push to a public Github repo and trigger a deploy event

Setup your CI job

git remote set-url origin https://sundowndev:${{ secrets.GITHUB_TOKEN }}@github.com/sundowndev/livre-blanc-video.git
git config user.name "${{ secrets.GITHUB_USER }}"
git config user.email "${{ secrets.GITHUB_USER }}@users.noreply.github.com"

# You can now push
@sundowndev
sundowndev / wifipass.py
Created October 12, 2019 15:14
Create a password that can be found/calculated without a computer, using binary to ascii conversion.
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
"""
Create a password that can be found/calculated
without a computer, using binary to ascii conversion.
Example:
Consider the following binary code:
00101011 01011100
@sundowndev
sundowndev / GoogleDorking.md
Last active October 31, 2024 23:38
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"